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 eric.araujo, ezio.melotti, jhylton, mcjeff, nadeem.vawda, orsenthil, pitrou, python-dev
Date 2012-03-14.06:33:49
SpamBayes Score 4.7004967e-05
Marked as misclassified No
Message-id <1331706831.97.0.0679185702637.issue10050@psf.upfronthosting.co.za>
In-reply-to
Content
Here is patch which adds DeprecationWarning to URLOpener and (it's subclasses FancyURLopener) as well as some other Request methods.
The idea would be, in the next release we remove this old URLOpener and it's subclasses and remove (or make _private) the Request methods.

Added tests for DeprecationWarnings too.

I am trying to see if more classes/methods from old urllib can be deprecated/removed.  

But this first patch is for no-doubt ones. If one have any review comments, please provide. Otherwise I shall check it in 3.3.a1.


Thanks!
History
Date User Action Args
2012-03-14 06:33:52orsenthilsetrecipients: + orsenthil, jhylton, pitrou, nadeem.vawda, ezio.melotti, eric.araujo, mcjeff, python-dev
2012-03-14 06:33:51orsenthilsetmessageid: <1331706831.97.0.0679185702637.issue10050@psf.upfronthosting.co.za>
2012-03-14 06:33:51orsenthillinkissue10050 messages
2012-03-14 06:33:51orsenthilcreate