[issue21199] Python on 64-bit Windows uses signed 32-bit type for read length

Larry Hastings report at bugs.python.org
Tue Apr 15 22:15:49 CEST 2014


Larry Hastings added the comment:

I don't think we can fix this.  file_read returns a str, and str can have at most SSIZE_T_MAX entries.  So, file_read could read size_t characters, but it couldn't return them.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21199>
_______________________________________


More information about the Python-bugs-list mailing list