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.

Author pitrou
Recipients Drekin, benjamin.peterson, brett.cannon, eric.araujo, georg.brandl, gvanrossum, ncoghlan, pitrou, steve.dower, tshepang, vstinner
Date 2014-07-30.15:29:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1406734156.26.0.317500053452.issue17620@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2014-07-30 15:29:16pitrousetrecipients: + pitrou, gvanrossum, brett.cannon, georg.brandl, ncoghlan, vstinner, benjamin.peterson, eric.araujo, tshepang, Drekin, steve.dower
2014-07-30 15:29:16pitrousetmessageid: <1406734156.26.0.317500053452.issue17620@psf.upfronthosting.co.za>
2014-07-30 15:29:16pitroulinkissue17620 messages
2014-07-30 15:29:15pitroucreate