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 r.david.murray
Recipients orsenthil, pitrou, r.david.murray, skrah
Date 2012-04-06.17:48:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
If one changes the stacklevel in the DeprecationWarnings in the library to '2' instead of '1' (I believe it should be '2'), then an interesting array of deprecation warnings are issued...including from cookiejar code.

Most of them are in the urllib2 tests, though, and obviously they aren't being correctly protected.

I'm not sure what is causing the deprecation test to sometimes succeed and sometimes fail, though.  Running python -m unittest.test_urllib2 consistently fails for me without the 1->2 change, and consistently passes (but with more warnings) with it.
Date User Action Args
2012-04-06 17:48:17r.david.murraysetrecipients: + r.david.murray, orsenthil, pitrou, skrah
2012-04-06 17:48:17r.david.murraysetmessageid: <>
2012-04-06 17:48:17r.david.murraylinkissue14341 messages
2012-04-06 17:48:17r.david.murraycreate