This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author orsenthil
Recipients albert, amaury.forgeotdarc, orsenthil, python-dev
Date 2012-01-21.09:19:50
SpamBayes Score 3.7978712e-06
Marked as misclassified No
Message-id <20120121091944.GB1988@mathmagic>
In-reply-to <1327134932.67.0.0307013405669.issue6631@psf.upfronthosting.co.za>
Content
Actually, I saw this as a bug with urllib.urlopen and urllib2 had
exhibited proper behaviour previously. Now, both behaviour will be
consistent now.

But, you are right that an *incorrect* usage of urllib.urlopen would
break in 2.7.2. 

If we need to be lenient on that incorrect usage, then this change can
be there in 3.x series, because of urllib.request.urlopen would be
interface which users will be using and it can be reverted from 2.7.

Personally, I am +/- 0 on reverting this in 2.7. Initially, I saw this
as a bug, but later when I added tests for ValueError and checkedin,
I realized that it can break some incorrect usages, as you say.
History
Date User Action Args
2012-01-21 09:19:51orsenthilsetrecipients: + orsenthil, amaury.forgeotdarc, albert, python-dev
2012-01-21 09:19:51orsenthillinkissue6631 messages
2012-01-21 09:19:50orsenthilcreate