Py3 status

Benoit Boissinot bboissin at gmail.com
Tue Jan 26 03:35:22 CST 2010


On Tue, Jan 26, 2010 at 10:19 AM, Arc Riley <arcriley at gmail.com> wrote:
> What is the current status of Hg's support for Python 3?

There was some work done in last year GSoC.
>
> Is anybody working on this at present?  What would be needed to maintain it
> for releases/etc

I don't think anybody is working on it at the moment.
>
> This is obviously more work than just running 2to3, and will likely need
> some cleanup to the .py code to continue supporting older Python versions
> while running through 2to3 cleanly (Py2.6-only support not required, despite
> what many have suggested).  There will also need to be some work done on the
> extension modules (.c) as the c-api has changed - notably module
> initialization.  I believe that a small set of macros could be used to
> switch between Py2 and Py3 API at compile-time for those.
>

Can Py2.4 -> Py2.6 compatibility be retained while working on Py3 support?

regards,

Benoit


More information about the Mercurial-devel mailing list