Skip to content

bpo-43770: Reorder type_ready()#25373

Merged
vstinner merged 1 commit intopython:masterfrom
vstinner:type_ready2
Apr 13, 2021
Merged

bpo-43770: Reorder type_ready()#25373
vstinner merged 1 commit intopython:masterfrom
vstinner:type_ready2

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
@vstinner vstinner deleted the type_ready2 branch April 13, 2021 11:33
@vstinner
Copy link
Member Author

Thanks for the review @erlend-aasland :)

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.

4 participants