Skip to content

Conversation

@msullivan
Copy link
Contributor

@msullivan msullivan commented May 21, 2019

#13238 made extra text after a # type: ignore accepted by the parser.
This finishes the job and actually plumbs the extra text through the
parser and makes it available in the AST.

https://bugs.python.org/issue36878

Copy link
Member

@gvanrossum gvanrossum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect!

@ilevkivskyi ilevkivskyi merged commit 933e150 into python:master May 22, 2019
@msullivan msullivan deleted the type_ignore branch May 22, 2019 15:52
jonafato added a commit to jonafato/typeshed that referenced this pull request Apr 22, 2021
This attribute was [added in 3.8]. This change lets mypy resolve the
type correctly instead of failing with an attr-defined error.

[added in 3.8]: python/cpython#13479
hauntsaninja pushed a commit to python/typeshed that referenced this pull request Apr 22, 2021
This attribute was [added in 3.8]. This change lets mypy resolve the
type correctly instead of failing with an attr-defined error.

[added in 3.8]: python/cpython#13479
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants