[issue7700] "-3" flag does not work anymore

Florent Xicluna report at bugs.python.org
Thu Jan 14 11:20:21 CET 2010


New submission from Florent Xicluna <laxyf at yahoo.fr>:

The -3 flag no longer works with Python 2.7.

~ $ ./python -3 -c 'print 1 <> 2, {}.has_key(3)'
True False


On python 2.6:

~ $ ./python -3 -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

----------
messages: 97754
nosy: flox
severity: normal
status: open
title: "-3" flag does not work anymore
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7700>
_______________________________________


More information about the Python-bugs-list mailing list