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 amaury.forgeotdarc
Recipients amaury.forgeotdarc, meador.inge, ncoghlan, techtonik, vstinner
Date 2012-11-28.12:37:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1354106253.46.0.492444314667.issue16566@psf.upfronthosting.co.za>
In-reply-to
Content
OTOH, __slots__ also allows a single string, but it is silently converted to a 1-tuple:

class C:
    __slots__ = 'abc'
assert 'abc' in C.__dict__
History
Date User Action Args
2012-11-28 12:37:33amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, ncoghlan, vstinner, techtonik, meador.inge
2012-11-28 12:37:33amaury.forgeotdarcsetmessageid: <1354106253.46.0.492444314667.issue16566@psf.upfronthosting.co.za>
2012-11-28 12:37:33amaury.forgeotdarclinkissue16566 messages
2012-11-28 12:37:33amaury.forgeotdarccreate