This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2010年11月20日 20:47 by Daniel.Harper, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Messages (2) | |||
|---|---|---|---|
| msg121766 - (view) | Author: Daniel Harper (Daniel.Harper) | Date: 2010年11月20日 20:47 | |
Hi there. I recently downloaded the python 2.7 installer from the python website and installed it on my Mac. When I run python2.7 in interactive mode, the tab key doesn't seem to behave as how it did in 2.6. For example >> def helloWorld(name): ... ./ File "<stdin>", line 2 ./ ^ IndentationError: expected an indented block When you hit tab it seems to think I want to browse the contents of the current directory I'm in, rather than placing a tab character so I can quickly use python in interactive mode to prototype stuff. I'd imagine it's something to do with GNU readline, but I'm pretty sure I have this installed |
|||
| msg121787 - (view) | Author: Ned Deily (ned.deily) * (Python committer) | Date: 2010年11月20日 21:37 | |
The problem you see is with the 2.7 64-/32-bit OS X installer and is documented and will be fixed with the patch in Issue9907. In the meantime, a workaround is to delete the installed 2.7 framework and install the 32-bit-only version which is built with GNU readline. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:09 | admin | set | github: 54681 |
| 2010年11月20日 21:37:20 | ned.deily | set | status: open -> closed nosy: + ned.deily messages: + msg121787 superseder: interactive mode TAB does not insert on OS X built with editline instead of GNU readline resolution: duplicate |
| 2010年11月20日 20:47:33 | Daniel.Harper | create | |