ColdWater@lemmy.ca to linuxmemes@lemmy.worldEnglish · edit-25 months agoWine acronymlemmy.caimagemessage-square93fedilinkarrow-up1560arrow-down113
arrow-up1547arrow-down1imageWine acronymlemmy.caColdWater@lemmy.ca to linuxmemes@lemmy.worldEnglish · edit-25 months agomessage-square93fedilink
minus-squareHildegarde@lemmy.worldlinkfedilinkarrow-up35·5 months agoGNU’s not Unix image manipulation program toolkit.
minus-squarelightnegative@lemmy.worldlinkfedilinkarrow-up16·5 months agoRecursionError: Maximum recursion depth exceeded image manipulation toolkit
minus-squareѕєχυαℓ ρσℓутσρє@lemmy.sdf.orglinkfedilinkarrow-up2·5 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-squarelightnegative@lemmy.worldlinkfedilinkarrow-up5·5 months agoWe cannot, Python explicitly doesn’t do TCO. http://neopythonic.blogspot.com/2009/04/tail-recursion-elimination.html?m=1
minus-squareAVincentInSpace@pawb.sociallinkfedilinkEnglisharrow-up2·5 months agoIs there a separate RecursionError in modern versions of Python? Been a couple years but I remember it just being a RuntimeError
minus-squareJetpackJackson@feddit.orglinkfedilinkarrow-up8·edit-25 months agoLol Edit: TIL that’s what GTK stands for
minus-squareHStone32@lemmy.worldlinkfedilinkarrow-up1·5 months agoGNU’s not Unix image manipulation program toolkit public license
GNU’s not Unix image manipulation program toolkit.
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
Lol Edit: TIL that’s what GTK stands for
GNU’s not Unix image manipulation program toolkit public license