[issue12556] Disable size checks in mmap.mmap()

Ross Lagerwall report at bugs.python.org
Fri Jul 22 07:11:28 CEST 2011


Ross Lagerwall <rosslagerwall at gmail.com> added the comment:

> That's what I thought, it's really uncommon: in that case, I'm
> reluctant to making such a change, for the reason explained above.
> Ross, Victor?

Even if Linux did accept a a length of 0 (which it doesn't since 2.6.12), what would be the point? Wouldn't you be mapping *nothing*?

Yeah, I'm against this change.

----------

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


More information about the Python-bugs-list mailing list