[Zope-dev] Re: Strange "Bug" in Scripts (Python) and Python code ...

2002-10-22 Thread Evan Simpson
Joachim Werner wrote: These few lines brought the Zope server (and the Browser I used for testing) to a halt: html = '' for letter in 'ABCDEFGHIJKLMNOPQRSTUVWXYZ': html += '|'.join([html, letter]) return html This computes a string O(2^26) in length. Scripts make very little attempt to pr

[Zope-dev] regression testing python install

2002-10-22 Thread Adam Manock
Slightly of topic I know, but I thought someone here might know... I'm tweaking the python2.1 SRPM from python.org to get it to play nice with RedHat 8.0. Now that I have it compiling nicely, I thought it would be a good idea to fully regression test the resulting python install, especially as we

[Zope-dev] Strange "Bug" in Scripts (Python) and Python code ...

2002-10-22 Thread Joachim Werner
Hi! I just had a very strange problem. I tried some code like this in a Script (Python). The (obvious) error in the code is the html += instead of just html =. These few lines brought the Zope server (and the Browser I used for testing) to a halt: html = '' for letter in 'ABCDEFGHIJKLMNOPQRSTUVWX