Re: gdbm dying wierdly

2005-08-27 Thread Seth Nielson
Nevermind. The problem wasn't in gdbm. I had "exception" in stead of "Exception" in the try-except statement. -- SethNOn 8/27/05, Seth Nielson <[EMAIL PROTECTED]> wrote: Hi guys. I'm using a python script as a redirector for Squid. My python script uses gdbm

gdbm dying wierdly

2005-08-27 Thread Seth Nielson
Hi guys. I'm using a python script as a redirector for Squid. My python script uses gdbm and exhibits some weird behavior. 1. If I run the script stand-alone, it loads the gdbm database file just fine. 2. If the script is launched from squid, when it tries to load the gdbm database, it dies WITHO

Re: A replacement for lambda

2005-07-30 Thread Seth Nielson
of saying, "don't do this now". That is why I use lambda. -- Seth Nielson On 7/30/05, Reinhold Birkenfeld <[EMAIL PROTECTED]> wrote: > Stefan Rank wrote: > > on 30.07.2005 10:20 Paolino said the following: > >> why (x**2 with(x))<(x**3 with(x)) is not

Help with Asyncore

2005-07-29 Thread Seth Nielson
designed for channel-internal buffers. Should I also overwrite "send" and have the data appended to a buffer? If not, how should writable and handle_write be implemented? I'm not sure what to do here... Thank you in advance, -- Seth Nielson -- http://mail.python.org/mailman/listinfo/python-list