[issue44576] AttributeError: incorrect line identified in Python 3.10

Mark Shannon report at bugs.python.org
Wed Jul 7 10:58:56 EDT 2021


Mark Shannon <mark at hotpy.org> added the comment:

This is a tricky one.
Which is the "correct" line appears to be subjective.

I'm inclined to leave it as is, as the tracing sequence seems better in the case of method chaining.
See https://github.com/python/cpython/blob/main/Lib/test/test_compile.py#L890

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44576>
_______________________________________


More information about the Python-bugs-list mailing list