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 jwilk
Recipients dstufft, eric.araujo, jwilk
Date 2015-08-16.11:34:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1439724892.22.0.0558175678878.issue24876@psf.upfronthosting.co.za>
In-reply-to
Content
Docstring of the distutils.errors module reads:

This module is safe to use in "from ... import *" mode; it only exports
symbols whose names start with "Distutils" and end with "Error".

But in reality, the module exports also names that don't start with "Distutils":

>>> ns = {}
>>> exec('from distutils.errors import *', {}, ns)
>>> [k for k in ns.keys() if not k.startswith('Distutils')]
['LibError', 'UnknownFileError', 'LinkError', 'CompileError', 'CCompilerError', 'PreprocessError']
History
Date User Action Args
2015-08-16 11:34:52jwilksetrecipients: + jwilk, eric.araujo, dstufft
2015-08-16 11:34:52jwilksetmessageid: <1439724892.22.0.0558175678878.issue24876@psf.upfronthosting.co.za>
2015-08-16 11:34:52jwilklinkissue24876 messages
2015-08-16 11:34:51jwilkcreate