This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 pitrou
收信人 Drekin, benjamin.peterson, brett.cannon, eric.araujo, georg.brandl, gvanrossum, ncoghlan, pitrou, steve.dower, tshepang, vstinner
日期 2014-07-30.15:29:15
SpamBayes Score -1.0
Marked as misclassified
Message-id <1406734156.26.0.317500053452.issue17620@psf.upfronthosting.co.za>
In-reply-to
内容
Yes, it is. GNU readline will use a FILE*. Apparently, one can customize this behaviour, see http://cnswww.cns.cwru.edu/php/chet/readline/readline.html#SEC25

"""Variable: rl_getc_func_t * rl_getc_function
    If non-zero, Readline will call indirectly through this pointer to get a character from the input stream. By default, it is set to rl_getc, the default Readline character input function (see section 2.4.8 Character Input). In general, an application that sets rl_getc_function should consider setting rl_input_available_hook as well. """

It is not obvious how that interacts with special keys, e.g. arrows.
历史
日期 用户 动作 参数
2014-07-30 15:29:16pitrou修改recipients: + pitrou, gvanrossum, brett.cannon, georg.brandl, ncoghlan, vstinner, benjamin.peterson, eric.araujo, tshepang, Drekin, steve.dower
2014-07-30 15:29:16pitrou修改messageid: <1406734156.26.0.317500053452.issue17620@psf.upfronthosting.co.za>
2014-07-30 15:29:16pitrou链接issue17620 messages
2014-07-30 15:29:15pitrou创建