mirror of
https://github.com/python/cpython.git
synced 2026-05-08 05:32:01 -04:00
e7ab97862d
gh-127208: Reject null character in _imp.create_dynamic() (#127400)
_imp.create_dynamic() now rejects embedded null characters in the
path and in the module name.
Backport also the _PyUnicode_AsUTF8NoNUL() function.
(cherry picked from commit b14fdadc6c)