New submission from Albert Zeyer <alb...@googlemail.com>:

In Parser/myreadline.c PyOS_Readline uses a single lock (`_PyOS_ReadlineLock`). 
I guess it is so that we don't have messed up stdin reads. Or are there other 
technical reasons?

However, it should work to call this function from multiple threads with 
different/independent `sys_stdin` / `sys_stdout`.

----------
messages: 143229
nosy: Albert.Zeyer
priority: normal
severity: normal
status: open
title: PyOS_Readline uses single lock
versions: Python 2.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12861>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to