Alan Justino added the comment:
Issued a related PR (https://github.com/python/cpython/pull/8451) to allow
SpooledTemporaryFile to propagate `readinto` calls to TemporaryFile, BytesIO or
StringIO.
Of this ones, only StringIO will fail
Alan Justino added the comment:
It affects SpooledTemporaryFile too. Because it switches between StringIO,
BytesIO and TemporaryFile internally. Only StringIO have not this interface.
Discovered trying to `pickle.load` a remote storage file.
Please reopen.
--
nosy: +alanjds
Alan Justino added the comment:
Seems to affect 2.7 too.
--
nosy: +alanjds
versions: +Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3566
Alan Justino alan.just...@yahoo.com.br added the comment:
@haypo: Because it affects version 2.7 too.
@Victor: Even since we will not backport any modules to Python 2.7, is not
worth to sign that this affects it too? Even wontfix or rejected, it affects,
does not?
Have I made something wrong
Alan Justino alan.just...@yahoo.com.br added the comment:
(noticed a typo at the start of my last msg: @Victor should be @brett.cannon)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9528
Changes by Alan Justino alan.just...@yahoo.com.br:
--
nosy: +alanjds
versions: +Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9528
Alan Justino alan.just...@yahoo.com.br added the comment:
FWIW: I don't know if it changes anything, but when deploying Django projects
on some clients who uses Windows as server, I'm using this piece of code to
workarround this issue:
## Fixes IOError: [Errno 9] Bad file descriptor when