Skip to content

bpo-38211: Clean up type_init() #16257

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

Merged
merged 1 commit into from
Jun 16, 2021
Merged

Conversation

sir-sigurd
Copy link
Contributor

@sir-sigurd sir-sigurd commented Sep 18, 2019

  1. Remove conditions already checked by assert()
  2. Remove object_init() call that effectively creates an empty tuple and checks that this tuple is empty

https://bugs.python.org/issue38211

1. Remove conditions already checked by assert()
2. Remove object_init() call that effectively creates an empty tuple and
checks that this tuple is empty
@sir-sigurd sir-sigurd requested a review from markshannon as a code owner April 12, 2021 09:50
@markshannon markshannon merged commit ab030d6 into python:main Jun 16, 2021
@sir-sigurd sir-sigurd deleted the clean-type_init-2 branch June 16, 2021 13:05
jdevries3133 pushed a commit to jdevries3133/cpython that referenced this pull request Jun 19, 2021
1. Remove conditions already checked by assert()
2. Remove object_init() call that effectively creates an empty tuple and
checks that this tuple is empty
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