This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author malin
Recipients asvetlov, malin, methane, ned.deily, njs, paul.moore, skn78, steve.dower, thatiparthy, tim.golden, tjguk, zach.ware
Date 2018-02-08.00:38:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Here is PR 5585 for 3.6 branch.

For 3.7+, I would suggest patch in socketmodule.c like this:

    PyObject *m, *has_ipv6;
+#ifdef MS_WINDOWS
+   return remove_unusable_flags(m);
    return m;

In this way, we handle the flags in a separated function remove_unusable_flags(m).
It keeps both and socketmodule.c neat.

Timelines FYI:

3.6.5 candidate: 2018-03-12 (tenative)
3.6.5 final: 2018-03-26 (tentative)

3.7.0 beta 2: 2018-02-26
3.7.0 beta 3: 2018-03-26
3.7.0 beta 4: 2018-04-30

> What's about other OS/flags?
> Should we commit that every exposed socket flag is supported in runtime?
> It looks like very heavy burden.

I have an idea about this concern, I will post it after some experiments.
Date User Action Args
2018-02-08 00:38:31malinsetrecipients: + malin, paul.moore, tim.golden, ned.deily, njs, asvetlov, methane, zach.ware, steve.dower, thatiparthy, tjguk, skn78
2018-02-08 00:38:31malinsetmessageid: <>
2018-02-08 00:38:31malinlinkissue32394 messages
2018-02-08 00:38:30malincreate