[Python-porting] Some suggested 2to3 patches

Benjamin Peterson benjamin at python.org
Sun Jan 4 19:29:21 CET 2009

On Sun, Jan 4, 2009 at 5:21 AM, Lennart Regebro <regebro at gmail.com> wrote:
> When trying to port setuptools, I found some things I think are bugs,
> missing library reorganisation fixes more specifically.

Thanks for your report!

> Firstly, there are a lot of things missing from the urllib fixer, most
> significantly all the split* methods. Secondly, htmlentitydefs has
> moved, and this doesn't seem to be handled.
> Am I correct that these are bugs, or should something else be done? A
> suggested patch is included, although I haven't made any tests for it,
> I wanted to check here first.

Yes, those are bugs. The htmlentitydefs problem is already fixed in
the trunk. I fixed the url parsing functions bug in r68306.


More information about the Python-porting mailing list