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 daniel.urban
Recipients Yaroslav.Halchenko, benjamin.peterson, daniel.urban, ncoghlan
Date 2013-09-22.16:14:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1379866455.02.0.954977303727.issue19022@psf.upfronthosting.co.za>
In-reply-to
Content
I like the 3rd alternative the most. It seems to me, that __abstractmethods__ is currently an undocumented implementation detail of ABCs. The 1st alternative would cause every type to have an empty __abstractmethods__ (which is technically correct, but probably not very useful). It seems to me that the 2nd alternative would not help very much in the original problem mentioned in issue10006 (automatically looking up every name found in dir). So I think, that the best would be to fix type.__dir__ this way. (Although, if we really want to document and use __abstractmethods__ on every type, then of course we should do the 1st alternative.)
History
Date User Action Args
2013-09-22 16:14:15daniel.urbansetrecipients: + daniel.urban, ncoghlan, benjamin.peterson, Yaroslav.Halchenko
2013-09-22 16:14:15daniel.urbansetmessageid: <1379866455.02.0.954977303727.issue19022@psf.upfronthosting.co.za>
2013-09-22 16:14:15daniel.urbanlinkissue19022 messages
2013-09-22 16:14:14daniel.urbancreate