[Zope] Datetime bug in Zope-2.7.6?

2005-06-11 Thread Dennis Allison

Zope 2.7.6
Python 2.4.1 (and yes, I know I am jumping the gun a bit)

The problem appears to be in the parse component -- 

Consider a test script:

for y in range(1995,2005):
for d in (1, 3, 13, 25,):
for m in (1,4,5,6,):
 dd = '%d-%02d-%02d' % (y,m,d,)
 ee  = '%d/%d/%d' % (m, d, y)
 D  = DateTime(dd)
 E  = DateTime(ee)
 print dd, D.strftime('%Y-%m-%d')
 print ee, E.strftime('%Y-%m-%d')
return printed

In all cases, each of the dates shoudl be the same.  As can be seen,
for dates sourced from a string of the form

1995-04-25

the resulatant date is off by one day

1995-04-24

The problem is not seen with Zope 2.6.4 running with 
Python 2.3.5.

A quick diff shows tht there are many changes between 2.6 and 2.7.
Anyone else seen this problem?


Partial Results:

1995-04-25 1995-04-24
4/25/1995 1995-04-25

1995-05-25 1995-05-24
5/25/1995 1995-05-25

1995-06-25 1995-06-24
6/25/1995 1995-06-25

-- 
Dennis Allison * Computer Systems Laboratory * Gates 227
   * Stanford University *  Stanford CA  94305
   * (650) 723-9213 * (650) 723-0033 fax
   * [EMAIL PROTECTED]
   * [EMAIL PROTECTED]


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


[Zope] Re: [ANN] Zope 2.8.0 released

2005-06-11 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Fred Drake wrote:
> On 6/11/05, Andreas Jung <[EMAIL PROTECTED]> wrote:
> 
>> Jim Fulton, Christian Theune, Tim Peters, Fred Drake Jr., Marc Hammond,
>>Sidnei da Silva, Tres Seaver, Stefan Holek, Chris McDonough,
> 
> 
> Don't forget that Andreas Jung character!  This wouldn't have happened
> without his persistence and dedication.
> 
> Thanks, Andreas!

Amen! Amen!


Tres.
- --
===
Tres Seaver  +1 202-558-7113  [EMAIL PROTECTED]
Palladion Software   "Excellence by Design"http://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCq3WS+gerLs4ltQ4RAixTAKC3yKPBIBEQEsxm6oEy9IPs4D3jdACfaJuZ
ESeRs7Z4XT6aB5fwhaZV+Jo=
=jlNd
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Licensing Question

2005-06-11 Thread Andreas Jung



--On 11. Juni 2005 11:52:05 -0400 Todd Clayton <[EMAIL PROTECTED]> 
wrote:



Hello,

We are building a commercial product as an add-on to zope.  There  are
several 3rd-party components that can not be open sourced.  Is  it
possible to distribute those components (packaged separately)  without
needing to make them open source?  Obviously we will  recognize all
copyrights and open source any changes to zope itself.



Zope is published under the ZPL which is basically a BSD-like that says: 
you can do whatever you want with Zope. This applies only to the Zope core. 
If you have any other 3rd-package published under the GPL you might run 
into some problems.


-aj


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


[Zope] Licensing Question

2005-06-11 Thread Todd Clayton

Hello,

We are building a commercial product as an add-on to zope.  There  
are  several 3rd-party components that can not be open sourced.  Is  
it  possible to distribute those components (packaged separately)  
without  needing to make them open source?  Obviously we will  
recognize all  copyrights and open source any changes to zope itself.


Thanks,
Todd

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

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] [ANN] Zope 2.8.0 released

2005-06-11 Thread Stefan H. Holek

Wheee! Two thumbs up, Andreas. Thanks a lot!

Stefan


On 11. Jun 2005, at 08:51, Andreas Jung wrote:

on behalf of Zope Corporation and the Zope community I am pleased  
to announce the release of Zope 2.8.0.  You can download Zope 2.8.0  
from


 http://www.zope.org/Products/Zope/2.8.0/

Some new features of Zope 2.8:

  - ZODB 3.4 with MVCC (multi version concurrency control) support.
MVCC solves nearly every problem with ZODB read-conflict errors
which is very important for high-traffic Zope sites.

  - Extension Classes were rewritten as Python new-style classes  
making

all features of Python new-style classes available in Zope
objects. This includes support for cyclic garbage collection.

  - Integration of Zope 3 technologies through Five (see http:// 
codespeak.net/z3/five/)





--
Software Engineering is Programming when you can't. --E. W. Dijkstra

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

http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] using Access2PDF from Zope

2005-06-11 Thread Manzuk István

Hi All,

I'm trying to drive Access2PDF from Zope, but I just can't get the PDF 
created. I succeeded to call the Access2PDF COM object from the Python 
interpreter and it made its work gracefully. Now when I try to call it 
from an External method it seems to start working (MSAccess.exe can be 
seen in the Task Manager), but that's all and no PDF (also Access won't 
unload but it is another story for now).


It would be very great if someone has experience with this tool and can 
share this with me.


Thanks and Regards,
Istvan
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] [ANN] Zope 2.8.0 released

2005-06-11 Thread Fred Drake
On 6/11/05, Andreas Jung <[EMAIL PROTECTED]> wrote:
>  Jim Fulton, Christian Theune, Tim Peters, Fred Drake Jr., Marc Hammond,
> Sidnei da Silva, Tres Seaver, Stefan Holek, Chris McDonough,

Don't forget that Andreas Jung character!  This wouldn't have happened
without his persistence and dedication.

Thanks, Andreas!


  -Fred

-- 
Fred L. Drake, Jr.
Zope Corporation
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )