]> granicus.if.org Git - python/commit
Implement PEP 3115 -- new metaclass syntax and semantics.
authorGuido van Rossum <guido@python.org>
Sun, 18 Mar 2007 15:41:51 +0000 (15:41 +0000)
committerGuido van Rossum <guido@python.org>
Sun, 18 Mar 2007 15:41:51 +0000 (15:41 +0000)
commit52cc1d838f4fee573e57b5b182d8e5f5db63240f
tree0ea50468d2b04ee12131c155c5918e8a70dafe1c
parentef17c16b366b09a78dfe5fc5171fe2b0b29f60e5
Implement PEP 3115 -- new metaclass syntax and semantics.
The compiler package hasn't been updated yet; test_compiler.py fails.
Otherwise all tests seem to be passing now.  There are no occurrences
of __metaclass__ left in the standard library.
Docs have not been updated.
25 files changed:
Grammar/Grammar
Include/Python-ast.h
Include/opcode.h
Lib/build_class.py [new file with mode: 0644]
Lib/ctypes/_endian.py
Lib/opcode.py
Lib/string.py
Lib/test/crashers/modify_dict_attr.py
Lib/test/leakers/test_selftype.py
Lib/test/pickletester.py
Lib/test/test_ast.py
Lib/test/test_copy.py
Lib/test/test_descr.py
Lib/test/test_metaclass.py [new file with mode: 0644]
Lib/unittest.py
Modules/_bsddb.c
Parser/Python.asdl
Python/Python-ast.c
Python/ast.c
Python/bltinmodule.c
Python/ceval.c
Python/compile.c
Python/graminit.c
Python/import.c
Python/symtable.c