Apache Mod-Python - Re: mod_python 3.2.3b available for testing

This is Interesting: Free IT Magazines  
Home > Archive > Apache Mod-Python > October 2005 > Re: mod_python 3.2.3b available for testing





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: mod_python 3.2.3b available for testing
Nick

2005-10-25, 5:46 pm

This may be a Python Windows thing, but it shows up in mod_python:

When using util.FieldStorage on multipart/form-data encoded POST data
containing a file, in Linux a field.file will yield a file object (actually
a subclass of file), but in Windows you have to get the file object through
field.file.file. This probably has something to do with the fact that
Windows' implementation of tempfile.TemporaryFile is different from Linux,
but it should be made consistent in the mod_python interface.

Nick

Jim Gallacher wrote:
> A new mod_python 3.2.3 beta tarball is now available for testing. A
> Windows binary is also available.
>
> This release is similar to 3.2.2b but fixes a couple a small issues
> where a non-threaded Python is used.
>
> Here are the rules:
>
> In order for a file to be officially announced, it has to be tested by
> developers on the dev list. Anyone subscribed to this list can (and
> should feel obligated to :-) ) test it, and provide feedback *to _this_
> list*! (Not the mod_python@modpython.org list, and preferably not me
> personally).
>
> The files are (temporarily) available here:
>
> http://www.modpython.org/dist/
>
> Please download it, then do the usual
>
> $ ./configure --with-apxs=/wherever/it/is
> $ make
> $ (su)
> # make install
>
> Then (as non-root user!)
>
> $ cd test
> $ Python test.py
>
> And see if any tests fail. If they pass, send a +1 to the list, if they
> fail, send the details (the versions of OS, Python and Apache, the test
> output, and suggestions, if any).
>
> Thank you,
> Jim Gallacher



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com