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.

classification
Title: [ast branch] fatal error when compiling test_bool.py
Type: Stage:
Components: Interpreter Core Versions: Python 2.5
process
Status: closed Resolution: duplicate
Dependencies: Superseder:
Assigned To: Nosy List: brett.cannon, jpe
Priority: normal Keywords:

Created on 2005-03-19 23:34 by jpe, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg24712 - (view) Author: John Ehresman (jpe) * Date: 2005-03-19 23:34
When using the ast-branch compiler, python exits with a
fatal error when compiling test_bool.py or the
symplified test case that I'll attach.

The immediate problem is that when the compiler is in
make_closure after compiling the lambda, self is found
to be a LOCAL reference type and make_closure assumes
it's a FREE reference if it's not a CELL reference in
the enclosing scope.

I don't know if self is supposed to be a LOCAL
reference or if make_closure should handle LOCAL
references.

msg24713 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2005-03-20 15:02
Logged In: YES 
user_id=357491

dup of #1166714 .
History
Date User Action Args
2022-04-11 14:56:10adminsetgithub: 41721
2005-03-19 23:34:32jpecreate