Message249154
| Author |
Drekin |
| Recipients |
Drekin, martin.panter, r.david.murray |
| Date |
2015年08月25日.18:57:54 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1440529074.58.0.839971475495.issue24829@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Behavior of which readline? GNU readline? Note that it is only one particular implmentation on one particular platform while Python should be as multiplatform as possible / viable.
And what behavior it is? More precisely, what incorrect behavior in Linux would it bring if the condition in
if (!isatty (fileno (sys_stdin)) || !isatty (fileno (sys_stdout)))
rv = PyOS_StdioReadline (sys_stdin, sys_stdout, prompt);
else
rv = (*PyOS_ReadlineFunctionPointer)(sys_stdin, sys_stdout, prompt);
was replaced by `!isatty (fileno (sys_stdin))`? |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2015年08月25日 18:57:54 | Drekin | set | recipients:
+ Drekin, r.david.murray, martin.panter |
| 2015年08月25日 18:57:54 | Drekin | set | messageid: <1440529074.58.0.839971475495.issue24829@psf.upfronthosting.co.za> |
| 2015年08月25日 18:57:54 | Drekin | link | issue24829 messages |
| 2015年08月25日 18:57:54 | Drekin | create |
|