[Python-Dev] Unbound locals in class scopes
Ivan Levkivskyi
levkivskyi at gmail.com
Sat Jun 20 08:51:47 CEST 2015
More information about the Python-Dev mailing list
Sat Jun 20 08:51:47 CEST 2015
- Previous message (by thread): [Python-Dev] PEP 0420: Extent of implementation? Specifically Python 2?
- Next message (by thread): [Python-Dev] Unbound locals in class scopes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello, There appeared a question in the discussion on http://bugs.python.org/issue24129 about documenting the behavior that unbound local variables in a class definition do not follow the normal rules. Guido said 13 years ago that this behavior should not be changed: https://mail.python.org/pipermail/python-dev/2002-April/023428.html, however, things changed a bit in Python 3.4 with the introduction of the LOAD_CLASSDEREF opcode. I just wanted to double-check whether it is still a desired/expected behavior. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20150620/713992a6/attachment.html>
- Previous message (by thread): [Python-Dev] PEP 0420: Extent of implementation? Specifically Python 2?
- Next message (by thread): [Python-Dev] Unbound locals in class scopes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list