Skip to content

types: 3.11 (and earlier) fixes - #7900

Merged
JelleZijlstra merged 2 commits into
python:masterfrom
JelleZijlstra:types2
May 21, 2022
Merged

JelleZijlstra merged 2 commits into
python:masterfrom
JelleZijlstra:types2

Conversation

@JelleZijlstra

Copy link
Copy Markdown
Member
  • New attributes in 3.11
  • Arguments to CodeType.init are always positional (have fun)
  • co_consts can use object instead of Any
- New attributes in 3.11
- Arguments to CodeType.__init__ are always positional (have fun)
- co_consts can use object instead of Any
@github-actions

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@AlexWaygood AlexWaygood left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I haven't double-checked every last detail, but this all looks fine!

@Akuli

Akuli commented May 20, 2022

Copy link
Copy Markdown
Collaborator

Arguments to CodeType.__init__ are always positional (have fun)

:DDDDDD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants