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

relax ipconfig matching on Windows #4541

Merged
merged 2 commits into from
Nov 28, 2013
Merged

Conversation

minrk
Copy link
Member

@minrk minrk commented Nov 15, 2013

looser match via regular expression, doesn't make English assumptions.

I don't know if Asian Windows has characters other than 'ipv4', but I would
doubt it.

closes #4538

looser match via regular expression, doesn't make English assumptions.
@Carreau
Copy link
Member

Carreau commented Nov 16, 2013

+1

@jankatins
Copy link
Contributor

Just FYI: windows XP only has "IP" without the version information.

@minrk
Copy link
Member Author

minrk commented Nov 16, 2013

@JanSchulz thanks. It should fallback on gethostbyname, and thus still work when ipconfig parsing fails.

@minrk
Copy link
Member Author

minrk commented Nov 16, 2013

but maybe the localization suggests that we should skip parsing on Windows altogether, and just let it use the slow way.

@jankatins
Copy link
Contributor

Parsing route print could be a relative localization-free alternative. But I haven't tested that on older windows versions.

@Carreau
Copy link
Member

Carreau commented Nov 28, 2013

Should we merge this ?

minrk added a commit that referenced this pull request Nov 28, 2013
@minrk minrk merged commit 5952a6c into ipython:master Nov 28, 2013
@minrk minrk deleted the ipconfig-win-nonenglish branch November 28, 2013 19:12
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this pull request Nov 3, 2014
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.

DOC: document how to change ipcontroller-engine.json in case controller was started with --ip="*"
3 participants