R. David Murray added the comment: 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. ---------- nosy: +r.david.murray _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28530> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com