You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
remote debugging: read_pylong is missing a PyErr_Format call #148447
I'm working on the Python Profiler at Datadog and while looking at how Tachyon is implemented, I noticed that I believe this error path is missing a call to PyErr_Format. This probably rarely happens (it would require the process to read corrupt memory) but I still think it's worth fixing.
I have a branch that adds the call if you're OK with adding it.
changed the title [-]remote-debugging: `read_pylong` is missing a `PyErr_Format` call[/-][+]remote- debugging: `read_pylong` is missing a `PyErr_Format` call[/+]on Apr 12, 2026
changed the title [-]remote- debugging: `read_pylong` is missing a `PyErr_Format` call[/-][+]remote debugging: `read_pylong` is missing a `PyErr_Format` call[/+]on Apr 12, 2026
Activity
[-]remote-debugging: `read_pylong` is missing a `PyErr_Format` call[/-][+]remote- debugging: `read_pylong` is missing a `PyErr_Format` call[/+][-]remote- debugging: `read_pylong` is missing a `PyErr_Format` call[/-][+]remote debugging: `read_pylong` is missing a `PyErr_Format` call[/+]brianschubert commentedon Apr 12, 2026
Looks like this was already fixed in #146309, the relevant call is present in main:
cpython/Modules/_remote_debugging/object_reading.c
Lines 197 to 204 in 03d2f03
KowalskiThomas commentedon Apr 12, 2026
Ah! My main was outdated then, sorry for the false alarm. Closing.