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 brett.cannon
Recipients Arfrever, barry, brett.cannon, eric.snow, ncoghlan, neologix, pitrou, python-dev
Date 2011-12-30.20:50:45
SpamBayes Score 1.9301744e-06
Marked as misclassified No
Message-id <1325278246.88.0.960194781645.issue13645@psf.upfronthosting.co.za>
In-reply-to
Content
Why change importlib's API and instead add to it? You could add the requisite path_size() method to get the value, and assume 0 means unsupported (at least until some future version where a deprecation warning about not requiring file size comes about). But I don't see how you can get around not exposing these details as stored in some API, whether it is by method or object attribute since you can't assume stat results since support for non-file storage back-ends would be unduly burdened.
History
Date User Action Args
2011-12-30 20:50:47brett.cannonsetrecipients: + brett.cannon, barry, ncoghlan, pitrou, Arfrever, neologix, python-dev, eric.snow
2011-12-30 20:50:46brett.cannonsetmessageid: <1325278246.88.0.960194781645.issue13645@psf.upfronthosting.co.za>
2011-12-30 20:50:46brett.cannonlinkissue13645 messages
2011-12-30 20:50:45brett.cannoncreate