[New-bugs-announce] [issue6603] Compilation error if configuref --with-computed-gotos

Artur Frysiak report at bugs.python.org
Thu Jul 30 16:30:36 CEST 2009

New submission from Artur Frysiak <wiget at pld-linux.org>:

Building Python 3.1 (or Python from mercural py3k branch) fail if
configured --with-computed-gotos.

Traceback (most recent call last):
  File "./setup.py", line 13, in <module>
    from distutils.core import Extension, setup
  File "/home/users/wiget/mirror/python/cpython/Lib/distutils/core.py",
line 18, in <module>
    from distutils.dist import Distribution
  File "/home/users/wiget/mirror/python/cpython/Lib/distutils/dist.py",
line 12, in <module>
    import warnings
  File "/home/users/wiget/mirror/python/cpython/Lib/warnings.py", line
6, in <module>
    import linecache
  File "/home/users/wiget/mirror/python/cpython/Lib/linecache.py", line
10, in <module>
    import tokenize
  File "/home/users/wiget/mirror/python/cpython/Lib/tokenize.py", line
94, in <module>
    Ignore = Whitespace + any(r'\\\r?\n' + Whitespace) + maybe(Comment)
  File "/home/users/wiget/mirror/python/cpython/Lib/tokenize.py", line
87, in any
    def any(*choices): return group(*choices) + '*'
TypeError: group() argument after ** must be a mapping, not tuple
make: *** [sharedmods] Error 1

Compiled on PLD Linux using GCC 4.4.1

components: Build
messages: 91097
nosy: wiget
severity: normal
status: open
title: Compilation error if configuref --with-computed-gotos
type: compile error
versions: Python 3.1

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list