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

Renato Cunha renatoc at gmail.com
Thu Jul 15 02:18:33 UTC 2010


Hello!

This is another iteration with three new patches. Their role is to handle
exception argument accessing with direct indexing []. As there's no __getitem__
for exceptions in py3k, this can't be done anymore.

By the way, is there a way to add a regex for that kind of check in check-code
without knowing what's being indexed? I don't know (and don't think so).

Thanks.



More information about the Mercurial-devel mailing list