summaryrefslogtreecommitdiff
path: root/Modules/zipimport.c
AgeCommit message (Expand)AuthorLines
2012-10-03MERGE: Closes #15897: zipimport.c doesn't check return value of fseek()Jesus Cea-7/+36
2012-10-03Closes #15897: zipimport.c doesn't check return value of fseek()Jesus Cea-7/+36
2012-09-10Fixed two memory leaks in make_filename() in zipimport.c. The allocated buffe...Christian Heimes-2/+6
2012-08-20Closes #15737: Fix potential NULL dereference in zipimport.c.Stefan Krah-2/+2
2012-05-25capitialize enum membersBenjamin Peterson-17/+17
2012-05-25use PyDict_ContainsBenjamin Peterson-3/+3
2012-05-25return NULL on errorBenjamin Peterson-2/+3
2012-05-25actually return the resultBenjamin Peterson-1/+1
2012-05-24simplify and rewrite the zipimport part of 702009f3c0b1 a bitBenjamin Peterson-51/+41
2012-05-24plug ref leakBenjamin Peterson-0/+1
2012-05-24issue 14660: Implement PEP 420, namespace packages.Eric V. Smith-8/+140
2012-01-30Fix zipimport.c's read_directory() to use appropriate types for the valuesGregory P. Smith-4/+5
2012-01-30Fix zip_import.c's read_directory() to use appropriate types for the valuesGregory P. Smith-4/+5
2011-12-18Handle correctly _Py_fopen() error: don't replace the exceptionVictor Stinner-3/+5
2012-01-13Issue #13645: pyc files now contain the size of the corresponding sourceAntoine Pitrou-1/+3
2011-12-18(Merge 3.2) Handle correctly _Py_fopen() error: don't replace the exceptionVictor Stinner-3/+5
2011-12-18import.c now catchs _Py_stat() exceptionsVictor Stinner-2/+2
2011-10-31Drop unused variable.Martin v. Löwis-1/+0
2011-10-31Fix typo.Martin v. Löwis-3/+2
2011-10-31Replace Py_UCS4_ API with Unicode API.Martin v. Löwis-130/+90
2011-10-14Rename _Py_identifier to _Py_IDENTIFIER.Martin v. Löwis-1/+1
2011-10-11Fix a compiler warning in zipimportVictor Stinner-1/+1
2011-10-10Use identifier API for PyObject_GetAttrString.Martin v. Löwis-2/+3
2011-09-28Rename new macros to conform to naming rules (function macros have "Py" prefi...Georg Brandl-4/+4
2011-09-28Implement PEP 393.Martin v. Löwis-52/+89
2011-05-26zipimport: initialize fullpath to NULLVictor Stinner-1/+1
2011-05-21avoid a compiler warning. the compiler doesn't know that the staticGregory P. Smith-1/+1
2011-05-20(Merge 3.2) Issue #12124: zipimport doesn't keep a reference toVictor Stinner-24/+23
2011-05-20(Merge 3.1) Issue #12124: zipimport doesn't keep a reference toVictor Stinner-24/+23
2011-05-20Issue #12124: zipimport doesn't keep a reference to zlib.decompress() anymoreVictor Stinner-24/+23
2011-03-16#11565: Merge with 3.1.Ezio Melotti-1/+1
2011-03-16#11565: Fix several typos. Patch by Piotr Kasprzyk.Ezio Melotti-1/+1
2011-03-15#11515: Merge with 3.1.Ezio Melotti-1/+1
2011-03-15#11515: fix several typos. Patch by Piotr Kasprzyk.Ezio Melotti-1/+1
2011-03-14Issue #3080: zipimport has a full unicode suppportVictor Stinner-135/+168
2011-01-22Issue #10955: zipimport uses ASCII at bootstrapVictor Stinner-1/+19
2010-10-18zipimport: remove arbitrary length limit from message formatsVictor Stinner-14/+9
2010-10-18zipimport: document archive encoding; fix indentationVictor Stinner-3/+4
2010-10-18Revert r85699 and r85701 (zipimport): fullname is a module name, not a pathVictor Stinner-42/+18
2010-10-18zipimport: fix "can't find module ..." error messageVictor Stinner-4/+16
2010-10-18zipimport: find_module(), is_package() and get_source() supports surrogatesVictor Stinner-16/+28
2010-10-18zipimport: pass path size to make_filename()Victor Stinner-5/+5
2010-10-18get_code_from_data() uses the filesystem encoding to encode the module path,Victor Stinner-8/+7
2010-10-18zipimport: read_directory() uses cp437 or utf-8 (in strict mode), depending onVictor Stinner-2/+9
2010-10-18zipimport: get_module_code() returns modpath as a Unicode objectVictor Stinner-12/+23
2010-10-18zipimporter_load_module() doesn't destroy mod on errorVictor Stinner-9/+9
2010-10-18zipimport: encode the prefix to the fileystem encodingVictor Stinner-8/+15
2010-10-18zipimport, get_module_code(): avoid useless _PyUnicode_AsString()Victor Stinner-3/+2
2010-10-18zipimport: fix indentationVictor Stinner-4/+5
2010-10-16zipimport: catch _PyUnicode_AsString() failure in get_code_from_data()Victor Stinner-0/+4