[issue12021] mmap.read requires an argument

Petri Lehtinen report at bugs.python.org
Mon Jun 6 20:29:12 CEST 2011


Petri Lehtinen <petri at digip.org> added the comment:

> I think duplicating it is fine, since the code is probably simple anyway

Added a new patch. I duplicated the None converting logic in _io/_iomodule.c to mmapmodule.c, changed the doc to say "read([n])", and expanded the test cases a bit.

----------

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


More information about the Python-bugs-list mailing list