[Python-Dev] Re: proposal: add basic time type to the standard library

Guido van Rossum guido@python.org
Tue, 26 Feb 2002 17:45:30 -0500


> I've not been following this thread at all, so apologies if this has
> been brought up already.

No, but unclear if it's relevant.

> The localization context should not (always) be taken from the user
> environment.  In systems like web-based services, the context will
> instead be relative to the person/entity making the remote request, so
> we have to be able to explicitly specify the localization context, or
> at least query, modify, and restore some global context.

Sure.  So the interface may be different.  The main argument (that you
shouldn't be using t.year() to format dates) remains the same.

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