]> granicus.if.org Git - python/commit
zipimport: get_module_code() returns modpath as a Unicode object
authorVictor Stinner <victor.stinner@haypocalc.com>
Mon, 18 Oct 2010 12:09:02 +0000 (12:09 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Mon, 18 Oct 2010 12:09:02 +0000 (12:09 +0000)
commit08654e18eed3c8b0224100fe270da618d60d6eb5
treeb844a4e5d05480fa6a282dd635a678ad60d8ef49
parent26fabe13698addebe83e1a57daa8f180c9ad8e1d
zipimport: get_module_code() returns modpath as a Unicode object

... instead of a char*. Encode the module path to the fileystem encoding
(for PyImport_ExecCodeModuleEx) instead of utf-8.
Modules/zipimport.c