On Apr 1, 2009, at 11:51 PM, Guido van Rossum wrote:
...
Note also this cheap exported-vtable hack isn't the
only use of CObjects; for example _ctypes uses them to wrap plenty of
one-off objects which are never set as attributes of the _ctypes
module.
We'd like a solution that enforces some safety for those too,
without
creating spurious module attributes.
Why would you care about safety for ctypes? It's about as unsafe as it
gets anyway. Coredump emptor I say.
At which point, I wonder why we worry so much about someone
intentionally breaking a CObject as in Larry's example.
Jim
--
Jim Fulton
Zope Corporation
_______________________________________________
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