Antoine Pitrou <pit...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue13240>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to