Skip to content

Email Header Parser issue t.token_type == 'attrtext' #150474

@benediktjohannes

Description

@benediktjohannes

Bug report

Bug description:

t.token_type == 'attrtext'

compares t.token_type with 'attrtext', but it has to be

t.token_type = 'attrtext'

CPython versions tested on:

CPython main branch

Operating systems tested on:

No response

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibStandard Library Python modules in the Lib/ directorytopic-emailtype-bugAn unexpected behavior, bug, or error
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions