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 josh.r
Recipients Arfrever, josh.r, llllllllll, mark.dickinson, martin.panter, python-dev, r.david.murray, rhettinger, serhiy.storchaka, steven.daprano, taleinat
Date 2015-11-03.23:52:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1446594749.45.0.529952802996.issue24379@psf.upfronthosting.co.za>
In-reply-to
Content
Martin: I think the primary reason I suggested an empty __slots__ was to avoid people doing dumb stuff like attaching attributes to the singleton, and then getting annoyed if support for them was removed in some future release (e.g. if this ever moved to C for whatever reason), or expecting them to survive pickling, what have you. The memory savings (if any) would be negligible, it was just to avoid future compatibility concerns.

Serhiy: If we add a stub slot, presumably it should be __stub, not __stub__, the former getting the private member name mangling protection while the latter would not (and the latter might give the impression it was some sort of special method/attribute when it was not).
History
Date User Action Args
2015-11-03 23:52:29josh.rsetrecipients: + josh.r, rhettinger, mark.dickinson, taleinat, Arfrever, steven.daprano, r.david.murray, python-dev, martin.panter, serhiy.storchaka, llllllllll
2015-11-03 23:52:29josh.rsetmessageid: <1446594749.45.0.529952802996.issue24379@psf.upfronthosting.co.za>
2015-11-03 23:52:29josh.rlinkissue24379 messages
2015-11-03 23:52:29josh.rcreate