Title: Debugging in Python, part 14: Resolving recursion issues
Open Graph Title: Debugging in Python, part 14: Resolving recursion issues
X Title: Debugging in Python, part 14: Resolving recursion issues
Open Graph Description: MP 158: Fixing a recursion bug that only shows up after many consecutive games. Note: This post is part of an ongoing series about debugging in Python. The posts in this series will only be available to paid subscribers for the first 6 weeks. After that they will be available
X Description: MP 158: Fixing a recursion bug that only shows up after many consecutive games. Note: This post is part of an ongoing series about debugging in Python. The posts in this series will only be available to paid subscribers for the first 6 weeks. After that they will be available
Opengraph URL: https://www.mostlypython.com/debugging-in-python-part-14-resolving-recursion-issues/
X: @ghost
Generator: Ghost 6.52
Domain: www.mostlypython.com
{
"@context": "https://schema.org",
"@type": "Article",
"publisher": {
"@type": "Organization",
"name": "Mostly Python",
"url": "https://www.mostlypython.com/",
"logo": {
"@type": "ImageObject",
"url": "https://storage.ghost.io/c/b0/88/b088fa59-ac78-44d9-9662-4c7568d7cb9a/content/images/size/w256h256/2024/02/logo_200px.png",
"width": 60,
"height": 60
}
},
"author": {
"@type": "Person",
"name": "Eric Matthes",
"image": {
"@type": "ImageObject",
"url": "https://www.gravatar.com/avatar/8654149218edba613bd0ec265759fc38?s=250&r=x&d=mp",
"width": 250,
"height": 250
},
"url": "https://www.mostlypython.com/author/eric/",
"sameAs": []
},
"headline": "Debugging in Python, part 14: Resolving recursion issues",
"url": "https://www.mostlypython.com/debugging-in-python-part-14-resolving-recursion-issues/",
"datePublished": "2026-01-08T17:30:59.000Z",
"dateModified": "2026-02-16T14:31:44.000Z",
"image": {
"@type": "ImageObject",
"url": "https://storage.ghost.io/c/b0/88/b088fa59-ac78-44d9-9662-4c7568d7cb9a/content/images/size/w1200/2026/01/mp158_recursion_error.png",
"width": 1200,
"height": 1013
},
"keywords": "debugging, recursion",
"description": "MP 158: Fixing a recursion bug that only shows up after many consecutive games.\n\nNote: This post is part of an ongoing series about debugging in Python. The posts in this series will only be available to paid subscribers for the first 6 weeks. After that they will be available to everyone. Thank you to everyone who supports my ongoing work on Mostly Python.\n\nIn the last post, we finished implementing the basic logic to run through an entire Go Fish game. At the end of a game, we let the user cho",
"mainEntityOfPage": "https://www.mostlypython.com/debugging-in-python-part-14-resolving-recursion-issues/"
}
| referrer | no-referrer-when-downgrade |
| og:site_name | Mostly Python |
| og:type | article |
| og:image | https://storage.ghost.io/c/b0/88/b088fa59-ac78-44d9-9662-4c7568d7cb9a/content/images/size/w1200/2026/01/mp158_recursion_error.png |
| article:published_time | 2026-01-08T17:30:59.000Z |
| article:modified_time | 2026-02-16T14:31:44.000Z |
| article:tag | recursion |
| article:publisher | https://www.facebook.com/ghost |
| twitter:card | summary_large_image |
| twitter:url | https://www.mostlypython.com/debugging-in-python-part-14-resolving-recursion-issues/ |
| twitter:image | https://storage.ghost.io/c/b0/88/b088fa59-ac78-44d9-9662-4c7568d7cb9a/content/images/size/w1200/2026/01/mp158_recursion_error.png |
| twitter:label1 | Written by |
| twitter:data1 | Eric Matthes |
| twitter:label2 | Filed under |
| twitter:data2 | debugging, recursion |
| og:image:width | 1200 |
| og:image:height | 1013 |
Links:
Viewport: width=device-width, initial-scale=1.0