[Zope3-dev] Re: Utility registry bug?

2006-07-28 Thread Jim Fulton
On Jul 20, 2006, at 4:55 AM, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote: Hi Jim and Philipp I included zope.app.module and got the following error. Note: I'm not asking to use zope.app.module. I just whould make sure that everything is correct with the utility registry. Do you know wha

Re: [Zope3-dev] Weird error within __cmp__ method of KeyReferenceToPersistent

2006-07-28 Thread Gary Poster
On Jul 28, 2006, at 5:05 AM, Dominik Huber wrote: Gary Poster wrote: I object. :-) Thanks for the feedback! :-) Thanks for the really clear discussion below. I think I have a better idea about what is going on. BTW, I'm trying to squeeze a reply in before I (might) become unavailable

Re: [Zope3-dev] Re: OT: pytz

2006-07-28 Thread Ignas Mikalajunas
Thanks. I'd seen localize() in the README but all the examples have an explicit is_dst passed which I didn't want. I didn't realize that without it it would guess the right one (except during the 1h ambiguous period). Florent The is_dst parameter is more like "If it is ambiguous prefer DST", ev

Re: [Zope3-dev] Weird error within __cmp__ method of KeyReferenceToPersistent

2006-07-28 Thread Dominik Huber
Gary Poster wrote: I object. :-) Thanks for the feedback! First, your change effectively adds _database_name to an unspoken interface for persistent IKeyReferences. That's not a good idea. Yup, I did not respect that point. Second, the error you are getting is an error condition and should be