[New-bugs-announce] [issue4578] compiler: -3 warnings

Sebastian Rittau report at bugs.python.org
Sun Dec 7 18:35:47 CET 2008


New submission from Sebastian Rittau <srittau at jroger.in-berlin.de>:

The attached patch replaces all instances of "x.has_key(k)" method calls
by "k in x". It also replaces one call to parser.ast2tuple by
parser.st2tuple. This removes deprecation warnings when running in -3 mode.

----------
components: Library (Lib)
files: compiler.diff
keywords: patch
messages: 77238
nosy: srittau
severity: normal
status: open
title: compiler: -3 warnings
versions: Python 2.6
Added file: http://bugs.python.org/file12266/compiler.diff

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


More information about the New-bugs-announce mailing list