Your message dated Sat, 26 Jul 2014 15:24:40 +0200
with message-id <[email protected]>
and subject line Re: Bug#750458: python3: Shell interactive mode with TAB lost
for line start
has caused the Debian Bug report #750458,
regarding python3: Shell interactive mode with TAB lost for line start
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
750458: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=750458
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3
Version: 3.4.1~rc1-1
Severity: normal
Unlike python2, python3's shell interactive mode has interesting TAB
completion feature. That's nice but this TAB expansion feature seems to
kill TAB input at the start of line for indentation.
TAB line completion should be limitted to active only when previous
character is not TAB/SPACE.
Here is what it looks like:
| $ python
| Python 2.7.7rc1 (default, May 21 2014, 11:15:30)
| [GCC 4.8.2] on linux2
| Type "help", "copyright", "credits" or "license" for more information.
| >>> if 1 in [1]:
| ... print('TAB is used to indent')
| ...
| TAB is used to indent
| >>>
| $ python3
| Python 3.4.1 (default, May 21 2014, 20:38:31)
| [GCC 4.8.2] on linux
| Type "help", "copyright", "credits" or "license" for more information.
| >>> if 1 in [1]:
| ... print('TAB not working, indented with a space')
| ...
| TAB not working, indented with a space
| >>>
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.14-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages python3 depends on:
ii dh-python 1.20140511-1
ii libpython3-stdlib 3.4.1~rc1-1
ii python3-minimal 3.4.1~rc1-1
ii python3.4 3.4.1-1
python3 recommends no packages.
Versions of packages python3 suggests:
pn python3-doc <none>
ii python3-tk 3.3.4-1
-- no debconf information
--- End Message ---
--- Begin Message ---
Am 03.06.2014 16:33, schrieb Osamu Aoki:
> Package: python3
> Version: 3.4.1~rc1-1
> Severity: normal
>
> Unlike python2, python3's shell interactive mode has interesting TAB
> completion feature. That's nice but this TAB expansion feature seems to
> kill TAB input at the start of line for indentation.
>
> TAB line completion should be limitted to active only when previous
> character is not TAB/SPACE.
>
> Here is what it looks like:
>
> | $ python
> | Python 2.7.7rc1 (default, May 21 2014, 11:15:30)
> | [GCC 4.8.2] on linux2
> | Type "help", "copyright", "credits" or "license" for more information.
> | >>> if 1 in [1]:
> | ... print('TAB is used to indent')
> | ...
> | TAB is used to indent
> | >>>
>
>
> | $ python3
> | Python 3.4.1 (default, May 21 2014, 20:38:31)
> | [GCC 4.8.2] on linux
> | Type "help", "copyright", "credits" or "license" for more information.
> | >>> if 1 in [1]:
> | ... print('TAB not working, indented with a space')
> | ...
> | TAB not working, indented with a space
> | >>>
this is done by intent. see http://bugs.python.org/issue5845
to remove this behaviour, use this in sitecustomize or usercustomize:
try:
del sys.__interactivehook__
except AttributeError:
pass
--- End Message ---