Skip to content

Invalid line number in Exception traceback with header # -*- coding: xxx -*- #48223

@vstinner

Description

@vstinner
BPO 3973
Nosy @pitrou, @vstinner
Superseder
  • bpo-2384: [Py3k] line number is wrong after encoding declaration
  • 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 2008-09-26.11:52:29.107>
    created_at = <Date 2008-09-26.10:52:11.236>
    labels = []
    title = 'Invalid line number in Exception traceback with header # -*- coding: xxx -*-'
    updated_at = <Date 2008-09-26.11:52:29.099>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2008-09-26.11:52:29.099>
    actor = 'pitrou'
    assignee = 'none'
    closed = True
    closed_date = <Date 2008-09-26.11:52:29.107>
    closer = 'pitrou'
    components = []
    creation = <Date 2008-09-26.10:52:11.236>
    creator = 'vstinner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 3973
    keywords = []
    message_count = 2.0
    messages = ['73841', '73842']
    nosy_count = 2.0
    nosy_names = ['pitrou', 'vstinner']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = None
    status = 'closed'
    superseder = '2384'
    type = None
    url = 'https://bugs.python.org/issue3973'
    versions = ['Python 3.0']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      No labels
      No labels

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions