New issue 2067: socket.inet_pton small bug on failure ValueError does not contain the right string https://bitbucket.org/pypy/pypy/issue/2067/socketinet_pton-small-bug-on-failure
Thomas Mangin: # python Python 2.7.10 (default, Jun 1 2015, 09:44:56) [GCC 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import socket >>> socket.inet_ntop(socket.AF_INET6,'') Traceback (most recent call last): File "<stdin>", line 1, in <module> ValueError: invalid length of packed IP address string # pypy Python 2.7.9 (295ee98b69288471b0fcf2e0ede82ce5209eb90b, Jun 02 2015, 18:26:45) [PyPy 2.6.0 with GCC 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>>> import socket >>>> socket.inet_ntop(socket.AF_INET6,'') Traceback (most recent call last): File "<stdin>", line 1, in <module> ValueError: <ValueError object at 0x1016e7ca8> _______________________________________________ pypy-issue mailing list [email protected] https://mail.python.org/mailman/listinfo/pypy-issue
