[issue13240] sysconfig gives misleading results for USE_COMPUTED_GOTOS

Antoine Pitrou report at bugs.python.org
Fri Oct 21 19:19:14 CEST 2011


Antoine Pitrou <pitrou at free.fr> added the comment:

> With the #error, I can confirm that computed gotos are enabled on OS X.
> 
> About sysconfig, we may change the code to set None if the value is "undef". I don't know the impact.

Actually, I think sysconfig does the right thing when it comes to all
the configure-generated HAVE_XXX variables (due to the peculiar way the
configure/pyconfig.h couple works).

It's just that USE_COMPUTED_GOTOS is a ternary variable (0/1/undefined),
so maybe we should accept as a limitation that sysconfig returns a
misleading result here.

----------

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


More information about the Python-bugs-list mailing list