Hello!

Creating a test case for a change in twisted/manhole/explorer.py, I
found these lines in CRUFT_WatchyThingie.watchObject:

        if type(object) is not types.InstanceType:
            raise TypeError, "Sorry, can only place a watch on Instances."

Always talking in Python 2, if you pass an instance of an old style
class as the "object", it will be ok; but if you pass a new style
class, it will raise TypeError.

So, I wanted just to ask if this is on purpose, should I open a bug
about it, or what.

Thank you!

-- 
.    Facundo

Blog: http://www.taniquetil.com.ar/plog/
PyAr: http://www.python.org/ar/

_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to