]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Several changes in one:
authorGuido van Rossum <guido@python.org>
Wed, 19 May 1993 14:50:45 +0000 (14:50 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 19 May 1993 14:50:45 +0000 (14:50 +0000)
commit25831652fd4c03323066d4cafdc0551c396a993e
tree69588df0f98b3280402cad3ed95865d06fa21702
parent687dd13bfec51849c93db7c538ff41d4c8ecddcb
Several changes in one:

(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.)
21 files changed:
Grammar/Grammar
Include/allobjects.h
Include/classobject.h
Include/dictobject.h
Include/errors.h
Include/funcobject.h
Include/graminit.h
Include/mappingobject.h
Include/opcode.h
Include/pyerrors.h
Objects/classobject.c
Objects/dictobject.c
Objects/funcobject.c
Objects/mappingobject.c
Objects/moduleobject.c
Python/bltinmodule.c
Python/ceval.c
Python/compile.c
Python/graminit.c
Python/import.c
Python/marshal.c