Message39441
This patch fixes bug #535444. It is against the
current CVS version of Python, and addresses the
problem by adding a 'starttype' variable to
'super_getattro', which works the same as 'starttype'
in the pure-Python version of super in the descriptor
tutorial. This variable is then passed to the
descriptor __get__ function, ala
'descriptor.__get__(self.__obj__,starttype)'.
This patch does not correct the pure-Python version of
'super' in the descriptor tutorial; I don't know where
that file is or how to submit a patch for it.
This patch also does not include a regression test for
the bug. I do not know what would be considered the
appropriate test script to place this in.
Thanks.
|
|
Date |
User |
Action |
Args |
2007-08-23 15:11:58 | admin | link | issue537536 messages |
2007-08-23 15:11:58 | admin | create | |
|