New submission from Torne Wuff :
On systems without dup2(), Python tries to compile its own from Python/dup2.c,
but this file refers to close() without including unistd.h. This causes it to
not compile with newlib (and possibly other C libraries, presumably it was
relying on fcntl.h
Torne Wuff added the comment:
I suspect a better message could be invented, but I'm not sure what :)
--
___
Python tracker
<http://bugs.python.org/i
New submission from Torne Wuff :
sre_parse raises an exception with the message "syntax error" - very
generic and confusing - in the case where something that looks like a
lookbehind assertion is invalid.
>>> import re
>>> re.match('(?.*)', 'foo&