Issue 1166704: [ast branch] fatal error when compiling test_bool.py (original) (raw)

Issue1166704

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:10 admin set github: 41721
2005-03-19 23:34:32 jpe create