[Zope-dev] Re: Options replacing DateTime with datetime!?

Dieter Maurer dieter at handshake.de
Wed Aug 29 15:45:06 EDT 2007


Philipp von Weitershausen wrote at 2007-8-28 21:49 +0200:
>On 28 Aug 2007, at 21:48 , Dieter Maurer wrote:
>> Philipp von Weitershausen wrote at 2007-8-27 22:33 +0200:
> ... "datetime" use ...
>My point was just that it's doable and has  
>been for a long time already.

Yes, it is possible (for a long time) -- but far from being well supported...

Maybe, we ensure in the core that the modules "datetime" and "pytz"
can be imported and the corresponding instances accessed in TTW code.

And as someone else mentioned: "set" and "frozenset" are as
safe as "dict". Thus, they, too, could be made available (if necessary
with a "safe" wrapper, should "dict" have one).

-- 
Dieter


More information about the Zope-Dev mailing list