[ftputil] ftputil 2.4 with python 2.6.1
Stefan Schwarzer
sschwarzer at sschwarzer.net
Thu Apr 9 07:09:36 CEST 2009
Hi Peter,
I've entered the issue at
http://ftputil.sschwarzer.net/trac/ticket/32
You can edit it if you log in as user ftputiluser with password
ftputil (this is for spam prevention).
On 2009-04-09 01:44, Peter Stirling wrote:
> After further inspection it appears that the windows python2.6
> install doesn't include a dll of the compiled heapq module
>
> /usr/lib/python2.5/lib-dynload/_heapq.so, on ubuntu python2.5
>
> However when I tried to test the pure python version it decided
> to work, so there must be a bad dll somewhere.
>
> To test this I made a copy of the pure python heapq.py as
> heapq26.py, and commented out the code that replaces
> pure-python with the c versions (line 313). I then altered
> ftputil/lrucache.py(line 43) to import from this new module,
> and when I run the test program I no longer get the exception.
Thanks for working further on the matter! :-) This makes my life
a bit easier. By now, I also had actually suspected the Python
installation itself. I'll add more information to the bug tracker
after more thorough investigation. (I'd like to add some code to
lrucache to see more clearly if my assumptions from the debugging
session are true.)
Best regards,
Stefan
More information about the ftputil
mailing list