On Wed, May 19, 2021 at 11:17 AM Steven D'Aprano <[email protected]> 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 -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/3QNHVMYYLB4UZIPXZHKOFAO2GZR76JYD/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to