You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For (possibly) all variables types (e.g. BoolVar, IntVar) etc, we do not do any type validation/conversion if the user tries to create a variable with a value that is not a boolean or integer.
Some suggests for cases where we should consider converting instead of failing: BoolVar(1, "i") --> BoolVar(True, "i") IntVar(1.0, "j") --> IntVar(1, "j")
There may also be some other cases where it would make more sense to warn & convert instead of failing.
The text was updated successfully, but these errors were encountered:
For (possibly) all variables types (e.g.
BoolVar
,IntVar
) etc, we do not do any type validation/conversion if the user tries to create a variable with a value that is not a boolean or integer.Some suggests for cases where we should consider converting instead of failing:
BoolVar(1, "i")
-->BoolVar(True, "i")
IntVar(1.0, "j")
-->IntVar(1, "j")
There may also be some other cases where it would make more sense to warn & convert instead of failing.
The text was updated successfully, but these errors were encountered: