Skip to content

_markupbase.py fails with UnboundLocalError on invalid keyword in marked section #78661

@kodial

Description

@kodial
mannequin
BPO 34480
Nosy @ezio-melotti, @ambv, @berkerpeksag, @corona10, @tirkarthi, @jkamdjou, @leonardr, @mareksuscak
PRs
  • bpo-34480: fix bug where match variable is used prior to being defined #17643
  • bpo-31844: Remove _markupbase.ParserBase.error() #8562
  • [3.9] bpo-34480: fix bug where match variable is used prior to being defined (GH-17643) #32256
  • Files
  • weird-bug-3.py
  • 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 = 'https://github.com/ezio-melotti' closed_at = None created_at = <Date 2018-08-23.17:30:37.685> labels = ['3.7', 'type-bug', 'library'] title = '_markupbase.py fails with UnboundLocalError on invalid keyword in marked section' updated_at = <Date 2022-04-02.19:50:03.485> user = 'https://bugs.python.org/kodial'

    bugs.python.org fields:

    activity = <Date 2022-04-02.19:50:03.485> actor = 'mareksuscak' assignee = 'ezio.melotti' closed = False closed_date = None closer = None components = ['Library (Lib)'] creation = <Date 2018-08-23.17:30:37.685> creator = 'kodial' dependencies = [] files = ['49070'] hgrepos = [] issue_num = 34480 keywords = ['patch'] message_count = 14.0 messages = ['323962', '323966', '358616', '359301', '359356', '359362', '359428', '366648', '366649', '366650', '371418', '416130', '416546', '416582'] nosy_count = 10.0 nosy_names = ['ezio.melotti', 'lukasz.langa', 'berker.peksag', 'corona10', 'xtreak', 'kodial', 'jkamdjou', 'leonardr', 'Pikamander2', 'mareksuscak'] pr_nums = ['17643', '8562', '32256'] priority = 'normal' resolution = None stage = 'patch review' status = 'open' superseder = None type = 'behavior' url = 'https://bugs.python.org/issue34480' versions = ['Python 3.7']

    Metadata

    Metadata

    Assignees

    Labels

    3.7 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions