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 pitrou
Recipients Arfrever, barry, brett.cannon, eric.snow, ncoghlan, neologix, pitrou, python-dev
Date 2012-01-01.15:09:31
SpamBayes Score 4.297543e-09
Marked as misclassified No
Message-id <1325430572.21.0.986328186401.issue13645@psf.upfronthosting.co.za>
In-reply-to
Content
> You could add the requisite path_size() method to get the value, and
> assume 0 means unsupported

I thought:
- calling two methods means two stat calls per file, this could be slightly inefficient
- if future extensions of the import mechanism require yet more stat information (for example owner or chmod), it will be yet another bunch of stat'ing methods to create

(besides, calling int() on the timestamp is a loss of information, I don't understand why this must be done in path_mtime() rather than let the consumer do whatever it wants with the higher-precision timestamp)
History
Date User Action Args
2012-01-01 15:09:32pitrousetrecipients: + pitrou, barry, brett.cannon, ncoghlan, Arfrever, neologix, python-dev, eric.snow
2012-01-01 15:09:32pitrousetmessageid: <1325430572.21.0.986328186401.issue13645@psf.upfronthosting.co.za>
2012-01-01 15:09:31pitroulinkissue13645 messages
2012-01-01 15:09:31pitroucreate