Bugsink
  • Docs
  • Blog
  • Code
  • Community
  • Pricing
  • Sign Up
Bugsink Logo Bugsink
Docs Blog Code Community Pricing Sign Up

Bugsink Blog: Python

Looking for everything? Visit the main blog overview.

Magician switching two birds

Simple Import, Strange Error

Some Python behaviors are unexpected if you've never seen them. Others still seem unexpected once you’ve spent an hour debugging them…

March 18, 2025 by Klaas van Schelven

Man blowing things up on purpose (to gain understanding)

Raise Understanding

Here's a typical debugging scenario: you tweak the code, restart everything, but still – no difference. After 3 changes and some head-scratching…

March 17, 2025 by Klaas van Schelven

An eraser removing some complexity from a stacktrace

raise ... from None

In Python, exceptions can be chained to provide context about what went wrong and why. This is achieved through the "raise ... from" construct…

December 27, 2024 by Klaas van Schelven

Magnifying glass over a log file showing a stack trace

Logs with full Stacktrace Context

There are times when you want to log "something interesting" that isn't quite an error, but still something that's interesting enough to get the same rich debugging context. This article shows how.

December 10, 2024 by Klaas van Schelven

A software developer with a puzzled look

The Stacktrace Puzzle

Explore how Python stacktraces with chained exceptions can become confusing puzzles and solve a few puzzles of your own.

October 17, 2024 by Klaas van Schelven

Python packaging article about MANIFEST.in

Setuptools' MANIFEST.in explained

Packaging in Python is full of historical leftovers. This article explains what MANIFEST.in does, why it caused confusion, and why setuptools_scm is usually the better answer.

August 8, 2019 by Klaas van Schelven

About
Terms Privacy Cookies LinkedIn
Discord 🇪🇺 Made & Hosted in the EU