summaryrefslogtreecommitdiff
path: root/Python/import.c
AgeCommit message (Expand)AuthorLines
2004-09-23Fix for SF bug #1029475 : reload() doesn't work with PEP 302 loaders.Phillip J. Eby-4/+7
2004-06-07Fix a refcount bug in an obscure code corner.Thomas Heller-0/+1
2004-03-23Decref all if ensure_fromlist fails. Fixes #876533.Martin v. Löwis-2/+3
2003-10-20Backport checkin:Walter Dörwald-1/+1
2003-07-11- fix typoFred Drake-1/+1
2003-06-16Don't use the module object setattr when importing submodules. Instead,Neil Schemenauer-18/+38
2003-03-23SF patch #708201, unchecked return value in import.c by Jason HarperNeal Norwitz-0/+2
2003-02-17Remove PyArg_ParseTuple() for methods which take no args,Neal Norwitz-23/+13
2003-02-12Cleanup from patch #683257:Neal Norwitz-4/+7
2003-02-12Provide access to the import lock, fixing SF bug #580952. This isGuido van Rossum-6/+52
2003-01-24MacPython-OS9 specific fix: If there are non-string items on sys.path don't t...Jack Jansen-14/+17
2002-12-30PEP 302 + zipimport:Just van Rossum-19/+236
2002-12-25Backing out patch #642578 in anticipation of final acceptance of PEP 302.Just van Rossum-147/+0
2002-12-13Added missing casts.Jack Jansen-2/+2
2002-12-06Patch #614055: Support OpenVMS.Martin v. Löwis-2/+5
2002-11-29Slightly improved version of patch #642578: "Expose PyImport_FrozenModulesJust van Rossum-0/+147
2002-08-31Because MWH changed the bytecode again, moved the magic number *back*Guido van Rossum-1/+6
2002-08-15This is my patchMichael W. Hudson-1/+5
2002-06-30Patch #569753: Remove support for WIN16.Martin v. Löwis-5/+5
2002-06-17Apply diff2.txt from SF patch http://www.python.org/sf/566999Walter Dörwald-7/+29
2002-06-14Fix SF bug # 561858 Assertion with very long listsNeal Norwitz-2/+2
2002-06-13Patch #568124: Add doc string macros.Martin v. Löwis-28/+21
2002-05-30imp_load_module(): correct and comment the sense of the test for '+'Guido van Rossum-2/+7
2002-05-30Cover a few corners in the 'U' mode integration to make imp work.Jeremy Hylton-8/+14
2002-05-28File modes in filedescr entries are also passed to Python, so we now put "U"Jack Jansen-4/+7
2002-04-14Mass checkin of universal newline support.Jack Jansen-3/+3
2002-04-11Got rid of ifdefs for long-obsolete GUSI versions.Jack Jansen-21/+0
2002-04-09is_builtin() is not a Boolean -- it can return -1, 0, 1. [SF #541652]Guido van Rossum-1/+1
2002-04-07Return bools from functions named is_<whatever>().Guido van Rossum-4/+4
2002-03-31Use symbolic METH_VARARGS instead of 1 for ml_flagsNeal Norwitz-16/+16
2002-03-29Remove the CACHE_HASH and INTERN_STRINGS preprocessor symbols.Tim Peters-2/+0
2002-02-26OS/2 EMX port changes (Python part of patch #450267):Andrew MacIntyre-0/+76
2002-02-07Fix to the UTF-8 encoder: it failed on 0-length input strings.Marc-André Lemburg-1/+20
2002-01-12Include <unistd.h> in Python.h. Fixes #500924.Martin v. Löwis-4/+0
2001-11-18Since the MAGIC number scheme is going to break on January 1st, documentTim Peters-4/+16
2001-10-30On the macintosh don't take a quick exit in find_module() for frozen submodul...Jack Jansen-0/+8
2001-10-25Use PyDict_Copy() and PyDict_Update() instead of using PyObject_CallMethod()Fred Drake-5/+3
2001-10-24SF patch #474590 -- RISC OS supportGuido van Rossum-7/+31
2001-10-18First part of SF patch #416704: More robust freeze, by Toby Dickenson.Guido van Rossum-5/+23
2001-10-04Remove a couple of unused local variables (bug #445960, compiler warningsGreg Ward-4/+2
2001-08-30Add a new function imp.lock_held(), and use it to skip test_threaded_importTim Peters-0/+19
2001-08-13Fixed typo in comment leading up to _PyImport_FixupExtension().Barry Warsaw-1/+1
2001-08-08Put conditional S_IFMT definition into pyport.h.Martin v. Löwis-5/+0
2001-08-08Put conditional S_ISDIR definition(s) into pyport.h.Martin v. Löwis-4/+0
2001-08-04Derived from SF patch #446899 Permit import of .pyw under Windows, fromTim Peters-5/+14
2001-08-02Merge of descr-branch back into trunk.Tim Peters-2/+5
2001-07-23Add -E command line switch (ignore environment variables like PYTHONHOMENeil Schemenauer-4/+4
2001-07-23SF Patch #441791, with changes: when "import foo.bar" fails with anGuido van Rossum-4/+16
2001-07-05SF bug #438295: [Windows] __init__.py cause strange behaviorTim Peters-11/+28
2001-04-29SF bug #417093: Case sensitive import: dir and .py file w/ same nameTim Peters-8/+5