Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
nerdponx
· 9y ago · 0 comments
As far as I know there is no native mechanism for short circuiting in Python. So anything that short-circuits should be considered a special case.
Comments
[–]
HCIdivision17
9y ago
Binary operations will do it, like in `True or foo()`, but there's no real lazy evaluation machinery for parameters to a function. (Yet? I bet someone's working on it... at least I haven't tried any packages like lazypy for it.)