[issue10897] UNIX mmap unnecessarily dup() file descriptor

Antoine Pitrou report at bugs.python.org
Fri Jun 10 18:15:26 CEST 2011


Antoine Pitrou <pitrou at free.fr> added the comment:

Well, I agree on the principle, but it is a change in behaviour and would probably break some user code...
Perhaps by adding some new argument to the mmap constructor? (dup_fd = True)

----------

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


More information about the Python-bugs-list mailing list