[issue26037] Crash when reading sys.stdin.buffer in a daemon thread
Марк Коренберг
report at bugs.python.org
Fri Jan 8 06:49:23 EST 2016
Марк Коренберг added the comment:
16.2.4.3. Multi-threading
FileIO objects are thread-safe to the extent that the operating system calls (such as read(2) under Unix) they wrap are thread-safe too.
Binary buffered objects (instances of BufferedReader, BufferedWriter, BufferedRandom and BufferedRWPair) protect their internal structures using a lock; it is therefore safe to call them from multiple threads at once.
>>>> TextIOWrapper objects are not thread-safe. <<<<
Maybe problem here?
----------
nosy: +mmarkk
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26037>
_______________________________________
More information about the Python-bugs-list
mailing list