Skip to content

IndendationError from multi-line indented statements #90249

@ucodery

Description

@ucodery
mannequin
BPO 46091
Nosy @gvanrossum, @lysnikolaou, @pablogsal, @ucodery
PRs
  • bpo-46091: Correctly calculate indentation levels for whitespace lines with continuation characters #30130
  • [3.10] bpo-46091: Correctly calculate indentation levels for whitespace lines with continuation characters (GH-30130). #30898
  • [3.9] bpo-46091: Correctly calculate indentation levels for whitespace lines with continuation characters (GH-30130). (GH-30898) #30899
  • Files
  • nodent.py: example program where every indented line also uses ''
  • 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 2022-01-25.22:38:52.006>
    created_at = <Date 2021-12-15.23:06:30.736>
    labels = ['interpreter-core', '3.9', '3.10', '3.11']
    title = 'IndendationError from multi-line indented statements'
    updated_at = <Date 2022-01-25.22:38:52.005>
    user = 'https://github.com/ucodery'

    bugs.python.org fields:

    activity = <Date 2022-01-25.22:38:52.005>
    actor = 'pablogsal'
    assignee = 'none'
    closed = True
    closed_date = <Date 2022-01-25.22:38:52.006>
    closer = 'pablogsal'
    components = ['Parser']
    creation = <Date 2021-12-15.23:06:30.736>
    creator = 'ucodery'
    dependencies = []
    files = ['50496']
    hgrepos = []
    issue_num = 46091
    keywords = ['patch']
    message_count = 7.0
    messages = ['408651', '408654', '408656', '408661', '408663', '411678', '411680']
    nosy_count = 4.0
    nosy_names = ['gvanrossum', 'lys.nikolaou', 'pablogsal', 'ucodery']
    pr_nums = ['30130', '30898', '30899']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue46091'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.11only security fixes3.9 (EOL)end of lifeinterpreter-core(Objects, Python, Grammar, and Parser dirs)

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions