General question about Python design goals

Duncan Booth duncan.booth at invalid.invalid
Fri Dec 2 04:37:02 EST 2005


Alex Martelli wrote:

> Yep -- "time tuples" have also become pseudo-tuples (each element can be
> accessed by name as well as by index) a while ago, and I believe there's
> one more example besides stats and times (but I can't recall which one).

Apart from time and os.stat all the uses seem to be restricted to Unix 
only: pwd, grp and resource modules all use StructSequence, also os.statvfs 
and spwd (new in 2.5). Thats from an svn checkout though so there may be 
fewer uses in released code.



More information about the Python-list mailing list