[issue24727] Expand readline module

2015-08-02 Thread Barney Stratford
Barney Stratford added the comment: You're absolutely right. I had elided the details of the locking from my original use case, but now I look at it again, I see that even what I did have wasn't enough. I've made a new patch that takes a lock properly. A non-blocking acquisition of the lock w

[issue24727] Expand readline module

2015-08-01 Thread Martin Panter
Martin Panter added the comment: Suggest you integrate your rl_forced_update_display() wrapper and documentation with the existing patches in Issue 23067. Regarding the reading_line() flag, your use case seems a bit racy to me. Can’t the other thread start reading a line after reading_line() r

[issue24727] Expand readline module

2015-07-27 Thread R. David Murray
Changes by R. David Murray : -- versions: -Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue24727] Expand readline module

2015-07-26 Thread Ned Deily
Changes by Ned Deily : -- nosy: +twouters ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue24727] Expand readline module

2015-07-26 Thread Barney Stratford
Changes by Barney Stratford : -- components: +Extension Modules -Library (Lib) ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue24727] Expand readline module

2015-07-26 Thread Barney Stratford
New submission from Barney Stratford: I have a use case where a daemon thread needs to write periodic updates to sys.stdout. I'd prefer it not to print in the middle of a command being typed. In order to achieve this, I have added to the readline module. There is now a function to determine wh