I think he is talking about
http://bpython-interpreter.org/Which is a lightweight python console with auto completion and etc.,
To support this, add an option in gluon/widget.py for additional command line switch
And then in gluon/shell.py (around line no: 204 add option for bPython)
import bpython
bpython.embedd() #pass-in appropriate parameters
I haven't looked exactly how we can make use of bpython from within our own application.
But it's something like that.
May be I can provide a patch for this.