Steve Dower <steve.do...@python.org> added the comment:
I haven't fully tested this, but a suitable test using ctypes might look like: py = ctypes.PyDLL("", handle=sys.dllhandle) missing = {name for name in EXPECTED_NAMES if not hasattr(py, name)} # assert 'missing' is empty ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37189> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com