FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

REPL auto-indentation is wrong with comments · Issue #122237 · python/cpython · GitHub

Repository navigation

REPL auto-indentation is wrong with comments #122237

Closed

Description

Bug report

Bug description:

Currently, the REPL auto indentation is like this:

The correct one should be:

I am working on a PR to fix this.

CPython versions tested on:

CPython main branch

Operating systems tested on:

macOS

Linked PRs

Activity

  1. HarryLHW commented on Jul 24, 2024

    ContributorAuthor

    This is also incorrect when "#" happens to be the last non-whitespace character.

  2. Wulian233 commented on Sep 15, 2024

    Contributor

    Another #124096

  3. ambv commented on Oct 23, 2024

    Contributor

    That was fixed in GH-123196.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic-replRelated to the interactive shelltype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL