[Python-Dev] How old Python version should be supported in tests?
R. David Murray
rdmurray at bitdance.com
Thu Dec 27 17:58:47 CET 2012
On Thu, 27 Dec 2012 10:24:37 -0600, Benjamin Peterson <benjamin at python.org> wrote:
> 2012/12/27 Serhiy Storchaka <storchaka at gmail.com>:
> > I found a code like "if sys.version_info < (2, 4):" in some tests. Should
> > old versions (< 2.6) be supported in tests? Can such support code be removed
> > (note that other tests likely doesn't compatible with old versions)?
>
> It would be great if it could all be killed, but I suppose it might be
> in some externally maintained module. Which tests?
There are also a few cases where for one reason or another the
module maintainer wants it to stay backward compatible. I'm thinking
specifically of the platform module, which I'm pretty sure has that
restriction. So, it has to be considered on a case by case basis.
--David
More information about the Python-Dev
mailing list