Re: [Zope-dev] Two small ZPT suggestions

2003-07-16 Thread Adrian van den Dries
On July 17, Toby Sargeant wrote: > > > ... > ... > ... > > Why bother with the tal:define? Just: ... ... ... which is just a direct translation of the corresponding Python: for row in rows: if row.rowtype=='group': # etc a. -- Adrian van d

[Zope-dev] Two small ZPT suggestions

2003-07-16 Thread Toby Sargeant
Hi, I must preface by saying that I'm relatively new to ZPT, and haven't been using it in the context of Zope. Having said that, however, I think that what follows is still applicable. Two things that have struck me as potentially useful additions have been a syntax for expressing case statements

Re: [Zope-dev] stopping the Version DoS

2003-07-16 Thread Jamie Heilman
Leonardo Rochael Almeida wrote: > I didn't check the sources to see what solution was finally given to the > Version DoS attack, but I have a suggestion. Jim commited a fix, which AFAICT, puts the issue to rest. What his fix does is simply remove the version's db connections from the pool if the

[Zope-dev] WebDAV interoperability event

2003-07-16 Thread Paul Winkler
I just stumbled across this... I think it would be really cool if there was a zope presence. http://www.webdav.org/other/interop03/ -- Paul Winkler http://www.slinkp.com Look! Up in the sky! It's PORPOISE MADE OF BUTTER! (random hero from isometric.spaceninja.com) _

[Zope-dev] stopping the Version DoS

2003-07-16 Thread Leonardo Rochael Almeida
Hi, I didn't check the sources to see what solution was finally given to the Version DoS attack, but I have a suggestion. The problem, IIUC, is that Zope needs to decide whether the Version informaton it's receiving is valid without having access to ZODB data. My suggestion is to disable Versions