From: SourceForge.net <no...@so...> - 2007-01-18 21:21:00
|
Patches item #1638982, was opened at 2007-01-18 21:19 Message generated for change (Comment added) made by leouserz You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=312867&aid=1638982&group_id=12867 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: leouser (leouserz) Assigned to: Nobody/Anonymous (nobody) Summary: Patches for [ 1638882 ] subclasses of BuiltinFunction types Initial Comment: 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 ---------------------------------------------------------------------- >Comment By: leouser (leouserz) Date: 2007-01-18 21:20 Message: Logged In: YES user_id=1277399 Originator: YES File Added: testbuiltins.py ---------------------------------------------------------------------- Comment By: leouser (leouserz) Date: 2007-01-18 21:20 Message: Logged In: YES user_id=1277399 Originator: YES File Added: PyReflectedFunctionDiff.txt ---------------------------------------------------------------------- Comment By: leouser (leouserz) Date: 2007-01-18 21:20 Message: Logged In: YES user_id=1277399 Originator: YES File Added: PyBuiltinFunctionDiff.txt ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=312867&aid=1638982&group_id=12867 |