[issue13788] os.closerange optimization

Ronald Oussoren report at bugs.python.org
Tue Jul 9 12:53:29 CEST 2013


Ronald Oussoren added the comment:

Two small technical comments:

1) I'd add a configure or compile-time check to determine if the procfs
   interface might be available. I don't like probing for features that
   you know are not available.

2) MacOSX has simular functionality using /dev/fd instead of
   /proc/${PID}/fd  (and other BSD systems might have this as well)

----------
nosy: +ronaldoussoren

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


More information about the Python-bugs-list mailing list