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
This is an issue to collect "glitches" in PyScript, because it's so easy to forget about them. We'll have to see whether to fix or document each one individually.
if x, with x an object can resolve to False if that object has a length property.
IIRC x = x or 0 does not work, since truthy() returns False on a non-truthy and the original object otherwise.
This is an issue to collect "glitches" in PyScript, because it's so easy to forget about them. We'll have to see whether to fix or document each one individually.
if x
, with x an object can resolve toFalse
if that object has alength
property.x = x or 0
does not work, sincetruthy()
returnsFalse
on a non-truthy and the original object otherwise.elif this_is_js():
produces syntactically invalid JS.range()
brings in thepyfunc_range()
even if used in for-loop.assert x
does not usetruthy()
The text was updated successfully, but these errors were encountered: