[Python-3000] Introspection broken for objects using Py_FindMethod() (original) (raw)
Guido van Rossum guido at python.org
Wed Jul 18 01:52:16 CEST 2007
- Previous message: [Python-3000] Introspection broken for objects using Py_FindMethod()
- Next message: [Python-3000] Introspection broken for objects using Py_FindMethod()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 7/17/07, Alexandre Vassalotti <alexandre at peadrop.com> wrote:
Hi,
It is intentional that the introspection broken for objects using PyFindMethod()? For example: Python 3.0x (cpymerge: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/)
- Previous message: [Python-3000] Introspection broken for objects using Py_FindMethod()
- Next message: [Python-3000] Introspection broken for objects using Py_FindMethod()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]