Re: [Zope-dev] Zope 2.1.6 DateTime bug: daylight saving time not handled -- with patch

2000-05-29 Thread Steve Alexander
Dieter Maurer wrote: The Zope 2.1.6 DateTime module does not recognize daylight saving time. You might find Shane Hathaway's revision of DateTime.py useful. http://www.zope.org/Members/hathawsh/DateTime.py It corrects many rounding errors, as well as the problems with daylight saving

Re: [Zope-dev] Data.fs corruption (reproducable)

2000-05-29 Thread Dr. Peer Griebel
FYI: I managed to solve the problem. I simply took the third parameter out of the parameter list and initialized the variable inside the function: def FormatPreis( v, n=2, thou=regex.compile( "\([0-9]\)\([0-9][0-9][0-9]\([,.]\|$\)\)").search) becomes def FormatPreis( v, n=2

Re: [Zope-dev] Memory 2.1.4-2.1.6 a.k.a. how to get objects out ofthe cache

2000-05-29 Thread Stuart 'Zen' Bishop
On Sat, 27 May 2000, Eric Sattler wrote: I do see GenericUserFolder and SQLSession objects with the Control_Panel_Debug screen, and they do not seem to go away. I wrote a simple python script to do nothing more than authenticate (log in) using the GenericUserFolder method docLogin. The

[Zope-dev] New GUF (1.2.3)

2000-05-29 Thread Stuart 'Zen' Bishop
I think I've fixed the memory leak identified over the weekend in GUF. This leak may also have caused {SQL,FS}Session to leak through no fault of their own. Could people who are experiencing the problem try out the new version and let me/zope-dev know the results. I'll announce the release on

Re: [Zope-dev] Memory 2.1.4-2.1.6 a.k.a. how to get objects out of the cache

2000-05-29 Thread Eric Sattler
Shane Hathaway wrote: Stuart 'Zen' Bishop wrote: /me hops on the 'real garbage collection for Python' bandwagon Have you looked at this? Yes, I actually built, installed and enabled it. It doesn't seem to have a major impact on my problems at least...neither does Zen's latest set of

Re: [Zope-dev] Calling DTML methods from Python

2000-05-29 Thread Kevin Dangoor
I believe this is in the Collector... My guess is that no one has yet figured out a good way to make the client and namespace be passed in automatically. This may not be desirable anyhow, because there may be times when you want to change the client... I've actually done this once or twice. I

Re: [Zope-dev] Calling DTML methods from Python

2000-05-29 Thread Chris Withers
Kevin Dangoor wrote: I believe this is in the Collector... My guess is that no one has yet figured out a good way to make the client and namespace be passed in automatically. This may not be desirable anyhow, because there may be times when you want to change the client... I've actually done

Re: [Zope-dev] Calling DTML methods from Python

2000-05-29 Thread Andrew Wilcox
Is it just me or is there a lot of confusion between the terms namespace, self, client, and the REQUEST object (which, unlike it's name implies, seems to contain a lot more than stuff relating to the HTTP request, like the RESPONSE object, for example ;-) Perhaps this could be shaken down and

Re: [Zope-dev] Calling DTML methods from Python

2000-05-29 Thread Rik Hoekstra
Is it just me or is there a lot of confusion between the terms namespace, self, client, and the REQUEST object (which, unlike it's name implies, seems to contain a lot more than stuff relating to the HTTP request, like the RESPONSE object, for example ;-) Perhaps this could be shaken down and

Re: [Zope-dev] Expression syntax for sort= attribute in dtml-in .. tag.

2000-05-29 Thread Shane Hathaway
Adam Karpierz wrote: It's very, very... great news that Ross Lazarus's multikey sort patch for dtml-in tag is included in current Zope CVS and will be included in Zope 2.2. dtml in "foo" sort=akey,anotherkey But for me one important thing is very missed. Possibillity of use

Re: [Zope-dev] Z SQL: optional isn't?

2000-05-29 Thread Dieter Maurer
Kyler B. Laird writes: I'd like to build a Z SQL method for *many* people to use to list courses that we offer. I don't want to require that all queries using it understand all of the columns, but I do want to be able to modify the query in many ways. This works only if I provide

Re: [Zope-dev] Z SQL: optional isn't?

2000-05-29 Thread Kyler B. Laird
On Mon, 29 May 2000 21:56:33 +0200 (CEST) you wrote: Error, Bad Request: ['version'] You want to use "default values" in your SQL method argument list. The details are described in "ZSQL/ZSQL.2.5.2.html". What's the URL for this? I'm looking through the pointers from the documentation