Raymond Toy <[EMAIL PROTECTED]> writes: >>>>>> "Todd" == Todd Sabin <[EMAIL PROTECTED]> writes: > > > Todd> Is that behavior dependent on the safety/speed settings? I know > Todd> Python tries to do lots of type inference itself, but isn't the point > Todd> of declarations to tell the compiler things that it might not be able > Todd> to figure out on its own? > > Type inference isn't (I think) affected by safety/speed settings. > These settings affect the generated code.
In that case, I guess I don't understand why python chooses to ignore the declaration. Assuming python doesn't throw out all potentially dangerous declarations that it can't prove, why the special treatment here? Todd -- Todd Sabin <[EMAIL PROTECTED]>
