Warning, large parts of source code are still undocumented till we include the automatic generation of this documentation by adding in restructed text comments.
Function to log anything in x to /tmp/bpython.log
Not documented yet.
Parameters: | signature – string |
---|---|
Return type: | dictionary |
Functions taking default arguments that are references to other objects whose str() is too big will cause breakage, so we swap out the object itself with the name it was referenced with in the source by parsing the source itself !
Take the curses Repl on init and assume it provides a get_key method which, fortunately, it does.”“”
Spoof into thinking this is a tty
Return type: | Boolean |
---|---|
Returns: | True |
I can’t think of any reason why anything other than readline would be useful in the context of an interactive interpreter so this is the only one I’ve done anything with. The others are just there in case someone does something weird to stop it from blowing up.”“”
Return type: | string |
---|