[New-bugs-announce] [issue4531] Deprecation warnings in lib\compiler\ast.py

Edward K Ream report at bugs.python.org
Thu Dec 4 18:51:22 CET 2008


New submission from Edward K Ream <edreamleo at gmail.com>:

Python 2.6 final on Windows XP gives following warnings with -3 option:

c:\python26\lib\compiler\ast.py:54: SyntaxWarning: tuple parameter
unpacking has been removed in 3.x
  def __init__(self, (left, right), lineno=None):
c:\python26\lib\compiler\ast.py:434: SyntaxWarning: tuple parameter
unpacking has been removed in 3.x
  def __init__(self, (left, right), lineno=None):
c:\python26\lib\compiler\ast.py:488: SyntaxWarning: tuple parameter
unpacking has been removed in 3.x
  def __init__(self, (left, right), lineno=None):
c:\python26\lib\compiler\ast.py:806: SyntaxWarning: tuple parameter
unpacking has been removed in 3.x
  def __init__(self, (left, right), lineno=None):
c:\python26\lib\compiler\ast.py:896: SyntaxWarning: tuple parameter
unpacking has been removed in 3.x
  def __init__(self, (left, right), lineno=None):
c:\python26\lib\compiler\ast.py:926: SyntaxWarning: tuple parameter
unpacking has been removed in 3.x
  def __init__(self, (left, right), lineno=None):
c:\python26\lib\compiler\ast.py:998: SyntaxWarning: tuple parameter
unpacking has been removed in 3.x
  def __init__(self, (left, right), lineno=None):
c:\python26\lib\compiler\ast.py:1098: SyntaxWarning: tuple parameter
unpacking has been removed in 3.x
  def __init__(self, (left, right), lineno=None):
c:\python26\lib\compiler\ast.py:1173: SyntaxWarning: tuple parameter
unpacking has been removed in 3.x
  def __init__(self, (left, right), lineno=None):
c:\python26\lib\compiler\pycodegen.py:903: SyntaxWarning: tuple
parameter unpacking has been removed in 3.x

Edward
--------------------------------------------------------------------
Edward K. Ream email: edreamleo at gmail.com
Leo: http://webpages.charter.net/edreamleo/front.html
--------------------------------------------------------------------

----------
components: Library (Lib)
messages: 76904
nosy: edreamleo
severity: normal
status: open
title: Deprecation warnings in lib\compiler\ast.py
type: compile error
versions: Python 2.6

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


More information about the New-bugs-announce mailing list