From: "David Abrahams" <david.abrahams@rcn.com> > From: "Thomas Heller" <thomas.heller@ion-tof.com> > > > PS: I have code very similar to yours, and a question: > > > > Why does your class_type_object have PyPyBase_ObjectType as > > tp_base? To implement a subtypable type this is not needed > > IMO, or do I miss something? > > I wanted subclasses of my class_type_object to have the same properties as > new-style classes, so it just made sense to me to do that. > > Python's documentation is... less than complete... so I'm sure I'm missing > something. Sure. Unfortunately, PEP253 still talks of PyType_InitDict instead of PyType_Ready, but we're beyond that already;-) Thomas
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4