Skip to content

use protocol for sys.meta_path#5349

Merged
Akuli merged 2 commits into
python:masterfrom
Akuli:metapath
May 6, 2021
Merged

use protocol for sys.meta_path#5349
Akuli merged 2 commits into
python:masterfrom
Akuli:metapath

Conversation

@Akuli

@Akuli Akuli commented May 6, 2021

Copy link
Copy Markdown
Collaborator

Fixes #5276

@srittau srittau left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Not sure why pytype explodes, but LGTM.

@github-actions

github-actions Bot commented May 6, 2021

Copy link
Copy Markdown
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

alerta (https://github.com/alerta/alerta.git)
+ alerta/models/alarms/isa_18_2.py:10: error: Library stubs not installed for "flask" (or incompatible with Python 3.8)
- alerta/models/alarms/isa_18_2.py:10: error: Library stubs not installed for "flask" (or incompatible with Python 3.8)

@github-actions

github-actions Bot commented May 6, 2021

Copy link
Copy Markdown
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

alerta (https://github.com/alerta/alerta.git)
+ alerta/models/alarms/isa_18_2.py:10: error: Library stubs not installed for "flask" (or incompatible with Python 3.8)
- alerta/models/alarms/isa_18_2.py:10: error: Library stubs not installed for "flask" (or incompatible with Python 3.8)

@Akuli Akuli merged commit bb5fb84 into python:master May 6, 2021
@Akuli Akuli deleted the metapath branch May 6, 2021 14:12
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.

sys.meta_path has incorrect type

2 participants