How old Python version should be supported in tests?
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)?
2012/12/27 Serhiy Storchaka
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? -- Regards, Benjamin
On Thu, 27 Dec 2012 10:24:37 -0600, Benjamin Peterson
2012/12/27 Serhiy Storchaka
: 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
participants (3)
-
Benjamin Peterson
-
R. David Murray
-
Serhiy Storchaka