This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jbw
Recipients andrei.avk, iritkatriel, jbw, kj, moi90, serhiy.storchaka
Date 2021-10-20.13:58:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1634738289.87.0.955238992283.issue43656@roundup.psfhosted.org>
In-reply-to
Content
I'm sorry Andrei: I misread your alteration of my example and misunderstood its purpose.

For anyone else reading these messages: In my most recent comment above, please ignore the part of my comment about Andrei's example.

So yes, Andrei, that is how people should write their code!  Your code does not trigger the bug because it is written in a better way.  Agreed completely.

However, this bug still needs fixed because it is currently not possible to use the capture_locals=True feature of the traceback module when debugging code written by people who do not follow Andrei's example of best practice.
History
Date User Action Args
2021-10-20 13:58:09jbwsetrecipients: + jbw, serhiy.storchaka, iritkatriel, moi90, kj, andrei.avk
2021-10-20 13:58:09jbwsetmessageid: <1634738289.87.0.955238992283.issue43656@roundup.psfhosted.org>
2021-10-20 13:58:09jbwlinkissue43656 messages
2021-10-20 13:58:09jbwcreate