New submission from Antoine Pitrou <pit...@free.fr>:

Modules/_io/fileio.c assumes that read() and write() allow a Py_ssize_t length, 
but under Windows the length is an int, limiting chunk size to 2GB.

It should be easy enough to read or write in multiple chunks, although testing 
might be difficult.

----------
components: Extension Modules, Windows
messages: 113974
nosy: pitrou
priority: normal
severity: normal
status: open
title: FileIO not 64-bit safe under Windows
type: behavior
versions: Python 2.7, Python 3.1, Python 3.2

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9611>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to