Skip to content
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

[network] Support netstat in Windows #2352

Closed
wants to merge 2 commits into from
Closed

[network] Support netstat in Windows #2352

wants to merge 2 commits into from

Conversation

mausch
Copy link

@mausch mausch commented Mar 15, 2016

Implements #2350

@mausch
Copy link
Author

mausch commented Mar 15, 2016

Is the Travis build working at all? The build log seems to have lots of errors unrelated to my changes.

Apparently there's a typo in the Microsoft documentation
@olivielpeau
Copy link
Member

Thanks @mausch for this addition!

We've had a lot of errors on Python 2.6 lately but we're in the process of removing support of Python 2.6. The tests related to your changes are passing.

We'll spend some time soon to review and test your PR.


def _parse_windows_netstat(self, netstat):
state_map = Network.TCP_STATES['netstat_windows']
lines = netstat.split('\n')
Copy link

Choose a reason for hiding this comment

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

you should use netstat.splitlines() here instead.

@remh
Copy link

remh commented Apr 20, 2016

Looks good besides the nitpick, could you rebase against the master branch and also squash your commits please ?

@remh remh self-assigned this Apr 20, 2016
@masci
Copy link
Contributor

masci commented May 6, 2016

Going to finish this on #2478 b/c 5.8 is approaching fast, thanks again @mausch!

@masci masci closed this May 6, 2016
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