eryk sun added the comment: Python 3 does not skip names in __all__ that start with an underscore.
wintypes in 2.x uses `from ctypes import *`, so it needs to define __all__. In 3.x it uses `import ctypes`, so it doesn't define __all__, and the private names _COORD, _FILETIME, _LARGE_INTEGER, _POINTL, _RECTL, _SMALL_RECT, and _ULARGE_INTEGER are skipped by a star import. That said, why are these private names (and also "tag" names) defined? And why isn't COORD defined instead of or in addition to _COORD? ---------- nosy: +eryk sun _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29031> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com