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 yselivanov
Recipients Arfrever, pitrou, serhiy.storchaka, xiang.zhang, yselivanov
Date 2016-11-09.17:21:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1478712089.71.0.15248707323.issue24329@psf.upfronthosting.co.za>
In-reply-to
Content
Because the following works without a problem:

  class F:
    __slots__ = ('__name__', )

  f = F()
  f.__name__ = 'aaaa'

This bug with __qualname__ is why _GeneratorWrapper in types.py doesn't have __slots__.
History
Date User Action Args
2016-11-09 17:21:29yselivanovsetrecipients: + yselivanov, pitrou, Arfrever, serhiy.storchaka, xiang.zhang
2016-11-09 17:21:29yselivanovsetmessageid: <1478712089.71.0.15248707323.issue24329@psf.upfronthosting.co.za>
2016-11-09 17:21:29yselivanovlinkissue24329 messages
2016-11-09 17:21:29yselivanovcreate