[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Python 3 support in Squeeze



On 09.09.2010 16:54, Neil McGovern wrote:
On Thu, Sep 09, 2010 at 11:25:30AM +0200, Matthias Klose wrote:
Sometimes 2to3 will find a place in your source code that needs to be
changed, but 2to3 cannot fix automatically. In this case, 2to3 will
print a warning beneath the diff for a file. You should address the
warning in order to have compliant 3.x code.

so what? 2to3 will never be a tool which results should be used without inspection.


So if a patch comes out that fixes a security bug in foo.py(2), that is
incompatable with 2to3, then it needs fixing twice. Which is why I've
asked the secruity team for input.

and:
Note The lib2to3 API should be considered unstable and may change
drastically in the future.

wrong. lib2to3 in python2.6 is stable.


That was taken from: http://docs.python.org/library/2to3.html
Do you have further information? A reference would certainly be useful.

The upstream policy for the python branches is to fix documentation and bugs, not to introduce new features or change semantics of existing features. lib2to3 does evolve in in the py3k branch only. Plus, the 2.6 now only sees security fixes, there won't be a 2.6.7 release with "normal" bug fixes.


Reply to: