readline.parse_and_bind('\C-n: complete')
Makes it Ctrl-n do the completion, like vim.
On Apr 2, 7:59 am, Steven D'Aprano wrote:
> Does anyone use the tab-completion recipe in the docs?
>
> http://docs.python.org/library/rlcompleter.html#module-rlcompleter
>
> suggests using this to enable tab-c
It looks like there may be a bug if you were expecting t to be some
object other than a dict. You can apparently contact the authour
here:
http://www.briggs.net.nz/log/contact/
On Feb 18, 2:16 pm, "Neil" wrote:
> Hello
>
> Sorry if this is not an appropriate newsgroup for this problem. I am ver
shal.c in
the Python2.5.4 source. Looks like the actual reading of the file is
done in the marshal.c function PyMarshal_ReadLastObjectFromFile. It
is read sequentially using a small buffer on the heap.
-sjbrown
--
http://mail.python.org/mailman/listinfo/python-list
Can someone describe the details of how Python loads modules into
memory? I assume once the .py file is compiled to .pyc that it is
mmap'ed in. But that assumption is very naive. Maybe it uses an
anonymous mapping? Maybe it does other special magic? This is all
very alien to me, so if someone