On 14 June 2014 21:44, Ricordisamoa <[email protected]> wrote:
> Some tests fail only in py2.6: > https://travis-ci.org/wikimedia/pywikibot-core/jobs/27558463 ( > https://gerrit.wikimedia.org/r/139591/ is an attempted fix). > But I think we may instead drop support for py2.6 entirely, focusing > ourselves on py2.7 → py3k. > > - no more need for external dependencies like > https://gerrit.wikimedia.org/r/138318 > - less work for Travis-CI > - new features like dict comprehension, etc. > > I feel none of those are very strong arguments; keeping support for 2.6 is a minor burden (mainly thanks to the automatic tests in Travis), and there is only a limited set of new features that are of use to us - mainly OrderedDict and UnitTest, but those have been backported as pypi packages. Maybe we would also be interested in argparse (also a backport available). This is in stark contrast to 2.5 vs 2.6: 2.6 introduced several features that are very important for moving to Python 3: relative imports, print-as-a-function, exception handling, byte literals... basically everything to allow for hybrid code that runs on both Python 2 (.6+) and 3 (.2+). Python 3.3 made this even easier by re-allowing the u'' prefix. Merlijn
_______________________________________________ Pywikipedia-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
