]> granicus.if.org Git - python/commit
The object-being sliced in an assignment to a slice is referenced, not
authorJeremy Hylton <jeremy@alum.mit.edu>
Fri, 14 Sep 2001 22:45:57 +0000 (22:45 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Fri, 14 Sep 2001 22:45:57 +0000 (22:45 +0000)
commit652a22437a973dddef7f82d0cc8271d60da7de36
treef00044b0d78496d2b6536999698274d9e26cd608
parent9ee78f7d61fdce7bd3e712346460bdbc026efc23
The object-being sliced in an assignment to a slice is referenced, not
bound.

When a Yield() node is visited, assign to the generator attribute of
the scope, not the visitor.
Lib/compiler/symbols.py
Tools/compiler/compiler/symbols.py