Syntax question

Helmut Jarausch jarausch at skynet.be
Sat Oct 10 17:39:22 CEST 2009


Benjamin Peterson wrote:
> Helmut Jarausch <jarausch <at> skynet.be> writes:
> 
>> Hi,
>>
>> I'm trying to build the recent Python-3.2a (SVN).
>> It fails in
>> Lib/tokenize.py  (line 87)
> 
> How are you invoking it?

As I said, it's 'make' in Python's source directory
(SVN revision 75309  Last Changed Date: 2009-10-10)

If it helps, here is the full traceback

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


-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



More information about the Python-list mailing list