On 7/17/07, Alexandre Vassalotti <[EMAIL PROTECTED]> wrote: > 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...]
Yes, see a thread between me, Georg and Brett around March 7-10: http://mail.python.org/pipermail/python-3000/2007-March/006061.html I think the conclusion was to get rid of Py_FindMethod altogether. The replacement isn't very hard. But it hasn't been done yet. -- --Guido van Rossum (home page: http://www.python.org/~guido/) _______________________________________________ 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
