Last but not least: not supported does not necessarily mean we have to actively remove bits that work around quirks for a certain version;
rather,
it means we won't fix bugs due to an old python version.
I would be more radical. What I would like to see is a cleaner code without unneccessary branches, and free use of some basic tools such as conditional (x if cond. else y) that is widely used in the world of programming. But let's see the survey first.
We have fixed bugs due to old py2.4 in r9227 and r9740 but I don't like it anymore if it diverges to the rewrite branch to much (or other future branches like 3.X support). interwiki.py is a good sample for really old code stuff like nested try statements for exception handling and finally handling. And we shouldn't be forced to keep code for pre 2.4 releases like "set" and "sorted".
Regards xqt
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I would like to propose a "we keep it until it sucks" position. We say python xx is the minimum supported version - all bugs due to earlier version will not get fixed. But we do not actively remove the old code which means we keep it until we get issues/problems with it (e.g. it diverges too much from rewrite which is an updating and bug fixing issue).
On 29.02.2012 13:37, info@gno.de wrote:
Last but not least: not supported does not necessarily mean we have to actively remove bits that work around quirks for a certain version;
rather,
it means we won't fix bugs due to an old python version.
I would be more radical. What I would like to see is a cleaner code without unneccessary branches, and free use of some basic tools such as conditional (x if cond. else y) that is widely used in the world of programming. But let's see the survey first.
We have fixed bugs due to old py2.4 in r9227 and r9740 but I don't like it anymore if it diverges to the rewrite branch to much (or other future branches like 3.X support). interwiki.py is a good sample for really old code stuff like nested try statements for exception handling and finally handling. And we shouldn't be forced to keep code for pre 2.4 releases like "set" and "sorted".
Regards xqt
_______________________________________________ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
pywikipedia-l@lists.wikimedia.org