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 xiang.zhang
Recipients Arfrever, pitrou, serhiy.storchaka, xiang.zhang, yselivanov
Date 2016-11-09.17:19:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1478711946.18.0.547093965322.issue24329@psf.upfronthosting.co.za>
In-reply-to
Content
Why should it work Yury?

__qualname__ and __doc__(if exists) are inserted into the dict when creating a class.

>>> class Foo:
...     """bar"""
...     __slots__ = ('__doc__',)
... 
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: '__doc__' in __slots__ conflicts with class variable
History
Date User Action Args
2016-11-09 17:19:06xiang.zhangsetrecipients: + xiang.zhang, pitrou, Arfrever, serhiy.storchaka, yselivanov
2016-11-09 17:19:06xiang.zhangsetmessageid: <1478711946.18.0.547093965322.issue24329@psf.upfronthosting.co.za>
2016-11-09 17:19:06xiang.zhanglinkissue24329 messages
2016-11-09 17:19:06xiang.zhangcreate