Issue #24268: Fix import naming when loading extension modules. Patch by Petr Viktorin.
diff --git a/Python/dynload_dl.c b/Python/dynload_dl.c
index d235a84..2bec645 100644
--- a/Python/dynload_dl.c
+++ b/Python/dynload_dl.c
@@ -18,6 +18,6 @@
 {
     char funcname[258];
 
-    PyOS_snprintf(funcname, sizeof(funcname), "%20s_%.200s", prefix, shortname);
+    PyOS_snprintf(funcname, sizeof(funcname), "%.20s_%.200s", prefix, shortname);
     return dl_loadmod(Py_GetProgramName(), pathname, funcname);
 }