Message137059
| Author |
joshtriplett |
| Recipients |
brett.cannon, joshtriplett, ncoghlan, petri.lehtinen, vstinner |
| Date |
2011年05月27日.15:21:02 |
| SpamBayes Score |
4.3462333e-06 |
| Marked as misclassified |
No |
| Message-id |
<1306509663.74.0.0500295291708.issue12082@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
GRUB's filesystem drivers don't support reading mtime. And no, no form of stat() function exists, f or otherwise.
On a related note, without HAVE_STAT, import.c can't import package modules at all, since it uses stat to check in advance for a directory. In the spirit of Python's usual "try it and see if it works" approach, why not just try opening foo/__init__.py, and if that doesn't work try opening foo.py? |
|