[Python-Dev] Adding the 'path' module (was Re: Some RFE for review)
Donovan Baarda
abo at minkirri.apana.org.au
Tue Jun 28 02:48:22 CEST 2005
On Mon, 2005-06-27 at 14:25, Phillip J. Eby wrote:
[...]
> As for the open issues, if we can't reach some sane compromise about
> atime/ctime/mtime, I'd suggest just providing the stat() method and let
> people use stat().st_mtime et al. Alternately, I'd be okay with creating
> last_modified(), last_accessed(), and created_on() methods that return
> datetime objects, as long as there's also atime()/mtime()/ctime() methods
> that return timestamps.
+1 for atime/mtime/ctime being timestamps
-1 for redundant duplicates that return DateTimes
+1 for a stat() method (there is lots of other goodies in a stat).
--
Donovan Baarda <abo at minkirri.apana.org.au>
More information about the Python-Dev
mailing list