R. David Murray added the comment: See issue 11796, and the issue it is marked as a duplicate of, for an explanation.
---------- nosy: +r.david.murray resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Comprehensions in a class definition mostly cannot access class variable _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28419> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com