[issue10469] test_socket fails

Martin v. Löwis report at bugs.python.org
Sat Nov 20 21:34:43 CET 2010


Martin v. Löwis <martin at v.loewis.de> added the comment:

Oops, I was confused. My copy is VS 2008, of course. So that's another incompatible change in VS 2010. Tcl, Ruby, and curl are ahead of us, here:

http://redmine.ruby-lang.org/issues/show/3092
http://sourceforge.net/tracker/index.php?func=detail&aid=3019634&group_id=10894&atid=310894
http://www.mail-archive.com/curl-library@cool.haxx.se/msg05164.html

I think we can work around that by switching the order of preference: use WSA constants if available, and errno.h values otherwise.

Kotan: can you please search the CRT sources whether these "POSIX" values are used anywhere?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10469>
_______________________________________


More information about the Python-bugs-list mailing list