Марк Коренберг 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 <rep...@bugs.python.org>
<http://bugs.python.org/issue26037>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to