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

Matt Mackall report at bugs.python.org
Thu Apr 10 18:58:53 CEST 2014


New submission from Matt Mackall:

Python's file_read uses an 'l' type to parse its args which results in a 31-bit size limit on reads on 64-bit Windows. It should instead use an ssize_t.

Related Mercurial bug:

http://bz.selenic.com/show_bug.cgi?id=4215

----------
components: IO
messages: 215893
nosy: Matt.Mackall, larry, ncoghlan
priority: normal
severity: normal
status: open
title: Python on 64-bit Windows uses signed 32-bit type for read length
type: behavior
versions: Python 2.7

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


More information about the Python-bugs-list mailing list