Why does Python want to read /proc/meminfo

dieter dieter at handshake.de
Sat May 6 01:51:25 EDT 2017


Ian Pilcher <arequipeno at gmail.com> writes:
> ...
> Does anyone know why Python is trying to access this file, or what
> functionality I might be missing if I don't allow the access?

You could fetch the Python source core and search it for a reference
to "meminfo".

Personally, I doubt that you will find a reference.
Instead, I assume that the reference comes from the C runtime library.
It might hepl optimize memory management to know about "meminfo" details.




More information about the Python-list mailing list