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 theller
Recipients theller
Date 2016-12-21.08:13:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1482307990.24.0.476248226278.issue29031@psf.upfronthosting.co.za>
In-reply-to
Content
The documentation states that 'from module import *' imports all symbols that are listed in the module's __all__ list.
In Python 3, unlike Python 2, only symbols that do NOT start with an underscore are actually imported.

The following code works in Python 2.7, but raises a NameError
in Python 3.5:
python -c "from ctypes.wintypes import *; print(_ULARGE_INTEGER)"
History
Date User Action Args
2016-12-21 08:13:10thellersetrecipients: + theller
2016-12-21 08:13:10thellersetmessageid: <1482307990.24.0.476248226278.issue29031@psf.upfronthosting.co.za>
2016-12-21 08:13:10thellerlinkissue29031 messages
2016-12-21 08:13:09thellercreate