[issue3316] Proposal for fix_urllib

Nick Edds report at bugs.python.org
Mon Jul 7 22:36:54 CEST 2008


New submission from Nick Edds <nedds at uchicago.edu>:

Here is my proposed fix_urllib. The transform function is massive
because there are a lot of cases, so maybe I should break it into
separate functions for each case, and it could maybe do with some more
documentation as well. I also use FromImport from fixer_util.py even
though it warns against doing so for dotted imports because it appears
to work. The temp.py file is a dummy python file that you can test it on
to get an idea of what it does. I think it's got all the desired
functionality, but I'm not an expert on the urllib changes so let me
know if I missed anything. I haven't written tests for it yet, but
assuming it looks reasonable, I can do that later today or tomorrow.

----------
assignee: collinwinter
components: 2to3 (2.x to 3.0 conversion tool)
files: fix_urllib.diff
keywords: patch
messages: 69395
nosy: brett.cannon, collinwinter, nedds
severity: normal
status: open
title: Proposal for fix_urllib
Added file: http://bugs.python.org/file10845/fix_urllib.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3316>
_______________________________________


More information about the Python-bugs-list mailing list