René's URL Explorer Experiment


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

direct link

Domain: www.mostlypython.com


Hey, it has json ld scripts:
{
    "@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/"
}
    

referrerno-referrer-when-downgrade
og:site_nameMostly Python
og:typearticle
og:imagehttps://storage.ghost.io/c/b0/88/b088fa59-ac78-44d9-9662-4c7568d7cb9a/content/images/size/w1200/2026/01/mp158_recursion_error.png
article:published_time2026-01-08T17:30:59.000Z
article:modified_time2026-02-16T14:31:44.000Z
article:tagrecursion
article:publisherhttps://www.facebook.com/ghost
twitter:cardsummary_large_image
twitter:urlhttps://www.mostlypython.com/debugging-in-python-part-14-resolving-recursion-issues/
twitter:imagehttps://storage.ghost.io/c/b0/88/b088fa59-ac78-44d9-9662-4c7568d7cb9a/content/images/size/w1200/2026/01/mp158_recursion_error.png
twitter:label1Written by
twitter:data1Eric Matthes
twitter:label2Filed under
twitter:data2debugging, recursion
og:image:width1200
og:image:height1013

Links:

Mostly Python https://www.mostlypython.com
Homehttps://www.mostlypython.com/
Topicshttps://www.mostlypython.com/topics/
Serieshttps://www.mostlypython.com/series/
Abouthttps://www.mostlypython.com/about/
Contacthttps://www.mostlypython.com/contact/
Just readhttps://www.mostlypython.com/just-read/
Sign inhttps://www.mostlypython.com/debugging-in-python-part-14-resolving-recursion-issues/#/portal/signin
Subscribehttps://www.mostlypython.com/debugging-in-python-part-14-resolving-recursion-issues/#/portal/signup
debugginghttps://www.mostlypython.com/tag/debugging/
https://www.mostlypython.com/author/eric/
Eric Mattheshttps://www.mostlypython.com/author/eric/
serieshttps://www.mostlypython.com/debugging-in-python-2/
last posthttps://www.mostlypython.com/debugging-part-13-finishing-go-fish/
have been updatedhttps://github.com/ehmatthes/mostly_python/tree/main/mp158_debugging_14/go_fish_cli_argparse?ref=mostlypython.com
herehttps://github.com/ehmatthes/mostly_python/tree/main/mp158_debugging_14/go_fish_cli_auto_play?ref=mostlypython.com
copy of the projecthttps://github.com/ehmatthes/mostly_python/tree/main/mp158_debugging_14/go_fish_cli_auto_play?ref=mostlypython.com
similar changeshttps://github.com/ehmatthes/mostly_python/tree/main/mp158_debugging_14/go_fish_manage_game?ref=mostlypython.com
truly fixedhttps://github.com/ehmatthes/mostly_python/tree/main/mp158_debugging_14/go_fish_manage_game?ref=mostlypython.com
these changeshttps://github.com/ehmatthes/mostly_python/tree/main/mp158_debugging_14/go_fish_5000_games?ref=mostlypython.com
Exploring chess games MP 171: A first foray into the massive Lichess database. I've been getting back into chess since moving to North Carolina, and as part of that journey I've been wanting to analyze games in ways that weren't really possible when I was last playing By Eric Matthes Jul 9, 2026 https://www.mostlypython.com/exploring-chess-games/
I keep being be impressed by uv MP 170: It understands my old projects! A few years ago I made a small project that automatically adds borders to screenshots, because macOS doesn't have a built-in tool to easily do that. For a couple years I installed it globally on every system I used, so By Eric Matthes Jun 25, 2026 https://www.mostlypython.com/i-keep-being-be-impressed-by-uv/
An LLM can't go for a walk in the woods MP 169: But we still can, and we should keep doing so. Regular readers of Mostly Python are probably aware that I'm currently working on gh-profiler. It helps open source maintainers make better-informed decisions about how much time to invest with users who open new PRs By Eric Matthes Jun 11, 2026 https://www.mostlypython.com/an-llm-cant-go-for-a-walk-in-the-woods/
Batching API calls MP 168: An obvious speedup, with a surprising side benefit. I've been working steadily on gh-profiler, while attending PyCon US and working on other projects as well. The project makes a number of calls to GitHub's API, and then analyzes the results to generate some By Eric Matthes May 28, 2026 https://www.mostlypython.com/batching-api-calls/
Sign uphttps://www.mostlypython.com/debugging-in-python-part-14-resolving-recursion-issues/#/portal/
Ghosthttps://ghost.org/

Viewport: width=device-width, initial-scale=1.0


URLs of crawlers that visited me.