[issue13240] sysconfig gives misleading results for USE_COMPUTED_GOTOS
Antoine Pitrou
report at bugs.python.org
Fri Oct 21 18:02:15 CEST 2011
Antoine Pitrou <pitrou at free.fr> added the comment:
> This looks like the system Python compiled by Apple. What about a
> hand-compiled Python?
Forget this. I get the same results here.
However, if you add a "#error" at the right place in ceval.c, you'll see that computed gotos are enabled. It seems more of a sysconfig bug or limitation. In pyconfig.h, I have the following:
$ \grep GOTO pyconfig.h
#define HAVE_COMPUTED_GOTOS 1
/* #undef USE_COMPUTED_GOTOS */
Which apparently sysconfig translates as USE_COMPUTED_GOTOS being equal to 0, which I think is wrong.
----------
components: +Library (Lib) -Build
title: computed gotos not enabled? -> sysconfig gives misleading results for USE_COMPUTED_GOTOS
type: performance -> behavior
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13240>
_______________________________________
More information about the Python-bugs-list
mailing list