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 r.david.murray
Recipients r.david.murray, stephan
Date 2016-10-25.17:47:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1477417653.33.0.162175008748.issue28530@psf.upfronthosting.co.za>
In-reply-to
Content
Out of curiosity, what is your use case?

You can grab an object you know is a DirEntry and take its type to get a type object to use in, for example, isinstance.

posix.DirEntry is exposed...either nt.DirEntry should be too, or the posix one shouldn't be, and/or there should be an os.DirEntry superclass.  So, something isn't quite right here no matter how you look at it, IMO.
History
Date User Action Args
2016-10-25 17:47:33r.david.murraysetrecipients: + r.david.murray, stephan
2016-10-25 17:47:33r.david.murraysetmessageid: <1477417653.33.0.162175008748.issue28530@psf.upfronthosting.co.za>
2016-10-25 17:47:33r.david.murraylinkissue28530 messages
2016-10-25 17:47:33r.david.murraycreate