[issue17579] socket module in 2.7.4 raises error instead of gaierror in 2.7.3

2013-04-02 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Okay, so this is not a Python problem, but an Ubuntu problem. It's also not a problem with Ubuntu's version of Python. I can reproduce it on Ubuntu 13.04 with hg trunk, but not Debian Wheezy with hg trunk. Closing as invalid and will investigate further in

[issue17579] socket module in 2.7.4 raises error instead of gaierror in 2.7.3

2013-03-30 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue17579] socket module in 2.7.4 raises error instead of gaierror in 2.7.3

2013-03-30 Thread Benjamin Peterson
Benjamin Peterson added the comment: I can't reproduce it. $ ./python lookup.py slashdot.org failed lookup foowhi.com failed lookup Are you sure it's not some Ubuntu/Debian patch? -- ___ Python tracker

[issue17579] socket module in 2.7.4 raises error instead of gaierror in 2.7.3

2013-03-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: (by the way, I can't reproduce here) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue17579] socket module in 2.7.4 raises error instead of gaierror in 2.7.3

2013-03-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: Not really intended I think. Can you try to bisect to find out the responsible changeset? -- nosy: +pitrou ___ Python tracker ___ _

[issue17579] socket module in 2.7.4 raises error instead of gaierror in 2.7.3

2013-03-30 Thread Matthias Klose
New submission from Matthias Klose: forwarded from https://launchpad.net/bugs/+bug/1154599 this seems to be changed behavior in 2.7.4. is it intended? $ cat lookup.py #!/usr/bin/python import sys, socket names = ["slashdot.org", "foowhi.com"] if len(sys.argv) > 1: names = sy