@[email protected] to [email protected]English • edit-21 year agoWine acronymlemmy.caimagemessage-square91fedilinkarrow-up1560
arrow-up1560imageWine acronymlemmy.ca@[email protected] to [email protected]English • edit-21 year agomessage-square91fedilink
minus-square@[email protected]linkfedilink16•1 year agoRecursionError: Maximum recursion depth exceeded image manipulation toolkit
minus-square@[email protected]linkfedilinkEnglish2•1 year agoIs there a separate RecursionError in modern versions of Python? Been a couple years but I remember it just being a RuntimeError
minus-squareѕєχυαℓ ρσℓутσρєlinkfedilink2•1 year agoI haven’t really done much recursion in Python, but can’t we do a tail-recursive version so that it (almost) never reaches recursion depth issues?
minus-square@[email protected]linkfedilink5•1 year agoWe cannot, Python explicitly doesn’t do TCO. http://neopythonic.blogspot.com/2009/04/tail-recursion-elimination.html?m=1
minus-square@[email protected]linkfedilink1•1 year agoGNU’s not Unix image manipulation program toolkit public license
GNU’s Not Unix! moment
GNU’s not Unix image manipulation program toolkit.
RecursionError: Maximum recursion depth exceeded image manipulation toolkit
Is there a separate RecursionError in modern versions of Python? Been a couple years but I remember it just being a RuntimeError
I haven’t really done much recursion in Python, but can’t we do a tail-recursive version so that it (almost) never reaches recursion depth issues?
We cannot, Python explicitly doesn’t do TCO.
http://neopythonic.blogspot.com/2009/04/tail-recursion-elimination.html?m=1
Lol Edit: TIL that’s what GTK stands for
GNU’s not Unix image manipulation program toolkit public license