Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | ||||||
* | * Python/import.c: support *.o/*.so as alternative for | Guido van Rossum | 1994-08-29 | 1 | -68/+332 | |
| | | | | | | | | | | | | | | *module.o/*module.so * Python/import.c: if initializing a module did not enter the module into sys.modules, it may have raised an exception -- don't override this exception. Merged NT changes * Python/import.c: add lost NT-specific code back in Fixed NT changes | |||||
* | * import.c (get_module): pass .py filename to parse_file, not .pyc filename! | Guido van Rossum | 1993-11-30 | 1 | -3/+5 | |
| | | | | | | | | | | | * funcobject.c (func_repr): don't call getstringvalue(None) for anonymous functions. * bltinmodule.c: removed lambda (which is now a built-in function); removed implied lambda for string arg to filter/map/reduce. * Grammar, graminit.[ch], compile.[ch]: replaced lambda as built-in function by lambda as grammar entity: instead of "lambda('x: x+1')" you write "lambda x: x+1". * Xtmodule.c (checkargdict): return 0, not NULL, for error. | |||||
* | * import.c (get_module): total rewrite, to ensure proper search order: for | Guido van Rossum | 1993-11-17 | 1 | -172/+185 | |
| | | | | | | | | | | | | | each dir in sys.path, try each possible extension. (Note: C extensions are loaded before Python modules in the same directory, to allow having a C version used when dynamic loading is supported and a Python version as a back-up.) * import.c (reload_module): test for error from getmodulename() * moduleobject.c: implement module name as dict entry '__name__' instead of special-casing it in module_getattr(); this way a module (or function!) can access its own module name, and programs that know what they are doing can rename modules. * stdwinmodule.c (initstdwin): strip ".py" suffix of argv[0]. | |||||
* | * filemodule.c: added writelines() -- analogous to readlines() | Guido van Rossum | 1993-10-25 | 1 | -1/+2 | |
| | | | | * import.c: fixed core dump when out-of-date .pyc file encountered (again!) | |||||
* | import.c: When something is wrong with the .pyc, properly open the .py | Sjoerd Mullender | 1993-10-25 | 1 | -26/+31 | |
| | | | | | file. object.c: Write allocation statistics to stderr. | |||||
* | * import.c (MAGIC): Changed magic word to avoid confusion about exec | Guido van Rossum | 1993-10-22 | 1 | -1/+1 | |
| | | | | | | | function vs. exec statement * bltinmodule.c: renamed the module to __builtin__. * posixmodule.c (posix_execv): renamed exec --> execv since it is now a reserved word. | |||||
* | * stdwinmodule.c (stdwin_done): interface to shutdown stdwin (now this is | Guido van Rossum | 1993-10-18 | 1 | -6/+8 | |
| | | | | | | | | | no longer done by config.c). * stdwinmodule.c (initstdwin), config.c (initall): get command line arguments from sys.argv instead of special-casing stdwin in config.c * import.c (get_module): fix core dump when foomodule.o does not define initfoo(). * ChangeLog: documented changes by Sjoerd. | |||||
* | Makefile, import.c: Lance's alternative module search (allow .pyc file | Guido van Rossum | 1993-10-15 | 1 | -98/+112 | |
| | | | | | | | | | | without .py file); Bill's dynamic loading for SunOS using shared libraries. pwdmodule.c (mkgrent): remove DECREF of uninitialized variable. classobject.c (instance_getattr): Fix case when class lookup returns unbound method instead of function. | |||||
* | * classobject.c: in instance_getattr, don't make a method out of a | Guido van Rossum | 1993-05-25 | 1 | -2/+2 | |
| | | | | | | | | | | function found as instance data. * socketmodule.c: added 'flags' argument sendto/recvfrom, rewrite argument parsing in send/recv. * More changes related to access (terminology change: owner instead of class; allow any object as owner; local/global variables are owned by their dictionary, only class/instance data is owned by the class; "from...import *" now only imports objects with public access; etc.) | |||||
* | Access checks now work, at least for instance data (not for methods | Guido van Rossum | 1993-05-20 | 1 | -2/+2 | |
| | | | | | | | yet). The class is now passed to eval_code and stored in the current frame. It is also stored in instance method objects. An "unbound" instance method is now returned when a function is retrieved through "classname.funcname", which when called passes the class to eval_code. | |||||
* | Several changes in one: | Guido van Rossum | 1993-05-19 | 1 | -31/+12 | |
| | | | | | | | | | | | | | | | | (1) dictionaries/mappings now have attributes values() and items() as well as keys(); at the C level, use the new function mappinggetnext() to iterate over a dictionary. (2) "class C(): ..." is now illegal; you must write "class C: ...". (3) Class objects now know their own name (finally!); and minor improvements to the way how classes, functions and methods are represented as strings. (4) Added an "access" statement and semantics. (This is still experimental -- as long as you don't use the keyword 'access' nothing should be changed.) | |||||
* | Support for frozen scripts; added -i option. | Guido van Rossum | 1993-04-01 | 1 | -2/+40 | |
| | ||||||
* | Changes to speed up local variables enormously, by avoiding dictionary | Guido van Rossum | 1993-03-30 | 1 | -1/+1 | |
| | | | | | | lookup (opcode.h, ceval.[ch], compile.c, frameobject.[ch], pythonrun.c, import.c). The .pyc MAGIC number is changed again. Added get_menu_text to flmodule. |