Skip to content

bpo-29890: Fix IPv*Interface constructor when dealing with tuple #816

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

Closed
wants to merge 1 commit into from
Closed

bpo-29890: Fix IPv*Interface constructor when dealing with tuple #816

wants to merge 1 commit into from

Conversation

louisom
Copy link
Contributor

@louisom louisom commented Mar 25, 2017

No description provided.

@mention-bot
Copy link

@grapherd, thanks for your PR! By analyzing the history of the files in this pull request, we identified @ncoghlan, @serhiy-storchaka and @hynek to be potential reviewers.

@brettcannon brettcannon added the type-bug An unexpected behavior, bug, or error label Mar 27, 2017

self.network = IPv4Network(address, strict=False)
self.netmask = self.network.netmask
self.netmask, self._prefixlen = self._make_netmask(arg)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it necessary to calculating again using self._make_netmask? Is self.netmask, self._prefixlen = self.network.netmask, self.network.prefixlen not enough?

Copy link

@auvipy auvipy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

plz re base

@csabella
Copy link
Contributor

This change is from an unknown repository and this GitHub account is no longer active. I'm going to close this PR so that another one could be opened to replace it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting core review type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants