Python interactive interpreter does not indent with tabs, tries to tab-complete
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python3.4 (Debian) |
Fix Released
|
Unknown
|
|||
python3.4 (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Using the python3 interactive interpreter, I can not use tabs to indent like I could on previous versions of Ubuntu (13.10 was what I was using before, now I'm using 14.04).
When I try to indent on the python interpreter command line, it simply does nothing the first time I press the tab key. The second time I press it, it shows a bunch of autocomplete suggestions.
For example
>>> if (True):
... <tab>print("true!")
File "<stdin>", line 2
print("true!")
^
IndentationError: expected an indented block
Could this be related to http://
I also found http://
>>> if (True):
... <Ctrl-V>
...
true
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: python3 3.4.0-0ubuntu2
ProcVersionSign
Uname: Linux 3.13.0-24-generic x86_64
NonfreeKernelMo
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
CurrentDesktop: Unity
Date: Sat May 3 11:36:57 2014
SourcePackage: python3-defaults
UpgradeStatus: Upgraded to trusty on 2014-04-19 (14 days ago)
affects: | python3-defaults (Ubuntu) → python3.4 (Ubuntu) |
Changed in python3.4 (Debian): | |
status: | Unknown → Fix Released |
Status changed to 'Confirmed' because the bug affects multiple users.