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 Dima.Tisnek, Mariatta, malin, ned.deily, njs, ronaldoussoren
Date 2020-04-07.14:45:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1586270754.65.0.121620772153.issue40060@roundup.psfhosted.org>
In-reply-to
Content
It seems that people usually use the socket module like this, I think it's safe to respect this habit:

    if hasattr(socket, "FLAG_NAME"):
        do_something

If use PR19402, your program will have problem on the older version system, not only "don't break existing code".

So I think delete-at-runtime is a suitable way.
History
Date User Action Args
2020-04-07 14:45:54malinsetrecipients: + malin, ronaldoussoren, ned.deily, njs, Dima.Tisnek, Mariatta
2020-04-07 14:45:54malinsetmessageid: <1586270754.65.0.121620772153.issue40060@roundup.psfhosted.org>
2020-04-07 14:45:54malinlinkissue40060 messages
2020-04-07 14:45:54malincreate