[Python-Dev] stat() return value (was: Re: Proof of thepudding: str.partition())
Terry Reedy
tjreedy at udel.edu
Thu Sep 1 04:58:18 CEST 2005
"Guido van Rossum" <guido at python.org> wrote in message
news:ca471dc205083118051acd7fab at mail.gmail.com...
> On 8/31/05, skip at pobox.com <skip at pobox.com> wrote:
>> 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.
>
> +1 on dropping the sequence.
Good. Another addition to PEP 3000. I was hoping this would not require a
long-winded and possibly boring justification for something I suspect
(without checking the archives) was in the back of some minds when the
attributes were added.
> -0 on dropping the st_ prefix; these are conventional and familiar to
> all UNIX developers and most C programmers, and help with grepping
> (and these days, Googling :).
Terry J. Reedy
More information about the Python-Dev
mailing list