◐ Shell
clean mode source ↗

gh-102302 Micro-optimize `inspect.Parameter.__hash__` by Gouvernathor · Pull Request #102303 · python/cpython

Skip to content

Navigation Menu

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

Aligns it with __eq__, enables default property overrides accessing hash(self), quickens execution.

sobolevn

AlexWaygood

AlexWaygood

@AlexWaygood AlexWaygood changed the title gh-102302 Make Parameter.__hash__ use the actual values r.t properties gh-102302 Micro-optimize inspect.Parameter.__hash__

Mar 4, 2023

AlexWaygood

hugovk pushed a commit to hugovk/cpython that referenced this pull request

Mar 6, 2023

carljm added a commit to carljm/cpython that referenced this pull request

Mar 6, 2023

carljm added a commit to carljm/cpython that referenced this pull request

Mar 7, 2023

Labels

stdlib

Standard Library Python modules in the Lib/ directory