[issue32941] mmap should expose madvise()

Antoine Pitrou report at bugs.python.org
Mon May 27 12:53:22 EDT 2019


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

Josh, sorry, I hadn't seen your message.

Those are low-levels operations, so I don't know if it makes sense to implement madvise() in terms of PrefetchVirtualMemory(), or expose a separate wrapper to PrefetchVirtualMemory().

One complication is that we currently don't expose public wrappers over Windows API functions (there's a private _winapi module).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32941>
_______________________________________


More information about the Python-bugs-list mailing list