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 nascheme
Recipients
Date 2006年06月30日.16:22:13
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=35752
Here are some notes in case I wear out before finding a fix.
 analyze_name() gets to the SET_SCOPE(dict, name,
GLOBAL_IMPLICIT) line because the name does not have the
DEF_LOCAL flag set as it should. It does not have DEF_LOCAL
because Name.ctx for 'g' is Load. I believe there should be
a set_context() call in ast_for_expr_stmt, as flagged as
TODO by Jeremy. Maybe set_context(..., Store, ...) would
work or maybe things need to be changed to allow ctx to have
AugAssign as a value.
History
Date User Action Args
2007年08月23日 14:40:26adminlinkissue1501934 messages
2007年08月23日 14:40:26admincreate

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