Message2628
see:
http://sourceforge.net/tracker/index.php?func=detail&aid=1638882&group_id=12867&atid=112867
patch types.py so that BuiltinFunctionType and BuiltinMethodType are the same type.
patch PyBuiltinMethods so that it has the same type as the above. This should help somewhat as I believe each subclass was gettin its own type. Save a little memory, maybe a little time.
patch PyReflectedFunction so that it like above uses the above type. If there are situations where this one needs to have different types, it will need to be enhanced further so that it can have a variable type. The motivator here was so that builtins like type(dir) would report itself as a builtin type.
attached are the patches and an enhanced patch.
leouser |
|
Date |
User |
Action |
Args |
2008-02-20 17:18:38 | admin | link | issue1638982 messages |
2008-02-20 17:18:38 | admin | create | |
|