@[email protected] to [email protected]English • edit-211 months agoWine acronymlemmy.caimagemessage-square91fedilinkarrow-up1559
arrow-up1559imageWine acronymlemmy.ca@[email protected] to [email protected]English • edit-211 months agomessage-square91fedilink
minus-square@[email protected]linkfedilink1•11 months agoGNU’s not Unix image manipulation program toolkit public license
minus-square@[email protected]linkfedilink8•edit-211 months agoLol Edit: TIL that’s what GTK stands for
minus-square@[email protected]linkfedilink16•11 months agoRecursionError: Maximum recursion depth exceeded image manipulation toolkit
minus-squareѕєχυαℓ ρσℓутσρєlinkfedilink2•11 months 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•11 months agoWe cannot, Python explicitly doesn’t do TCO. http://neopythonic.blogspot.com/2009/04/tail-recursion-elimination.html?m=1
minus-square@[email protected]linkfedilinkEnglish2•11 months agoIs there a separate RecursionError in modern versions of Python? Been a couple years but I remember it just being a RuntimeError
GNU’s not Unix image manipulation program toolkit.
GNU’s not Unix image manipulation program toolkit public license
Lol Edit: TIL that’s what GTK stands for
RecursionError: Maximum recursion depth exceeded image manipulation toolkit
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
Is there a separate RecursionError in modern versions of Python? Been a couple years but I remember it just being a RuntimeError