Thomas Waldmann wrote:
> After googling a bit and finding other python code having the same
> problem, I did this (slightly different) fix:
>
> http://hg.moinmo.in/moin/1.9/rev/c37ea194d626
>
> If you could confirm that this works for you, too, that would be
> great. :)
Yes, that works.
Jim
--
> But
>
> mod = __import__(mod, None, None, ['WSGIServer'])
>
> works - and presumably would continue to work with 2.5.
Thanks for finding that out.
After googling a bit and finding other python code having the same
problem, I did this (slightly different) fix:
http://hg.moinmo.in/moin/1.9
Thomas Waldmann wrote:
> On Tue, 2009-07-28 at 15:08 +0100, Jim Wight wrote:
>> 1.9.0beta3 is not compatible with Python 2.4. I'm getting this from
>> run_server
>> in flup_frontend.py:
>>
>> mod = __import__(mod, fromlist=['WSGIServer'])
>> TypeError: __import__() takes no keyword arguments
On Tue, 2009-07-28 at 15:08 +0100, Jim Wight wrote:
> 1.9.0beta3 is not compatible with Python 2.4. I'm getting this from
> run_server
> in flup_frontend.py:
>
> mod = __import__(mod, fromlist=['WSGIServer'])
> TypeError: __import__() takes no keyword arguments
> Premature end of script hea
> 1.9.0beta3 is not compatible with Python 2.4. I'm getting this from
> run_server
> in flup_frontend.py:
>
> mod = __import__(mod, fromlist=['WSGIServer'])
> TypeError: __import__() takes no keyword arguments
> Premature end of script headers: moin.cgi
>
> I gather from http://docs.pytho
1.9.0beta3 is not compatible with Python 2.4. I'm getting this from run_server
in flup_frontend.py:
mod = __import__(mod, fromlist=['WSGIServer'])
TypeError: __import__() takes no keyword arguments
Premature end of script headers: moin.cgi
I gather from http://docs.python.org/library/functi