inducer / pudb

Full-screen console debugger for Python
https://documen.tician.de/pudb/
Other
2.99k stars 229 forks source link

Fix compatibility with Python 3.13 #664

Closed inducer closed 1 month ago

inducer commented 1 month ago

This fixes a few issues I've noticed with Python 3.13, which seems to contain quite a few changes to bdb. This seems to work for me, but I'm not necessarily confident in these changes. See the commit messages for some explanation.

I would love some testing from others before I release this.

@asmeurer @mvanderkamp Would you be willing to give this a look/test?

inducer commented 1 month ago

Ah well, it's probably better to have this than not. I'll merge and roll a release.

asmeurer commented 1 month ago

The code here seems to be related to the work I did on unbreakpointing a set_trace line. I tested it in 3.9, 3.12, and 3.13 and it still seems to work.

inducer commented 1 month ago

Thanks for taking a look!