<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Modules/zipimport.c, branch v3.2b2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/zipimport.c?h=v3.2b2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/zipimport.c?h=v3.2b2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2010-10-18T22:45:54Z</updated>
<entry>
<title>zipimport: remove arbitrary length limit from message formats</title>
<updated>2010-10-18T22:45:54Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@haypocalc.com</email>
</author>
<published>2010-10-18T22:45:54Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=07298a1f0434950c927f5d459fe611f73bb6d262'/>
<id>urn:sha1:07298a1f0434950c927f5d459fe611f73bb6d262</id>
<content type='text'>
PyErr_Format() and PyUnicode_FromFormat() are able to allocate the right buffer
size and to catch memory allocation failures.
</content>
</entry>
<entry>
<title>zipimport: document archive encoding; fix indentation</title>
<updated>2010-10-18T22:34:46Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@haypocalc.com</email>
</author>
<published>2010-10-18T22:34:46Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9e40fad193d8d8365215cf0c23fed990ff0bed9b'/>
<id>urn:sha1:9e40fad193d8d8365215cf0c23fed990ff0bed9b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revert r85699 and r85701 (zipimport): fullname is a module name, not a path</title>
<updated>2010-10-18T21:44:33Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@haypocalc.com</email>
</author>
<published>2010-10-18T21:44:33Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=965a8a1c5b27e81bba6eac11017207e4202125e3'/>
<id>urn:sha1:965a8a1c5b27e81bba6eac11017207e4202125e3</id>
<content type='text'>
UTF-8 is just fine for module names.
</content>
</entry>
<entry>
<title>zipimport: fix "can't find module ..." error message</title>
<updated>2010-10-18T21:21:02Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@haypocalc.com</email>
</author>
<published>2010-10-18T21:21:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8c8ed0a799b41636327bc2950ed8c00d741be97d'/>
<id>urn:sha1:8c8ed0a799b41636327bc2950ed8c00d741be97d</id>
<content type='text'>
I cannot use %U: fullname is a bytes object, not an unicode object. %A format
cannot be used, it adds 'b' (bytes) prefix. So create cant_find_module()
function to decode the filename and raise the error message.
</content>
</entry>
<entry>
<title>zipimport: find_module(), is_package() and get_source() supports surrogates</title>
<updated>2010-10-18T20:44:08Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@haypocalc.com</email>
</author>
<published>2010-10-18T20:44:08Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0410656b30df532d18a82e5da201501b76e2b1e3'/>
<id>urn:sha1:0410656b30df532d18a82e5da201501b76e2b1e3</id>
<content type='text'>
Use PyUnicode_FSConverter to support surrogates in the full name.
</content>
</entry>
<entry>
<title>zipimport: pass path size to make_filename()</title>
<updated>2010-10-18T20:40:59Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@haypocalc.com</email>
</author>
<published>2010-10-18T20:40:59Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=269aeb7c0d1f092ba0ff20ff44251fd5f4ff87f2'/>
<id>urn:sha1:269aeb7c0d1f092ba0ff20ff44251fd5f4ff87f2</id>
<content type='text'>
Don't hardcode path size in make_filename().
</content>
</entry>
<entry>
<title>get_code_from_data() uses the filesystem encoding to encode the module path,</title>
<updated>2010-10-18T12:15:34Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@haypocalc.com</email>
</author>
<published>2010-10-18T12:15:34Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2a94f4c0ef140b1d6de389e406ad8af34afbf167'/>
<id>urn:sha1:2a94f4c0ef140b1d6de389e406ad8af34afbf167</id>
<content type='text'>
instead of utf-8.
</content>
</entry>
<entry>
<title>zipimport: read_directory() uses cp437 or utf-8 (in strict mode), depending on</title>
<updated>2010-10-18T12:13:46Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@haypocalc.com</email>
</author>
<published>2010-10-18T12:13:46Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d36c8217e130bac34ea8c95c8351c47e24c401e2'/>
<id>urn:sha1:d36c8217e130bac34ea8c95c8351c47e24c401e2</id>
<content type='text'>
the unicode flag, to decode the filename, instead of the filesystem encoding.
Use the same choice than the zipfile module.
</content>
</entry>
<entry>
<title>zipimport: get_module_code() returns modpath as a Unicode object</title>
<updated>2010-10-18T12:09:02Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@haypocalc.com</email>
</author>
<published>2010-10-18T12:09:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=08654e18eed3c8b0224100fe270da618d60d6eb5'/>
<id>urn:sha1:08654e18eed3c8b0224100fe270da618d60d6eb5</id>
<content type='text'>
... instead of a char*. Encode the module path to the fileystem encoding
(for PyImport_ExecCodeModuleEx) instead of utf-8.
</content>
</entry>
<entry>
<title>zipimporter_load_module() doesn't destroy mod on error</title>
<updated>2010-10-18T12:03:25Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@haypocalc.com</email>
</author>
<published>2010-10-18T12:03:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=26fabe13698addebe83e1a57daa8f180c9ad8e1d'/>
<id>urn:sha1:26fabe13698addebe83e1a57daa8f180c9ad8e1d</id>
<content type='text'>
PyImport_AddModule() returns a borrowed reference. Don't display "import ... #
loaded from Zip ..." on error.
</content>
</entry>
</feed>
