Re: [Zope-dev] Re: Schedule for Zope 2.11

2007-10-18 Thread Amos Latteier
 Is there any reason that the pytz import is not required? I would like
 to add support for conversion to timezone aware datetimes, and would
 like to rely on pytz being available.

I believe that pytz ships with Zope 2.11.

When I wrote my patch, it was designed to work with older versions of
Zope that don't ship with pytz. That's why I didn't assume that pytz
was available.

-Amos
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Re: Schedule for Zope 2.11

2007-10-18 Thread Andreas Jung



--On 18. Oktober 2007 09:52:25 -0400 Amos Latteier [EMAIL PROTECTED] 
wrote:



Is there any reason that the pytz import is not required? I would like
to add support for conversion to timezone aware datetimes, and would
like to rely on pytz being available.


I believe that pytz ships with Zope 2.11.

When I wrote my patch, it was designed to work with older versions of
Zope that don't ship with pytz. That's why I didn't assume that pytz
was available.


Please clean up the code on the trunk. Since pytz is always available we 
don't need the try..except magic.


Andreas

pgpbup7DSq9iS.pgp
Description: PGP signature
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Re: Schedule for Zope 2.11

2007-10-18 Thread Amos Latteier
On 10/18/07, Andreas Jung [EMAIL PROTECTED] wrote:
 Please clean up the code on the trunk. Since pytz is always available we
 don't need the try..except magic.

Done.

-Amos
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Re: Schedule for Zope 2.11

2007-10-17 Thread Andreas Jung



--On 17. Oktober 2007 11:36:04 +0100 Laurence Rowe [EMAIL PROTECTED] wrote:


I'd like to see the DateTime pytz work and my datetime comapatibility
patch merged as well. (they work fine together).


I am +/-0  on this patch. If nobody objects, go ahead and merge it.

Andreas

pgpuy3KdOhN1h.pgp
Description: PGP signature
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Re: Schedule for Zope 2.11

2007-10-17 Thread Amos Latteier
On 10/17/07, Laurence Rowe [EMAIL PROTECTED] wrote:
 Are you planning to merge your pytz work to trunk?

Thanks for giving me a push. I was waiting until I heard whether
people wanted it merged.

So now that Andreas says he's OK with it, I'll do it.

-Amos
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Re: Schedule for Zope 2.11

2007-10-17 Thread Amos Latteier
On 10/17/07, Laurence Rowe [EMAIL PROTECTED] wrote:
 Amos,

 Are you planning to merge your pytz work to trunk?

Done.

-Amos
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )