Jim Fulton wrote:
The original use case for CObjects was to export an API from a module, in which case, you'd be importing the API from the module. The presence in the module indicates the type.
Sure, but it can't hurt to have an additional sanity check. Also, there are wider uses for CObjects than this. I see it as a quick way of creating a wrapper when you don't want to go to the trouble of a full-blown extension type. A small amount of metadata would make CObjects much more useful. -- Greg _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com