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

Guido van Rossum guido at python.org
Thu Sep 1 03:05:55 CEST 2005


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.

-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 :).

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-Dev mailing list