summaryrefslogtreecommitdiff
path: root/Include/opcode.h
AgeCommit message (Collapse)AuthorLines
1995-01-04Added 1995 copyright.Guido van Rossum-2/+2
object.h: made sizes and refcnts signed ints. stringobject.h: make getstrsize() signed int. methodobject.h: add METH_VARARGS and METH_FREENAME flag bit definitions.
1994-08-01Merge alpha100 branch back to main trunkGuido van Rossum-1/+3
1993-10-18* bltinmodule.c: removed exec() built-in function.Guido van Rossum-0/+2
* Grammar: add exec statement; allow testlist in expr statement. * ceval.c, compile.c, opcode.h: support exec statement; avoid optimizing locals when it is used * fileobject.{c,h}: add getfilename() internal function.
1993-07-28* Added support for X11 modules.Guido van Rossum-0/+11
* Makefile: change location of FORMS library. * posixmodule.c: turn #if 0 into #ifdef MSDOS (stuff in unistd.h or not) * Almost all .h files: added CPP magic to avoid duplicate inclusions and to support inclusion from C++.
1993-05-19Several changes in one:Guido van Rossum-0/+1
(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.)
1993-03-30Changes to speed up local variables enormously, by avoiding dictionaryGuido van Rossum-8/+6
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.
1993-03-29* Changed all copyright messages to include 1993.Guido van Rossum-2/+6
* Stubs for faster implementation of local variables (not yet finished) * Added function name to code object. Print it for code and function objects. THIS MAKES THE .PYC FILE FORMAT INCOMPATIBLE (the version number has changed accordingly) * Print address of self for built-in methods * New internal functions getattro and setattro (getattr/setattr with string object arg) * Replaced "dictobject" with more powerful "mappingobject" * New per-type functio tp_hash to implement arbitrary object hashing, and hashobject() to interface to it * Added built-in functions hash(v) and hasattr(v, 'name') * classobject: made some functions static that accidentally weren't; added __hash__ special instance method to implement hash() * Added proper comparison for built-in methods and functions
1992-04-05Copyright for 1992 addedGuido van Rossum-1/+1
1992-01-14Added UNPACK_VARARG.Guido van Rossum-0/+1
1991-12-16Added UNPACK_ARG.Guido van Rossum-1/+3
1991-12-10Added _GLOBAL opcodes.Guido van Rossum-0/+2
1991-10-24Added shift and mask ops.Guido van Rossum-0/+8
1991-04-04Added opcodes to load local/global variablesGuido van Rossum-0/+3
1991-02-19Added copyright notice.Guido van Rossum-0/+24
1990-12-20"Compiling" versionGuido van Rossum-1/+6
1990-11-18Added opcodes for classes.Guido van Rossum-0/+2
1990-11-18Initial revisionGuido van Rossum-0/+78