Re: [Python-Dev] ctime: I don't think that word means what you think it means.

2009-06-14 Thread Steven D'Aprano
On Sun, 14 Jun 2009 10:40:53 am Greg Ewing wrote: Zooko Wilcox-O'Hearn wrote: 1. Add a st_crtime field which gets populated on filesystems (Windows, ZFS, Mac) which can do so. crtime looks rather too similar to ctime for my liking. People who think that the c in ctime means creation are

Re: [Python-Dev] ctime: I don't think that word means what you think it means.

2009-06-14 Thread Scott David Daniels
Steven D'Aprano wrote: On Sun, 14 Jun 2009 10:40:53 am Greg Ewing wrote: Zooko Wilcox-O'Hearn wrote: 1. Add a st_crtime field which gets populated on filesystems (Windows, ZFS, Mac) which can do so. crtime looks rather too similar to ctime for my liking. People who think that the c in ctime

[Python-Dev] ctime: I don't think that word means what you think it means.

2009-06-13 Thread Zooko Wilcox-O'Hearn
The stat module uses the st_ctime slot to hold two kinds of values which are semantically different and which are frequently confused with one another. It chooses which kind of value to put in there based on platform -- Windows gets the file creation time and all other platforms get the ctime.

Re: [Python-Dev] ctime: I don't think that word means what you think it means.

2009-06-13 Thread Greg Ewing
Zooko Wilcox-O'Hearn wrote: 1. Add a st_crtime field which gets populated on filesystems (Windows, ZFS, Mac) which can do so. crtime looks rather too similar to ctime for my liking. People who think that the c in ctime means creation are still likely to confuse them. Why not give it a more