Message224338
sys.stdin.readline() never delegates to GNU readline. The REPL calls GNU readline directly. There's clearly some condition that determines whether to call GNU readline or sys.stdin.readline, but it may not correspond to what you want (e.g. it may just test whether FD 0 is a tty). Can you find in the CPython source code where this determination is made? |
|
Date |
User |
Action |
Args |
2014-07-30 18:31:53 | gvanrossum | set | recipients:
+ gvanrossum, brett.cannon, georg.brandl, ncoghlan, pitrou, vstinner, benjamin.peterson, eric.araujo, tshepang, Drekin, steve.dower |
2014-07-30 18:31:53 | gvanrossum | set | messageid: <1406745113.63.0.904086028995.issue17620@psf.upfronthosting.co.za> |
2014-07-30 18:31:53 | gvanrossum | link | issue17620 messages |
2014-07-30 18:31:53 | gvanrossum | create | |
|