homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ncoghlan
Recipients SilentGhost, ncoghlan
Date 2012年11月04日.07:47:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1352015245.44.0.794430741381.issue11383@psf.upfronthosting.co.za>
In-reply-to
Content
I've started looking into what would be needed to fix this. The basic problem is that the compilation process involves many recursive operations, but doesn't contain *any* calls to the recursion control functions (http://docs.python.org/3/c-api/exceptions.html#recursion-control).
Files to be investigated:
Python/ast.c
Python/symtable.c
Python/compile.c
Suspicion should fall immediately on any functions in these files which end with "_stmt" and "_expr". The reason as that these are the self-recursive constructs in the Python grammar: statements can contain other statements (via the compound statements with their nested suites) and expressions can contain other expressions.
The symtable analysis also recurses through the block stack via the "analyze_block" function, making that another candidate for flagging with the recursive call functions.
History
Date User Action Args
2012年11月04日 07:47:25ncoghlansetrecipients: + ncoghlan, SilentGhost
2012年11月04日 07:47:25ncoghlansetmessageid: <1352015245.44.0.794430741381.issue11383@psf.upfronthosting.co.za>
2012年11月04日 07:47:25ncoghlanlinkissue11383 messages
2012年11月04日 07:47:24ncoghlancreate

AltStyle によって変換されたページ (->オリジナル) /