Senthil Kumaran <sent...@uthcode.com> added the comment: 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! ---------- Added file: http://bugs.python.org/file24839/issue10050-deprecation.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10050> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com