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 r.david.murray
Recipients Brian Smith, r.david.murray
Date 2016-11-04.00:08:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1478218093.92.0.102323531462.issue28606@psf.upfronthosting.co.za>
In-reply-to
Content
The statement in question causes the compiler to make 'tags' a local variable in the function, and thus you get the error on the assignment.  See https://docs.python.org/3/faq/programming.html#id8.
History
Date User Action Args
2016-11-04 00:08:13r.david.murraysetrecipients: + r.david.murray, Brian Smith
2016-11-04 00:08:13r.david.murraysetmessageid: <1478218093.92.0.102323531462.issue28606@psf.upfronthosting.co.za>
2016-11-04 00:08:13r.david.murraylinkissue28606 messages
2016-11-04 00:08:13r.david.murraycreate