[issue12070] Unlimited loop in sysconfig._parse_makefile()

STINNER Victor report at bugs.python.org
Sat May 14 00:37:22 CEST 2011


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

Oh, the problem is that the prefix variable value is seen as "bogus" ($/home/haypo/...: $ is a typo made by me!) and the variable is removed from variables. But other variables depend on the prefix and so we have an unlimited loop.

Possibles fixes:
 - raise an exception if a variable is "bogus"
 - detect loops: ensure that at least was removed during a step (and raise an exception if not)
 - keep "bogus" variables (add them to done)

----------

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


More information about the Python-bugs-list mailing list