ProgVal <[email protected]> added the comment:
Same result on all tested versions (2.5 -> 2.7) :
------------------------------------------
import urllib2
import tarfile
tarfile.open(fileobj=open('/home/progval/Downloads/GoodFrench.tar'), mode='r:')
# Works
tarfile.open(fileobj=urllib2.urlopen(urllib2.Request('http://plugins.supybot-fr.tk/GoodFrench.tar')),
mode='r:') # Fails
------------------------------------------
I don't understand, because /home/progval/Downloads/GoodFrench.tar is the same
file...
I don't know if I have the skills to do the patch, I use Python for less than 9
months...
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue10362>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com