On 19-Dec-07, at 9:25 PM, Wes Gamble wrote:

>> If I understand correctly what you're intending, you can sort'a get
>> around it via the following technique in which the public priv_meth()
>> over-rides the private one. This is not ideal though since it leaves
>> priv_meth() public. Is this what you're thinking?
>>
>
> Not exactly.  I need to modify the body of priv_meth, not expose it
> publicly.


As far as I know modifying the existing function itself isn't  
possible. Sounds like you're talking about code injection into the  
private function? That's not quite the same as monkey patching and as  
far as I know not possible in any context.