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 flox
Recipients benjamin.peterson, flox, georg.brandl, lemburg, loewis, skip.montanaro
Date 2009-12-11.08:31:16
SpamBayes Score 0.0021229219
Marked as misclassified No
Message-id <1260520279.6.0.727191204438.issue7475@psf.upfronthosting.co.za>
In-reply-to
Content
Is it possible to add "DeprecationWarning" for these codecs
when using "python -3" ?

>>> {}.has_key('a')
__main__:1: DeprecationWarning: dict.has_key() not supported in 3.x;
            use the in operator
False
>>> print `123`
<stdin>:1: SyntaxWarning: backquote not supported in 3.x; use repr()
123
>>> 'abc'.encode('base64')
'YWJj\n'
History
Date User Action Args
2009-12-11 08:31:19floxsetrecipients: + flox, lemburg, loewis, skip.montanaro, georg.brandl, benjamin.peterson
2009-12-11 08:31:19floxsetmessageid: <1260520279.6.0.727191204438.issue7475@psf.upfronthosting.co.za>
2009-12-11 08:31:17floxlinkissue7475 messages
2009-12-11 08:31:16floxcreate