[Zope] Overriding DateTime
Chris Withers
chris at simplistix.co.uk
Thu Apr 2 15:07:46 EDT 2009
Dieter Maurer wrote:
> Be aware, however, that this replacing takes effect only after
> your assignment. Modules that already have imported the "DateTime"
> class will not be affected.
Yes, but you can replace them in the same way...
Just make sure you wrap in a try/finally so you un-replace no matter
what happens...
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
More information about the Zope
mailing list