Ma Lin <> added the comment:

Glad to see PR 5468 not merged, I found it makes complicated.

Now I'm inclined to patch the code in PyInit__socket(void) of socketmodule.c

There already has a MS-Windows version checking

In there, we can use GetVersionEx instead of GetVersion to get BuildNumber, 
then delete unusable opinions.

(I don't have enough skill to modify .c code)


Python tracker <>
Python-bugs-list mailing list

Reply via email to