[issue7916] zipfile.ZipExtFile passes long to fileobj.read()

2010-02-12 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: This was fixed with issue7249 and will be available with 2.6.5 -- nosy: +amaury.forgeotdarc resolution: -> out of date status: open -> closed ___ Python tracker

[issue7916] zipfile.ZipExtFile passes long to fileobj.read()

2010-02-12 Thread Matt Joiner
New submission from Matt Joiner : When reading from the fileobj passed in it's constructor, zipfile.ZipExtFile passes a long into fileobj.read(). This is not normally an issue, except in io.BytesIO, for which the source is in C, and throws TypeError for type(bufsize) != int. >From what I can