Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-43770: Reorder type_ready() #25373

Merged
merged 1 commit into from Apr 13, 2021
Merged

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Apr 12, 2021

Add type_ready_create_dict() sub-function.

  • Start with type_ready_create_dict().
  • Call type_ready_mro() earlier, before type_ready_add_attrs().
  • Call type_ready_inherit_special() earlier, at the end of
    type_ready_inherit().

https://bugs.python.org/issue43770

Add type_ready_create_dict() sub-function.

* Start with type_ready_create_dict().
* Call type_ready_mro() earlier, before type_ready_add_attrs().
* Call type_ready_inherit_special() earlier, in type_ready_inherit().
@vstinner vstinner merged commit 65f058e into python:master Apr 13, 2021
10 checks passed
@vstinner vstinner deleted the type_ready2 branch Apr 13, 2021
@vstinner
Copy link
Member Author

vstinner commented Apr 13, 2021

Thanks for the review @erlend-aasland :)

kreathon pushed a commit to kreathon/cpython that referenced this pull request May 2, 2021
Add type_ready_create_dict() sub-function.

* Start with type_ready_create_dict().
* Call type_ready_mro() earlier, before type_ready_add_attrs().
* Call type_ready_inherit_special() earlier, in type_ready_inherit().
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants