[Zope-dev] Required final newline in Script (Python) in Zope 2.4.3

2001-12-17 Thread Jean Jordaan
Hi people I'm moving an app to Zope 2.4.3, and one thing I've discovered is that methods that don't end with a final newline are invalid:: Script line 13 REQUEST.RESPONSE.redirect(url) ^ SyntaxError: invalid syntax If I go press return after the ),

Re: [Zope-dev] Required final newline in Script (Python) in Zope 2.4.3

2001-12-17 Thread maxm
From: Jean Jordaan [EMAIL PROTECTED] I'm moving an app to Zope 2.4.3, and one thing I've discovered is that methods that don't end with a final newline are invalid:: Is this a feature? An inevitability? Is it Good For Me? That is a bug. There's no reason for such behaviour. Except for some

Re: [Zope-dev] Bravery Zope 2.5 Testers

2001-12-17 Thread Harald Koschinski
Matthew T. Kromer wrote: [EMAIL PROTECTED]">Harald Koschinski wrote: Matthew T. Kromer wrote: OK, I am formulating a hypothesis that if you replace ExtensionClass.h in Zope 2.4 and Zope 2.5 with the following one:

[Zope-dev] [IDEA] ZopeRoot and SiteRoot

2001-12-17 Thread Casey Duncan
This qualifies as: Yet another idea that I'm not sure deserves a fishbowl proposal yet, or is big enough to even need one. In making some recent changes to the Application.py module in Zope which houses the class for the Zope Root Folder, it occurred to me that I could solve an issue that has

RE: [Zope-dev] Re: User Groups

2001-12-17 Thread Steve Drees
A role is essentially a group. I think the general consensus is that a role is not essentially a group although the two can be easily confused ;-) If you have a role, you're in a group - the group of all people with that role. My apologies for having included the world in my

Re: [Zope-dev] [IDEA] ZopeRoot and SiteRoot

2001-12-17 Thread Chris McDonough
getPhysicalRoot already exists, and returns the top-level app object when called from any Zope object. - Original Message - From: Lennart Regebro [EMAIL PROTECTED] To: Casey Duncan [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, December 17, 2001 11:48 AM Subject: Re: [Zope-dev]

Re: [Zope-dev] [IDEA] ZopeRoot and SiteRoot

2001-12-17 Thread Casey Duncan
On Monday 17 December 2001 12:20 pm, Chris McDonough allegedly wrote: getPhysicalRoot already exists, and returns the top-level app object when called from any Zope object. You know I had a sneaking suspicion that this existed somewhere, which is why I didn't go ahead and fishify it. Thanks

Re: [Zope-dev] [IDEA] ZopeRoot and SiteRoot

2001-12-17 Thread Florent Guillaume
Well, these things should be done together. What is needed is a complete set of functions for getting the objects path, URL sitename and root, both with and without SiteRoot/VHM. And the virtual functions should work by asking the SiteRoot/VHM for the information, instead of as today getting

Re: [Zope-dev] [IDEA] ZopeRoot and SiteRoot

2001-12-17 Thread Casey Duncan
On Monday 17 December 2001 12:45 pm, Florent Guillaume allegedly wrote: Well, these things should be done together. What is needed is a complete set of functions for getting the objects path, URL sitename and root, both with and without SiteRoot/VHM. And the virtual functions should work

Re: [Zope-dev] [IDEA] ZopeRoot and SiteRoot

2001-12-17 Thread Chris McDonough
Hmm... no, I dont think there's a call to get the virtual root. Although I imagine it would be pretty simple to add. - Original Message - From: Casey Duncan [EMAIL PROTECTED] To: Chris McDonough [EMAIL PROTECTED]; Lennart Regebro [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday,

Re: [Zope-dev] [IDEA] ZopeRoot and SiteRoot

2001-12-17 Thread Lennart Regebro
From: Chris McDonough [EMAIL PROTECTED] Hmm... no, I dont think there's a call to get the virtual root. Although I imagine it would be pretty simple to add. Yes it is. This works with SiteAccessEnhanced (where EASY_VHM has to be the name if the host monster)

[Zope-dev] PDF from Printable Page

2001-12-17 Thread Dirk Datzert
Hi, I'm looking for a way to get a PDF from a Printable Page. I thought of the ZpdfDocument as a base for this kind of issue. Has anybody some experience in resolving this issue ? Regards, Dirk ___ Zope-Dev maillist - [EMAIL PROTECTED]

[Zope-dev] disabling gc does not necessarily hide memory corruption

2001-12-17 Thread Leonardo Rochael Almeida
On Mon, 2001-12-17 at 20:57, Jeremy Hylton wrote: MTK == Matthew T Kromer [EMAIL PROTECTED] writes: MTK A side effect of shutting off the garbage collector is that you MTK can have some storage leaks. We're working on being able to MTK re-enable the garbage collector so that you

Re: [Zope-dev] disabling gc does not necessarily hide memory corruption

2001-12-17 Thread Anthony Baxter
Chris McDonough wrote This behavior is with the patches to the compiler package that were the genesis of this thread? No, prior to that. I posted something about it to zope-dev an age or six ago - it seemed like the RestrictedPython compiler had mungo mungo numbers of cycles, and we found we

Re: [Zope-dev] disabling gc does not necessarily hide memory corruption

2001-12-17 Thread Chris McDonough
Ah ok... yeah, there were reportedly several leaks in the compiler stuff that have been fixed in CVS. I imagine that's what this is. Anthony Baxter wrote: Chris McDonough wrote This behavior is with the patches to the compiler package that were the genesis of this thread? No, prior to