Alex Hall <[email protected]> added the comment:
I just came across https://www.python.org/dev/peps/pep-0626/, seems like this
would need to be fixed to satisfy the PEP, but on the latest CPython it's not:
```
➜ ~ python3.10 ~/Downloads/trace_skipping_lines_bug.py
14 slug = "doing_the_thing"
15 print(slug
16 .replace("_", " ")
15 print(slug
19 .replace("a", "b")
15 print(slug
21 .replace("The ", "the "))
15 print(slug
doing the thing
➜ ~ python3.10 --version
Python 3.10.0a6+
➜ ~ python3.10
Python 3.10.0a6+ (heads/master:cd8dcbc, Mar 14 2021, 11:58:23) [GCC 7.5.0] on
linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
```
----------
type: -> behavior
versions: +Python 3.10
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue39316>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com