Issue #8394: _ctypes.dlopen() accepts bytes, bytearray and str with
surrogates.
2 files changed