On Wed, May 19, 2021 at 11:17 AM Steven D'Aprano <st...@pearwood.info> wrote: > It would be nice if it had an input hook as well, so that Martin could > customise "1/2" to "Fraction(1, 2)". I think that would be a much more > useful enhancement than ratiofloat. >
Doesn't it? Hmm. Where does readline hook in? Maybe that'd be the place to look. ChrisA _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/3QNHVMYYLB4UZIPXZHKOFAO2GZR76JYD/ Code of Conduct: http://python.org/psf/codeofconduct/