New submission from Fabio Zadrozny <fab...@users.sourceforge.net>:
When creating a multi-line list it seems that there's an additional line event that goes back to the start of the list. i.e.: considering the code as: [ 1, 2 ] when stepping through the list, a debugger would get a line event at the `1` then at `2` and then at `['. I'm attaching a sample code which prints the traced lines, where it's possible to see that there's a line event that goes backward to the list creation there (note that on Python 3.7 there's no line event for the list creation). ---------- components: Interpreter Core files: snippet33.py messages: 354845 nosy: fabioz priority: normal severity: normal status: open title: Tracing events anomaly when creating a multi-line list type: behavior versions: Python 3.8 Added file: https://bugs.python.org/file48665/snippet33.py _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38508> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com