[Python-3000] Introspection broken for objects using Py_FindMethod()
Alexandre Vassalotti
alexandre at peadrop.com
Wed Jul 18 01:27:54 CEST 2007
Hi,
It is intentional that the introspection broken for objects using
Py_FindMethod()? For example:
Python 3.0x (cpy_merge:56413:56414M, Jul 17 2007, 13:57:23)
[GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)] on linux2
>>> import cPickle
>>> dir(cPickle.Unpickler(file))
[]
>>> dir(cPickle.Pickler(file))
['PicklingError', snip...]
Thanks,
-- Alexandre
More information about the Python-3000
mailing list