wolfgang kuehn <wolfgang-ku...@decatur.de> added the comment:
The second alternative (wrapping the OS handle in a file descriptor) works like a charm, and is the less invasive workaround code-wise. Thanks for the magic, which I must respect as such :-) Still I feel that this is a bug since (a) it shows an unexpected behaviour, and (b) it fails to abstract away the operating system. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45237> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com