Visitar URL original
bpo-38211: Clean up type_init() by sir-sigurd · Pull Request #16257 · python/cpython · GitHub
The Wayback Machine - https://web.archive.org/web/20260330223758/https://github.com/python/cpython/pull/16257
Skip to content
/ cpython Public

bpo-38211: Clean up type_init()#16257

Merged
markshannon merged 1 commit intopython:mainfrom
sir-sigurd:clean-type_init-2
Jun 16, 2021
Merged

bpo-38211: Clean up type_init()#16257
markshannon merged 1 commit intopython:mainfrom
sir-sigurd:clean-type_init-2

Conversation

@sir-sigurd
Copy link
Copy Markdown
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