[Python-ideas] Better error messages for missing optional stdlib packages

Antoine Pitrou solipsis at pitrou.net
Thu Oct 4 12:51:20 EDT 2018

On Thu, 4 Oct 2018 08:32:55 +1000
Steven D'Aprano <steve at pearwood.info> 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.



More information about the Python-ideas mailing list