Joonas Kuorilehto <jones...@derbian.fi> added the comment:

Updating the issue with version 3.2 tag since it was fixed there as well. Still 
fixed, of course.

You are correct that the encodings can be tricky. Luckily I only added coding 
to tests. But you're right, I would consider very carefully before using 
similar code outside tests.

I just realized what's the impact of this change on python3.2 really. Since 
urllib.request.urlopen (for some reason) does not allow username and password 
on the URI, it is not possible to hit this with that, I think. But 
FancyURLopener does allow using user-pass in url, so this bug was reachable. I 
just verified that and the fix :)

Fix does the trick for FancyURLopener when the username and password are passed 
in the URL.

----------
versions: +Python 3.2

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13642>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to