[Python-Dev] A couple of quick type system questions

David Abrahams David Abrahams" <david.abrahams@rcn.com
Fri, 10 May 2002 17:05:06 -0500

1. I realize that some objects have no dict. Must every /type/ have a dict,
or is it possible to have a type with only slots?

2. Suppose I want to generate a new type object dynamically? How do I go
about choosing an appropriate allocator?


                  David Abrahams
      C++ Booster (http://www.boost.org)               O__  ==
      Pythonista (http://www.python.org)              c/ /'_ ==
  resume: http://users.rcn.com/abrahams/resume.html  (*) \(*) ==
          email: david.abrahams@rcn.com