At 01:48 PM 4/30/2007 +1200, Greg Ewing wrote: >Currently, isinstance(x, C) implies that the >C struct layout of x is compatible with that >defined by C.
No, it doesn't, and hasn't since Python 2.3. > I'm worried that changing this >could cause difficulties for extension modules >that use PyObject_IsInstance do decide what >to do with things, e.g. in a binary operator >method. > >-- >Greg >_______________________________________________ >Python-3000 mailing list >[email protected] >http://mail.python.org/mailman/listinfo/python-3000 >Unsubscribe: >http://mail.python.org/mailman/options/python-3000/pje%40telecommunity.com _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
