[PATCH 0 of 9] Removed most warnings when python is run with the -3 switch

Martin Geisler mg at lazybytes.net
Fri Jul 2 18:42:05 CDT 2010


Renato Cunha <renatoc at gmail.com> writes:

> This patch series intends to remove most (if not all*) warnings
> generated by the python interpreter when run with the -3 switch.
> Benefits of these changes include:
>
>  1- Ability to actually run hg in python3, as 2to3 is unable to make
>     all the needed changes;
>
>  2- Better correspondence of the code run by the 2.x and 3.x versions.
>
> Most of the changes were straightforward.

Very nice! I pushed patches 1-5 (f5a8d85df06a to deb5d02ae91c) since
there were no discussion or updates pending for those. I shortened the
summary lines of the commit messages a little.

It seemed the remaining patches needs a resend when the discussion on
them has ended.

-- 
Martin Geisler

Mercurial links: http://mercurial.ch/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20100703/72ea15ac/attachment.pgp>


More information about the Mercurial-devel mailing list