R. David Murray added the comment: Yes, in my mind open(os.devnull) is the "obvious way" to do this. ---------- nosy: +r.david.murray _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue28864> _______________________________________