# Bug report ### Bug description: ```python t.token_type == 'attrtext' ``` compares t.token_type with 'attrtext', but it has to be ```python t.token_type = 'attrtext' ``` ### CPython versions tested on: CPython main branch ### Operating systems tested on: _No response_ <!-- gh-linked-prs --> ### Linked PRs * gh-150475 * gh-157761 <!-- /gh-linked-prs -->
Activity
pythongh-150474: Fix Email Header Parser issue t.token_type == 'attrt…