Ezio Melotti <ezio.melo...@gmail.com> added the comment:

Now that the DeprecationWarnings are silenced by default (see #7319) -3 should 
imply -Wd in order to work.

./python -3 -Wd -c 'print 1 <> 2, {}.has_key(3)'
<string>:1: DeprecationWarning: <> not supported in 3.x; use !=
-c:1: DeprecationWarning: dict.has_key() not supported in 3.x; use the in 
operator
True False

----------
nosy: +ezio.melotti
priority:  -> high
stage:  -> needs patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7700>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to