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 eryksun
Recipients Arfrever, amaury.forgeotdarc, benjamin.peterson, docs@python, eryksun, georg.brandl, pitrou, techdragon
Date 2021-03-07.16:52:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1615135974.39.0.326776826201.issue22790@roundup.psfhosted.org>
In-reply-to
Content
>> Why are __flags__, __basicsize__, __itemsize__, 
>>__dictoffset__, and __weakrefoffset__ interesting?
>
> I haven't said they are, but on the other hand I don't see 
> why consistency is a bad thing.

IMO, they're not interesting because they're not documented attributes in Python's data model. They don't exist in other implementations, such as PyPy. So I'd prefer to hide them and, as much as possible, discourage developers from thinking it's okay to use them. They may be interesting attributes while developing extension modules that define new types, but anyone working at that level surely doesn't need the help of dir() to know what attributes are available.
History
Date User Action Args
2021-03-07 16:52:54eryksunsetrecipients: + eryksun, georg.brandl, amaury.forgeotdarc, pitrou, benjamin.peterson, Arfrever, docs@python, techdragon
2021-03-07 16:52:54eryksunsetmessageid: <1615135974.39.0.326776826201.issue22790@roundup.psfhosted.org>
2021-03-07 16:52:54eryksunlinkissue22790 messages
2021-03-07 16:52:53eryksuncreate