[Tutor] Some sample code: review?

Kent Johnson kent37 at tds.net
Sat Nov 11 13:33:16 CET 2006


Danny Yoo wrote:
>> I should, though, rephrase the signature as:
>>
>>    register: object str_function -> string or None
>>
>> to be more readable.  Separately, I can then define that a 'str_function' is 
>> a callable that takes anything and turns it into a string.
> 
> Ok, I made those changes.  I've also fixed a very silly bug.  (Basically, 
> it's the same exact bug that the SOAPpy folks did in traversing shallow 
> structures.)

What was the bug?

Kent



More information about the Tutor mailing list