Py3 status
Arc Riley
arcriley at gmail.com
Tue Jan 26 09:19:22 UTC 2010
What is the current status of Hg's support for Python 3?
Is anybody working on this at present? What would be needed to maintain it
for releases/etc
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-devel/attachments/20100126/15d0d50d/attachment.html>
More information about the Mercurial-devel
mailing list