STINNER Victor added the comment: tracemalloc_track_fd.py: Proof-of-concept to track file descriptors using monkey-patching on os.open() and os.close(). It's just to show to the API can be used in Python, I don't think that it's very useful to track where file descriptors are allocated.
---------- Added file: http://bugs.python.org/file42289/tracemalloc_track_fd.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26530> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com