Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Keep gcc -Wall happy | Guido van Rossum | 1997-08-15 | 1 | -1/+0 |
| | |||||
* | Added Jim Fulton's PyImport_Import(), which calls whatever | Guido van Rossum | 1997-08-14 | 1 | -0/+78 |
| | | | | __import__() hook is currently installed. | ||||
* | Use string interning and caching to get speedups on the mac (Jack). | Guido van Rossum | 1997-08-12 | 1 | -1/+17 |
| | |||||
* | New rules for deleting modules. Rather than having an elaborate | Guido van Rossum | 1997-08-05 | 1 | -1/+29 |
| | | | | | | | | | | | | scheme based on object's types, have a simple two-phase scheme based on object's *names*: /* To make the execution order of destructors for global objects a bit more predictable, we first zap all objects whose name starts with a single underscore, before we clear the entire dictionary. We zap them by replacing them with None, rather than deleting them from the dictionary, to avoid rehashing the dictionary (to some extent). */ | ||||
* | The last of the mass checkins for separate (sub)interpreters. | Guido van Rossum | 1997-08-02 | 1 | -46/+120 |
| | | | | | | | Everything should now work again. See the comments for the .h files mass checkin (e.g. pystate.h) for more detail. | ||||
* | Removed some variables that are used to exchange data between import.c and | Guido van Rossum | 1997-07-21 | 1 | -2/+2 |
| | | | | | | | | importdl.c: the MAXSUFFIXSIZE macro is now defined in importdl.h, and the modules dictionary is now passed using PyImport_GetModuleDict(). Also undefine USE_SHLIB for AIX -- in AIX 4.2 and up, dlfcn.h exists but we don't want to use it. | ||||
* | Fix problem discovered by Greg McFarlane: when an imported module | Guido van Rossum | 1997-07-10 | 1 | -0/+7 |
| | | | | | | | | | replaces its own entry in sys.module, reference count errors ensue; even if there is no reference count problem, it would be preferable for the import to yield the new thing in sys.modules anyway (if only because that's what later imports will yield). This opens the road to an official hack to implement a __getattr__ like feature for modules: stick an instance in sys.modules[__name__]. | ||||
* | One last rename glitch: import_modules -> _PyImport_Modules. | Guido van Rossum | 1997-05-14 | 1 | -15/+15 |
| | |||||
* | Instead of importing graminit.h whenever one of the three grammar 'root' | Guido van Rossum | 1997-05-07 | 1 | -4/+1 |
| | | | | symbols is needed, define these in Python.h with a Py_ prefix. | ||||
* | Oops, forgot one: inittab. | Guido van Rossum | 1997-04-29 | 1 | -7/+7 |
| | |||||
* | Quickly renamed the remaining files -- this directory is done. | Guido van Rossum | 1997-04-29 | 1 | -270/+282 |
| | |||||
* | Keep gcc -Wall and Microsoft VC happy. | Guido van Rossum | 1997-04-11 | 1 | -5/+6 |
| | |||||
* | When -O is given, use ".pyo" instead of ".pyc". | Guido van Rossum | 1997-03-11 | 1 | -1/+9 |
| | |||||
* | New magin number (because of linenumber table). | Guido van Rossum | 1997-01-24 | 1 | -1/+1 |
| | |||||
* | New MAGIC number (code objects have one more item when marshalled). | Guido van Rossum | 1997-01-17 | 1 | -1/+2 |
| | |||||
* | Keep gcc -Wall happy. | Guido van Rossum | 1996-12-05 | 1 | -1/+5 |
| | |||||
* | New permission notice, includes CNRI. | Guido van Rossum | 1996-10-25 | 1 | -13/+20 |
| | |||||
* | PYTHONWIN -> MS_COREDLL | Guido van Rossum | 1996-08-22 | 1 | -1/+1 |
| | |||||
* | Added casts from unsigned char to char when calling rds_object() on | Guido van Rossum | 1996-08-08 | 1 | -2/+2 |
| | | | | frozen code. | ||||
* | Changes for slice and ellipses | Guido van Rossum | 1996-07-30 | 1 | -1/+1 |
| | |||||
* | new .pyc magic number (** operator) | Guido van Rossum | 1996-07-21 | 1 | -1/+1 |
| | |||||
* | Slightly different Windows ifdefs | Guido van Rossum | 1996-06-28 | 1 | -3/+2 |
| | |||||
* | Cosmetic change to the dox_8x3 hack. | Guido van Rossum | 1996-06-20 | 1 | -4/+3 |
| | |||||
* | struct frozen is now struct _frozen and comes from import.h. | Guido van Rossum | 1996-06-17 | 1 | -11/+5 |
| | |||||
* | moved verbose decl to pydebug.h; added dos_8x3 feature | Guido van Rossum | 1996-05-23 | 1 | -2/+18 |
| | |||||
* | Remember source filename as <module>.__file__. | Guido van Rossum | 1996-05-16 | 1 | -0/+3 |
| | |||||
* | Under NT, interface to mysterious module registry. (Mark H.) | Guido van Rossum | 1996-04-09 | 1 | -0/+8 |
| | |||||
* | Change Mac creator from 'PYTH' to 'Pyth' -- 'PYTH' was already taken | Guido van Rossum | 1996-02-21 | 1 | -1/+1 |
| | | | | by someone else, 'Pyth' is now officially registered by the PSA. | ||||
* | Removed unused variables | Jack Jansen | 1995-10-03 | 1 | -3/+1 |
| | |||||
* | add imp.get_frozen_object() | Guido van Rossum | 1995-08-04 | 1 | -13/+54 |
| | |||||
* | Undef 'argument' before including mac headers | Jack Jansen | 1995-07-28 | 1 | -0/+2 |
| | |||||
* | never close the file in imp.load_... | Guido van Rossum | 1995-07-26 | 1 | -6/+0 |
| | |||||
* | keyword arguments and faster calls | Guido van Rossum | 1995-07-18 | 1 | -2/+2 |
| | |||||
* | new MAGIC; some changes to default files for imp.load_... functions | Guido van Rossum | 1995-07-07 | 1 | -8/+19 |
| | |||||
* | Added PY_RESOURCE (mac only) to imp module | Jack Jansen | 1995-06-18 | 1 | -0/+7 |
| | |||||
* | Check if we've already loaded a dynamic module under a different name. | Sjoerd Mullender | 1995-06-12 | 1 | -2/+2 |
| | |||||
* | magic number changes of CR/LF are swapped | Guido van Rossum | 1995-02-19 | 1 | -1/+3 |
| | |||||
* | Added hooks to support importing pyc code from a resource on the mac. | Jack Jansen | 1995-02-15 | 1 | -7/+43 |
| | |||||
* | init_frozen non-static, frozenmain.c not in Makefile any more | Guido van Rossum | 1995-02-07 | 1 | -1/+3 |
| | |||||
* | fix glaring bug in get_magic | Guido van Rossum | 1995-01-30 | 1 | -2/+2 |
| | |||||
* | don't dictclear deleted modules in doneimport | Guido van Rossum | 1995-01-26 | 1 | -17/+22 |
| | |||||
* | fix import related leaks | Guido van Rossum | 1995-01-20 | 1 | -12/+22 |
| | |||||
* | use getbuiltins() everywhere, it defaults to getbuiltidict() | Guido van Rossum | 1995-01-12 | 1 | -1/+1 |
| | |||||
* | __builtins__ mods (and sys_checkinterval for ceval.c) | Guido van Rossum | 1995-01-09 | 1 | -0/+5 |
| | |||||
* | Added 1995 to copyright message. | Guido van Rossum | 1995-01-04 | 1 | -2/+2 |
| | | | | | | bltinmodule.c: fixed coerce() nightmare in ternary pow(). modsupport.c (initmodule2): pass METH_FREENAME flag to newmethodobject(). pythonrun.c: move flushline() into and around print_error(). | ||||
* | Lots of changes, most minor (fatal() instead of abort(), use of | Guido van Rossum | 1995-01-02 | 1 | -568/+681 |
| | | | | | | err_fetch/err_restore and so on). But... NOTE: import.c has been rewritten and all the DL stuff is now in the new file importdl.c. | ||||
* | Added comment symbols around word after #endif. | Sjoerd Mullender | 1994-12-14 | 1 | -1/+1 |
| | |||||
* | Fix various potential buffer overrun problems. | Guido van Rossum | 1994-09-26 | 1 | -9/+18 |
| | |||||
* | * Import/pythonrun.h, Python/{import,pythonrun}.c, | Guido van Rossum | 1994-09-14 | 1 | -0/+11 |
| | | | | | | mac/macsetfiletype.c: changes by Jack to execute .pyc file passed as command line argument. On the Mac .pyc files are given a special type so they can be double-clicked | ||||
* | Mods for HP-UX dynamic loading. | Guido van Rossum | 1994-09-12 | 1 | -1/+42 |
| |