py-spy v0.4.2 Release Notes

Release Date: 2026-04-24 // about 2 months ago

Previous changes from v0.4.1

  • 🔄 Changes

    🚀 Features

    🛠 🐛 Bug Fixes

    • 🛠 Fix profiling on windows with python3.12 @benfred (#774)
    • 🛠 Fix Symbol mapping issue when we have multiple executable segments @yinghai (#765)
    • 🛠 Fix panic in Python 3.12 line number handling @sahinfalcon (#736)
    • 🏗 don't copy all of PyInterpreterState (fixes debug build stack overflow) @karolinepauls (#789)
    • Page-align offset before calculating virtual addresses for ELF @andrewjcg (#626)
    • ➕ Add the Copy trait for python interpreter traits @benfred (#791)
    • 🛠 fix stack trace fetching on 32-bit cpython 3.12 and 3.13 @skrap (#773)
    • fix test_negative_linenumber_increment assertion for py>=3.12 @karolinepauls (#788)
    • 🛠 fix panic with Python 3.13 shim frames @karolinepauls (#787)
    • Avoid break string inside unicode char when formatting @tespent (#767)
    • Do not fail sampling completely if a single thread dies before sampling @I-Al-Istannen (#771)
    • 🛠 Fix native stack merging for Python 3.12/3.13 @krfricke (#751)
    • 🏗 Don't include undef sym refs when building map of symbol definitions @andrewjcg (#629)

    📚 📄 Documentation

    • 📄 docs: use debug ephemeral containers @duhow (#769)

    🚧 🧰 Maintenance