summaryrefslogtreecommitdiff
path: root/Python/compile.c
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2012-11-04 23:53:15 +1000
committerNick Coghlan <ncoghlan@gmail.com>2012-11-04 23:53:15 +1000
commite69bfc3fb6b8f241831d06b0dc9561ce9ac0ef8d (patch)
treeb857f6544e2e899c7feb5c5180be8836d9d71c16 /Python/compile.c
parentc992fafddc6a2920084d2bce63d50d49f11854a0 (diff)
parentaab9c2b2ead7b786947c367a9cc5d9c921b9ea99 (diff)
downloadcpython-git-e69bfc3fb6b8f241831d06b0dc9561ce9ac0ef8d.tar.gz
Issue #5765: Merge from 3.3
Diffstat (limited to 'Python/compile.c')
-rw-r--r--Python/compile.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/Python/compile.c b/Python/compile.c
index ff55220443..5016f99af3 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -141,6 +141,11 @@ struct compiler_unit {
The u pointer points to the current compilation unit, while units
for enclosing blocks are stored in c_stack. The u and c_stack are
managed by compiler_enter_scope() and compiler_exit_scope().
+
+Note that we don't track recursion levels during compilation - the
+task of detecting and rejecting excessive levels of nesting is
+handled by the symbol analysis pass.
+
*/
struct compiler {