On Oct 12, 7:55 am, Helmut Jarausch <jarau...@igpm.rwth-aachen.de> wrote: > I wrote > I'm trying to build the recent Python-3.2a (SVN). > It fails in > Lib/tokenize.py (line 87) > > 85 def group(*choices): return '(' + '|'.join(choices) + ')' > 86 def any(*choices): return group(*choices) + '*' > 87 def maybe(*choices): return group(*choices) + '?' > > with: TypeError: group() argument after ** must be a mapping, not tuple
It looks like there's already a tracker issue open for this (or for something that looks an awful lot like this issue): http://bugs.python.org/issue6603 but work on that bug has stalled, because core developers have been unable to reproduce the problem. It would be really helpful if you could add a comment to that bug report, giving as much system information (including compiler information) as possible. If you can come up with any ideas about what might be causing the failure, that would also be useful. Like Antoine, I'd be inclined to suspect that it's a compiler bug, but it could also be caused by some not-quite-standards-compliant C code in Python somewhere. What happens if you turn compiler optimizations off? (E.g., by editing configure.in to remove all occurrences of '-O3' and then rerunning autoconf and autoheader.) Thanks, Mark -- http://mail.python.org/mailman/listinfo/python-list