Re: More efficient StringField and Field classes

2005-11-25 Thread Mike Looijmans
Is there a way that I can run the unit tests on a Windows systems? I have plenty of Linux boxes here, but I'd have to build and install apache in a private corner just to run the tests. Anyway, I see where the problem is, in tests.py it does: def util_fieldstorage(req): from mod_python

Re: More efficient StringField and Field classes

2005-11-24 Thread Mike Looijmans
It has been awhile, but I finally made the patch. Advice and feedback is welcome. What it does: - Simplifies the creation of StringField objects. This was already marked as a TODO in the 3.2.5b code. - Does not create a file object (cStringIO) for each and every field. - FieldStorage.get() will

Re: More efficient StringField and Field classes

2005-11-24 Thread Jim Gallacher
Hi Mike, I don't have time to dig into this tonight, but your patch causes one of the unit tests to fail. FAIL: test_util_fieldstorage (__main__.PerRequestTestCase) -- Traceback (most recent call last): File test.py, line