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
<http://bugs.python.org/issue3566>
___
___
Alan Justino added the comment:
(noticed a typo at the start of my last msg: @Victor should be @brett.cannon)
--
___
Python tracker
<http://bugs.python.org/issue9
Alan Justino 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? Sorry to be so newbie
Changes by Alan Justino :
--
nosy: +alanjds
versions: +Python 2.7
___
Python tracker
<http://bugs.python.org/issue9528>
___
___
Python-bugs-list mailing list
Unsub
Alan Justino 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 in py