Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tab indent no longer works in interpreter #66284

Closed
Azendale mannequin opened this issue Jul 26, 2014 · 6 comments
Closed

Tab indent no longer works in interpreter #66284

Azendale mannequin opened this issue Jul 26, 2014 · 6 comments
Labels
stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error

Comments

@Azendale
Copy link
Mannequin

Azendale mannequin commented Jul 26, 2014

BPO 22086
Nosy @terryjreedy, @pitrou, @ezio-melotti, @bitdancer, @vadmium
Superseder
  • bpo-23441: rlcompleter: tab on empty prefix => insert spaces
  • Files
  • py34.png: on "..." prompt line, when press tag
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2015-06-13.20:07:46.509>
    created_at = <Date 2014-07-26.17:34:20.382>
    labels = ['type-bug', 'library']
    title = 'Tab indent no longer works in interpreter'
    updated_at = <Date 2021-10-23.21:13:03.600>
    user = 'https://bugs.python.org/Azendale'

    bugs.python.org fields:

    activity = <Date 2021-10-23.21:13:03.600>
    actor = 'yaubi'
    assignee = 'none'
    closed = True
    closed_date = <Date 2015-06-13.20:07:46.509>
    closer = 'r.david.murray'
    components = ['Library (Lib)']
    creation = <Date 2014-07-26.17:34:20.382>
    creator = 'Azendale'
    dependencies = []
    files = ['36367']
    hgrepos = []
    issue_num = 22086
    keywords = []
    message_count = 6.0
    messages = ['224081', '224524', '225289', '234911', '235736', '245327']
    nosy_count = 8.0
    nosy_names = ['terry.reedy', 'pitrou', 'ezio.melotti', 'r.david.murray', 'martin.panter', 'Azendale', 'caffhuang', 'Ishan.Khare']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '23441'
    type = 'behavior'
    url = 'https://bugs.python.org/issue22086'
    versions = ['Python 3.4', 'Python 3.5']

    @Azendale
    Copy link
    Mannequin Author

    Azendale mannequin commented Jul 26, 2014

    Please see http://bugs.python.org/issue5845, especially the last two comments: http://bugs.python.org/issue5845#msg215784, which requested that a new bug report be opened for this issue.

    To summarize, the previous bug was to enable tab completion in the interpreter. There was discussion and it was figured out that it could be arranged that tab indentation and completion could work at the same time. (If you are at the start of a line, possibly a "... " prompt line, tab should indent. If you are to the right of any non-whitespace character, then you should tab complete).

    From the other bug:

    "This issue [tab indent] should have gone back to being a release blocker after the alpha release to fix the tab-as-indent issue, but obviously that didn't happen (I forgot about it myself). Please open a new issue requesting a fix for this bug (that tab doesn't work as indent at the ... prompt), referencing the discussion in this issue."

    @Azendale Azendale mannequin added stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error labels Jul 26, 2014
    @terryjreedy
    Copy link
    Member

    This is a *nix issue only, as tab completion is not active on Windows (except with Idle).

    @caffhuang
    Copy link
    Mannequin

    caffhuang mannequin commented Aug 13, 2014

    It happens on my Windows 7 x64, Python 3.4.1, command shell. (IDLE works fine).

    @IshanKhare
    Copy link
    Mannequin

    IshanKhare mannequin commented Jan 28, 2015

    what is the current state of this issue, reading the http://bugs.python.org/issue5845 and its changesets, it seems that all the changes that were made during that issue no longer exists, like:
    fix-5845.diff -> adds a function named enablerlcompleter (as specified in diff) in file Lib/site.py , which i cannot find in current Lib/site.py (https://hg.python.org/cpython/file/1addc4f0f10c/Lib/site.py)

    @vadmium
    Copy link
    Member

    vadmium commented Feb 11, 2015

    Patch at bpo-23441

    @bitdancer
    Copy link
    Member

    In between this issue being opened and that fact being noted on the original issue, bpo-23441 was opened, and I noticed that one and set it to release blocker. That issue has a patch, as noted, so I'm closing this one as a duplicate.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    3 participants