Re: [Zope-dev] ZEO cache instrumentation -- any takers?

2002-10-04 Thread Guido van Rossum
As much as I try to avoid them (especially in Zope code), they are sometimes necessary because you simply don't know what exceptions might be raised from inside Python or the standard libs. Sure. But the point is that *historically* Zope code (and lots of other Python code!) has contained a

Re: [Zope-dev] ZEO cache instrumentation -- any takers?

2002-10-04 Thread Guido van Rossum
What would be nice is a way to define in Python a kind of exception that is not caught by bare except: statements but only by except SpecificClass: statements. Not quite an uncatchable exception, but one that is caught only by except statements that name it. I'm skeptical about this one.

Re: [Zope-dev] ZEO cache instrumentation -- any takers?

2002-10-04 Thread Toby Dickenson
On Friday 04 Oct 2002 1:18 pm, Guido van Rossum wrote: To make it worse when this is sometimes done for a large stretch of code, even though there are only a few specific spots where the exception is expected. The idiom of putting this long stretch of code into and 'else' block after the

Re: [Zope-dev] form variables and **kw

2002-10-04 Thread Florent Guillaume
Oliver Bleutgen [EMAIL PROTECTED] wrote: def return_vars(self, var=None, **kw): return var: %s, kw: %s % (var,kw) Is it correct that any passed form variable besides var will get lost, i.e. that ZPublisher will _not_ marshall the other variables into the method call? Very often,

Re: [Zope-dev] ZEO cache instrumentation -- any takers?

2002-10-04 Thread Chris McDonough
On Fri, 2002-10-04 at 08:21, Guido van Rossum wrote: What would be nice is a way to define in Python a kind of exception that is not caught by bare except: statements but only by except SpecificClass: statements. Not quite an uncatchable exception, but one that is caught only by except

[Zope-dev] Sýnýrsýz içerik umvg

2002-10-04 Thread Maximus Ozdemir
Ensest siteler - En son videolar - Yüksek kalite resimler Sýnýrsýz porno arþivi yenilendi: Onlarca film ve fotoðraf Normal internet baðlantýnýzdan 10 kat hýzlý bir baðlantýyla, videolarý kendi bilgisayarýnýzdan izlediðiniz gibi izlemek veya aklýnýza gelebilecek her kategoride binlerce

Re: [Zope-dev] ZEO cache instrumentation -- any takers?

2002-10-04 Thread Chris Withers
Guido van Rossum wrote: A while ago I announced a new ZEO cache instrumentation feature, and asked if anyone was interested in enabling this instrumentation in their site. I got exactly zero responses... :-( I'd like to repeat the offer. From the instrumentation data, it is easy to

Re: [Zope-dev] ZEO cache instrumentation -- any takers?

2002-10-04 Thread Guido van Rossum
Have you tried clearing your cache after reverting the ClientCache.py change? Are you sure you didn't use the ZEO2 ClientCache.py with a ZEO1 installation or vice versa? --Guido van Rossum (home page: http://www.python.org/~guido/) ___ Zope-Dev

[Zope-dev] MailHost.py does not set the Date header, who's bug?

2002-10-04 Thread Craeg K Strong
Hello: I have noticed that all of my notifications on page edits in my ZWiki are dated year=1969. This happens because there is no Date header in the email message sent from ZWiki (version 0.10) The MailHost product that comes with Zope 2.5.1 does not add a Date header to mail messages. My

[Zope-dev] Correct Usage of Page Templates

2002-10-04 Thread Brian R Brinegar
Good Day, I'm having trouble grasping the complete usage of Page Templates. I understand the beauty of TAL and METAL. I have say a hundred secretaries that use WebDAV clients to create and edit content. Currently if one of them creates new content in say MS Word and drags it on to the Zope

Re: [Zope-dev] I smell commercial interest: PLOPE

2002-10-04 Thread Nils Kassube
Andy McKay [EMAIL PROTECTED] writes: We thought Plop was a better name that Plope btw ;) This would only cause confusion with Plob. All the good names are already taken :-) http://lki-www.informatik.uni-hamburg.de/~kirschke/diplom/ ___ Zope-Dev

[Zope-dev] bare exceptions

2002-10-04 Thread Leonardo Rochael Almeida
On Fri, 2002-10-04 at 00:13, Casey Duncan wrote: As much as I try to avoid them (especially in Zope code), they are sometimes necessary because you simply don't know what exceptions might be raised from inside Python or the standard libs. Besides, even if you stamped it out people will

Re: [Zope-dev] bare exceptions

2002-10-04 Thread Leonardo Rochael Almeida
On Fri, 2002-10-04 at 16:37, Leonardo Rochael Almeida wrote: I'm testing a fix for the TALES case along the lines of what Casey sugested and will report back with results. And here it is. TALES actually had a slot for my change, go figure :-) as for PluginIndex/common/UnIndex.py, I'd like

Re: [Zope-dev] bare exceptions

2002-10-04 Thread Leonardo Rochael Almeida
On Fri, 2002-10-04 at 17:58, Leonardo Rochael Almeida wrote: On Fri, 2002-10-04 at 16:37, Leonardo Rochael Almeida wrote: I'm testing a fix for the TALES case along the lines of what Casey sugested and will report back with results. And here it is. [...] BTW, the _nocatch that I

Re: [Zope-dev] bare exceptions

2002-10-04 Thread Shane Hathaway
Leonardo Rochael Almeida wrote: I'm testing a fix for the TALES case along the lines of what Casey sugested and will report back with results. Leo, This is a good thing to work on but you really should work on the trunk. The TALES exception handling was redone after Zope 2.5. Exceptions