Message96237
| 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' |
|