[Python-Dev] stat() return value (was: Re: Proof of the pudding: str.partition())

skip@pobox.com skip at pobox.com
Thu Sep 1 02:59:36 CEST 2005

    >> In the case of stat() there is no reason other than historic for the
    >> results to be returned in any particular order,

    Terry> Which is why I wonder whether the sequence part should be dropped
    Terry> in 3.0.

I think that would be a good idea.  Return an honest-to-goodness stat object
and also strip the "st_" prefixes removed from the attributes.  There's no
namespace collision problems from which the prefixes protect us.


More information about the Python-Dev mailing list