
Nov. 1, 2003
12:40 a.m.
On Thursday 30 October 2003 08:54 am, Alex Martelli wrote:
just like in about ALL cases of Python calls *except* "aclass.baz(aninst)" which is an exceptional case in which Python itself does (enforced) typechecking for you.
Out of curiosity, why does Python do this typechecking? I just ran into a situation where such calls in my subclass of sets.Set fail if the sets module gets reloaded. Is there some really important reason why in this case (and only this case) Python does typechecking on pure-Python classes? Jeremy