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 loewis
Recipients Trundle, brian.curtin, eric.araujo, giampaolo.rodola, gregory.p.smith, loewis, neologix, nvetoshkin, pitrou, serhiy.storchaka, socketpair, terry.reedy, tim.golden, torsten
Date 2013-03-24.23:04:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1364166254.0.0.761927368729.issue11406@psf.upfronthosting.co.za>
In-reply-to
Content
Since this is going to be a new API, I would like to return the file type per directory entry where supported. I suggest to start with the Linux set of file types (DT_BLK, ..., DT_UNKNOWN), perhaps under different names, giving 'unknown' on systems which don't support this.

People traversing a directory tree can then skip the stat call if it's neither 'directory' nor 'unknown'.
History
Date User Action Args
2013-03-24 23:04:14loewissetrecipients: + loewis, terry.reedy, gregory.p.smith, pitrou, giampaolo.rodola, tim.golden, eric.araujo, Trundle, brian.curtin, torsten, nvetoshkin, neologix, socketpair, serhiy.storchaka
2013-03-24 23:04:14loewissetmessageid: <1364166254.0.0.761927368729.issue11406@psf.upfronthosting.co.za>
2013-03-24 23:04:13loewislinkissue11406 messages
2013-03-24 23:04:13loewiscreate