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
pdb debugger command <ll> (longlist shows wrong current line in python versions 3.10, 3.11 #104207
(Pdb) l
1 -> a = 10
2 b = a + 5
3 c = a + b
4
5 print(c)
[EOF]
(Pdb)
But if you type ll (long list), you will see next
(Pdb) ll
0 a = 10
1 -> b = a + 5
2 c = a + b
3
4 print(c)
(Pdb)
you can see cursor '->' show different positions.
I reproduced it for version 3.10 and 3.11
In python version 3.8 everything is fine. There is no problem. The position is the same.
I believe this is fixed by #103265 . 3.10 stopped taking bug fixes now, I don't know why it was not ported back in 3.11. I'll label this as pending for now.
Activity
gaogaotiantian commentedon May 5, 2023
I believe this is fixed by #103265 . 3.10 stopped taking bug fixes now, I don't know why it was not ported back in 3.11. I'll label this as pending for now.
gaogaotiantian commentedon May 9, 2023
The fix is merged back in 3.11 #104262. Close as fixed.