Message1340
Well, the method is created in PyMethod _doget.
From altering this line in _doget:
if (__builtin__.issubclass(container.fastGetClass(), im_class))
To:
if (__builtin__.issubclass(container.fastGetClass(), im_class) && im_self == null){
the code moves further along in the test, but bombs here:
verify(repr(C.foo.__get__(C(1))).startswith("<bound method "))
at the last line in methods. Ill see what the deal is here.
Im trying to think if the == null makes sense as a test. It guards against the problem, but what else can go wrong.
leouser |
|
| Date |
User |
Action |
Args |
| 2008-02-20 17:17:37 | admin | link | issue1605019 messages |
| 2008-02-20 17:17:37 | admin | create | |
|