Re: [Zope3-dev] XXX Roundup

2006-01-03 Thread Stephan Richter
On Friday 16 December 2005 16:20, Benji York wrote: Stephan zope/viewlet/README.txt:147 Okay, I converted this one to a TODO, which it really is. Regards, Stephan -- Stephan Richter CBU Physics Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and

Finished zope/i18n/format.py XXX (was Re: [Zope3-dev] XXX Roundup)

2005-12-20 Thread Gary Poster
On Dec 19, 2005, at 2:41 PM, Gary Poster wrote: On Dec 17, 2005, at 4:06 PM, Gary Poster wrote: On Dec 16, 2005, at 4:20 PM, Benji York wrote: Gary zope/i18n/format.py:141 and 149 Update, if anyone needs to follow along: ... This is fixed in trunk and 3.2 branch. Thanks to Stuart Bishop

Re: [Zope3-dev] XXX Roundup

2005-12-17 Thread Gary Poster
On Dec 16, 2005, at 4:20 PM, Benji York wrote: Gary zope/i18n/format.py:141 and 149 (Not entirely sure why Benji blessed me with this assignment ;-) , but...) As I wrote before, this is an evil bug caused by a misuse of pytz code: timezones in this code can be pickled, but then not

zope.i18n.format pytz usage (was Re: [Zope3-dev] XXX Roundup)

2005-12-16 Thread Gary Poster
On Dec 16, 2005, at 4:20 PM, Benji York wrote: Gary zope/i18n/format.py:141 and 149 Yup: the pytz StaticTzInfo is being used in a non-API way, and while pickling works, unpickling doesn't (ew!). Here's the interactive prompt example, if anyone cares. import pytz.tzinfo tz =

Re: zope.i18n.format pytz usage (was Re: [Zope3-dev] XXX Roundup)

2005-12-16 Thread Gary Poster
On Dec 16, 2005, at 4:56 PM, Gary Poster wrote: ... I think I can fix it by using the pytz.reference.FixedOffset class. That's what I'll try to do now. BTW, let me note that this is still bad. These things *should not* be persisted: they will generate lots and lots of little instances.