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

2007-08-28 Thread Laurence Rowe

Philipp von Weitershausen wrote:
snip /

I believe that datetime is not even importable in TTW code
and datetime objects not accessible in TTW code -- at least,
they have not been until recently...


allow_module('datetime') is all you had to do. Ok, admittedly, pure-TTW 
developers who can't or won't touch filesystem code were out of luck, 
but everybody who *knew* about datetime and wanted to use it could have 
done so.


There are a lot of pure TTW developers, they don't tend to be vocal on 
these lists though. It would be really good to get the datetime module 
allowed for them, along with set and frozenset which are now built in.


Laurence

___
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 )


[Zope-dev] Zope Tests: 5 OK

2007-08-28 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list.
Period Mon Aug 27 12:00:00 2007 UTC to Tue Aug 28 12:00:00 2007 UTC.
There were 5 messages: 5 from Zope Unit Tests.


Tests passed OK
---

Subject: OK : Zope-2.7 Python-2.3.6 : Linux
From: Zope Unit Tests
Date: Mon Aug 27 20:52:41 EDT 2007
URL: http://mail.zope.org/pipermail/zope-tests/2007-August/008251.html

Subject: OK : Zope-2.8 Python-2.3.6 : Linux
From: Zope Unit Tests
Date: Mon Aug 27 20:56:13 EDT 2007
URL: http://mail.zope.org/pipermail/zope-tests/2007-August/008252.html

Subject: OK : Zope-2.9 Python-2.4.4 : Linux
From: Zope Unit Tests
Date: Mon Aug 27 20:57:44 EDT 2007
URL: http://mail.zope.org/pipermail/zope-tests/2007-August/008253.html

Subject: OK : Zope-2.10 Python-2.4.4 : Linux
From: Zope Unit Tests
Date: Mon Aug 27 20:59:14 EDT 2007
URL: http://mail.zope.org/pipermail/zope-tests/2007-August/008254.html

Subject: OK : Zope-trunk Python-2.4.4 : Linux
From: Zope Unit Tests
Date: Mon Aug 27 21:00:45 EDT 2007
URL: http://mail.zope.org/pipermail/zope-tests/2007-August/008255.html

___
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: Options replacing DateTime with datetime!?

2007-08-28 Thread Dieter Maurer
Philipp von Weitershausen wrote at 2007-8-27 22:33 +0200:
 ...
 I believe that datetime is not even importable in TTW code
 and datetime objects not accessible in TTW code -- at least,
 they have not been until recently...

allow_module('datetime') is all you had to do. Ok, admittedly, pure- 
TTW developers who can't or won't touch filesystem code were out of  
luck, but everybody who *knew* about datetime and wanted to use it  
could have done so.

Is not an allow_type (or several) necessary as well?



-- 
Dieter
___
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: Options replacing DateTime with datetime!?

2007-08-28 Thread Philipp von Weitershausen

On 28 Aug 2007, at 21:48 , Dieter Maurer wrote:

Philipp von Weitershausen wrote at 2007-8-27 22:33 +0200:

...

I believe that datetime is not even importable in TTW code
and datetime objects not accessible in TTW code -- at least,
they have not been until recently...


allow_module('datetime') is all you had to do. Ok, admittedly, pure-
TTW developers who can't or won't touch filesystem code were out of
luck, but everybody who *knew* about datetime and wanted to use it
could have done so.


Is not an allow_type (or several) necessary as well?


Possibly. I woudln't know. My point was just that it's doable and has  
been for a long time already.


___
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 )