diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-10-17 01:24:53 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-10-17 01:24:53 (GMT) |
commit | 49d3f2514b4edcabae3b08286016c98b584bb3a2 (patch) | |
tree | bfff7850a9d022e4dc89111399a62ac16ed79d5d /Modules/signalmodule.c | |
parent | 3e85dfd15e36b7d890fb70a6c9edf0b1e6bbff6c (diff) | |
download | cpython-49d3f2514b4edcabae3b08286016c98b584bb3a2.zip cpython-49d3f2514b4edcabae3b08286016c98b584bb3a2.tar.gz cpython-49d3f2514b4edcabae3b08286016c98b584bb3a2.tar.bz2 |
_PyImport_FixupExtension() and _PyImport_FindExtension() uses FS encoding
* Rename _PyImport_FindExtension() to _PyImport_FindExtensionUnicode():
the filename becomes a Unicode object instead of byte string
* Rename _PyImport_FixupExtension() to _PyImport_FixupExtensionUnicode():
the filename becomes a Unicode object instead of byte string
Diffstat (limited to 'Modules/signalmodule.c')
-rw-r--r-- | Modules/signalmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/signalmodule.c b/Modules/signalmodule.c index d34e177..4691285 100644 --- a/Modules/signalmodule.c +++ b/Modules/signalmodule.c @@ -951,7 +951,7 @@ PyOS_InitInterrupts(void) { PyObject *m = PyInit_signal(); if (m) { - _PyImport_FixupExtension(m, "signal", "signal"); + _PyImport_FixupBuiltin(m, "signal"); Py_DECREF(m); } } |