[issue1539381] Add readinto method to StringIO and cStringIO

2018-07-24 Thread Alan Justino
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

[issue1539381] Add readinto method to StringIO and cStringIO

2018-07-24 Thread Alan Justino
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

[issue3566] httplib persistent connections violate MUST in RFC2616 sec 8.1.4.

2013-12-19 Thread Alan Justino
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

[issue9528] Add pure Python implementation of time module to CPython

2011-08-10 Thread Alan Justino
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

[issue9528] Add pure Python implementation of time module to CPython

2011-08-10 Thread Alan Justino
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

[issue9528] Add pure Python implementation of time module to CPython

2011-08-09 Thread Alan Justino
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

[issue706263] print raises exception when no console available

2010-01-08 Thread Alan Justino
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