Issue7249
Created on 2009-11-02 03:50 by ryles, last changed 2009-11-02 21:05 by pitrou.
|
msg94818 - (view) |
Author: Ryan Leslie (ryles) |
Date: 2009-11-02 03:50 |
|
py> StringIO.StringIO("foo").read(long(1))
'f'
py> io.BytesIO("foo").read(long(1))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: integer argument expected, got 'long'
This is known to cause problems when reading zip data from a BytesIO
object with zipfile. See this recent thread on comp.lang.python:
http://groups.google.com/group/comp.lang.python/browse_thread/thread/337c1b8a48e8acae/
|
|
msg94845 - (view) |
Author: Antoine Pitrou (pitrou) |
Date: 2009-11-02 21:05 |
|
I've committed to the 2.6 branch in r76073. 2.7 is actually ok.
Thanks for the report!
|
|
| Date |
User |
Action |
Args |
| 2009-11-02 21:05:08 | pitrou | set | status: open -> closed resolution: fixed messages:
+ msg94845
|
| 2009-11-02 19:19:08 | pitrou | set | priority: normal nosy:
pitrou, ryles versions:
+ Python 2.7 components:
+ IO stage: needs patch |
| 2009-11-02 18:20:25 | georg.brandl | set | assignee: pitrou
nosy:
+ pitrou |
| 2009-11-02 03:50:43 | ryles | create | |
|