Issue #3080: Add PyModule_GetNameObject()
repr(module) uses %R to format module name and filenames, instead of '%s' and '%U', so surrogates from undecodable bytes in a filename (PEP 383) are escaped.
V
Victor Stinner committed
bd475115c4fb0dda55f3d1f4443bff58abd1203f
Parent: 501c09a