Skip to content

Conversation

@mssalvatore
Copy link
Contributor

@mssalvatore mssalvatore commented May 14, 2025

The value of self._ip and int(self.network.network_address) will always be the identical. Therefore, it's unnecessary to include int(self.network.network_address) in the tuple used to compute the hash.

Fixes #134012.

The value of `self._ip` and `int(self.network.network_address)` will
always be the identical. Therefore, it's unnecessary to include
`int(self.network.network_address)` in the tuple used to compute the
hash.
@python-cla-bot
Copy link

python-cla-bot bot commented May 14, 2025

All commit authors signed the Contributor License Agreement.

CLA signed

@bedevere-app
Copy link

bedevere-app bot commented May 14, 2025

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.

@ZeroIntensity
Copy link
Member

cc @ncoghlan who wrote that line.

@mssalvatore mssalvatore marked this pull request as draft May 15, 2025 12:26
@mssalvatore
Copy link
Contributor Author

I may be mistaken about this. I'm investigating...

@mssalvatore
Copy link
Contributor Author

I missed some details. This issue and PR are incorrect. I'm closing them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unnecessary operation in IPv4Interface and IPv6Interface

2 participants