Matthias Bussonnier <bussonniermatth...@gmail.com> added the comment:

In IPython we use `prompt_toolkit`  which does already provide a async readline 
alternative.

Also have a look at 
https://github.com/ipython/ipython/blob/320d21bf56804541b27deb488871e488eb96929f/IPython/core/interactiveshell.py#L121-L150

Seem to be equivalent to what you aare trying to do with updating your locals 
here 
https://github.com/pmp-p/aioprompt/blob/93a25ea8753975be6ed891e8d45f22db91c52200/aioprompt/__init__.py#L78-L94

It just sets the function to not create a new local scope

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue34616>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to