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 christian.heimes
Recipients christian.heimes, nlsdfnbch
Date 2017-10-19.08:03:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1508400225.38.0.213398074469.issue31816@psf.upfronthosting.co.za>
In-reply-to
Content
dir() and __dir__ work as designed and documented:

https://docs.python.org/3/reference/datamodel.html?highlight=__dir__#object.__dir__

Called when dir() is called on the object. A sequence must be returned. dir() converts the returned sequence to a list and sorts it
History
Date User Action Args
2017-10-19 08:03:45christian.heimessetrecipients: + christian.heimes, nlsdfnbch
2017-10-19 08:03:45christian.heimessetmessageid: <1508400225.38.0.213398074469.issue31816@psf.upfronthosting.co.za>
2017-10-19 08:03:45christian.heimeslinkissue31816 messages
2017-10-19 08:03:45christian.heimescreate