On Thu, 4 Oct 2018 08:32:55 +1000 Steven D'Aprano email@example.com wrote:
Also, maybe add a little note in the docs, stating that despite being part of stdlib this module might not be available on all systems.
That should be uncontroversial. Raise an issue on the bug tracker for that, or a patch on Github.
I don't know. Realistically, any decent distributor of Python should include those optional modules, and I don't remember encountering a Python that doesn't has them. Adding a note saying otherwise in the docs may pointlessly scare users away.