[OS X 10.5] hitting TAB inserts ./ in interactive mode ?
Nik Krumm
nkrumm at gmail.com
Fri Sep 17 19:10:39 EDT 2010
Hi all,
Thanks for your help. I installed python 2.7 on my Mac OS X 10.5.8
machine:
nik$ python
Python 2.7 (r27:82508, Jul 3 2010, 21:12:11)
[GCC 4.0.1 (Apple Inc. build 5493)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
and now, when I hit TAB or paste in a code snippet with tabs in them,
the interpreter tries to autocomplete a path, or inserts "./" if the
line is blank (just as readline would in the shell environment). It
does *not* try to autocomplete function (as readline would in python--
importing readline does turn on this functionality). And it does *not*
insert a tab, as I would like it to!
If i start my old python 2.5 which came with the OS, this is not a
problem.
I've tried setting a PYTHONIOENCODING, but that doesn't seem to be
doing the job.
Any ideas? Thanks in advance.
~Nik
More information about the Python-list
mailing list