diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-03-07 17:20:56 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-03-07 17:20:56 (GMT) |
commit | 9587286f98676f7723b0f8e2da17422f8ca84bf9 (patch) | |
tree | c9b86d7b11e32ff142bfe08b29ef69d7fb4246ff /Include | |
parent | 53dc735168c876b5ed2e4553965014b07c03904e (diff) | |
download | cpython-9587286f98676f7723b0f8e2da17422f8ca84bf9.zip cpython-9587286f98676f7723b0f8e2da17422f8ca84bf9.tar.gz cpython-9587286f98676f7723b0f8e2da17422f8ca84bf9.tar.bz2 |
Issue #3080: Import builtins using Unicode strings
- is_builtin(), init_builtin(), load_builtin() and other builtin related
functions use Unicode strings, instead of byte strings
- Rename _PyImport_FixupExtensionUnicode() to _PyImport_FixupExtensionObject()
- Rename _PyImport_FindExtensionUnicode() to _PyImport_FindExtensionObject()
Diffstat (limited to 'Include')
-rw-r--r-- | Include/import.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/import.h b/Include/import.h index 2d45238..710fd22 100644 --- a/Include/import.h +++ b/Include/import.h @@ -79,12 +79,12 @@ PyAPI_FUNC(void) _PyImport_ReInitLock(void); PyAPI_FUNC(PyObject *)_PyImport_FindBuiltin( const char *name /* UTF-8 encoded string */ ); -PyAPI_FUNC(PyObject *)_PyImport_FindExtensionUnicode(const char *, PyObject *); +PyAPI_FUNC(PyObject *)_PyImport_FindExtensionObject(PyObject *, PyObject *); PyAPI_FUNC(int)_PyImport_FixupBuiltin( PyObject *mod, char *name /* UTF-8 encoded string */ ); -PyAPI_FUNC(int)_PyImport_FixupExtensionUnicode(PyObject*, char *, PyObject *); +PyAPI_FUNC(int)_PyImport_FixupExtensionObject(PyObject*, PyObject *, PyObject *); struct _inittab { char *name; |