]> granicus.if.org Git - python/commit
Completely get rid of PyClass and PyInstance.
authorGuido van Rossum <guido@python.org>
Thu, 17 Aug 2006 05:42:55 +0000 (05:42 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 17 Aug 2006 05:42:55 +0000 (05:42 +0000)
commit50e9fb9e2d6b4b12524116ab775ac6543e4a5332
tree96f41e9a6d07a2754fcaceb7b54a7c11f112687f
parentd033ddf4dc501e0920adec9e193750e515bbd128
Completely get rid of PyClass and PyInstance.
(classobject.[ch] aren't empty yet because they also define PyMethod.)
This breaks lots of stuff, notably cPickle. But it's a step in the right
direction. I'll clean it up later.
(Also a few unrelated changes, e.g. T_NONE to define a "struct member"
that is always None, and simplification of __hash__ -- these are unfinished.)
22 files changed:
Include/Python.h
Include/classobject.h
Include/methodobject.h
Include/object.h
Include/structmember.h
Modules/_sre.c
Modules/arraymodule.c
Modules/cPickle.c
Modules/gcmodule.c
Objects/abstract.c
Objects/bytesobject.c
Objects/classobject.c
Objects/dictobject.c
Objects/listobject.c
Objects/object.c
Objects/setobject.c
Objects/stringobject.c
Objects/typeobject.c
Objects/unicodeobject.c
Python/ceval.c
Python/structmember.c
README