Open limwz01 opened 16 hours ago
An approach similar to mine at https://github.com/limwz01/ipython_utils and published at https://pypi.org/project/ipython-utils/ might help here. My code is very complicated but that's also because I wanted to support dynamic reloading of the code after an exception.
Thank you for the detailed report and the many test cases. Like I said in the other issue, we might not be able to fix all of them, but I'll see if there's something cheap and readable thing I can do to fix some of these!
Bug report
Bug description:
The following code is the template to illustrate the problems:
The problems:
(it does return a value for
global g; g=1; g
. but I'm at a loss as to where that value comes from)@gaogaotiantian
CPython versions tested on:
3.13
Operating systems tested on:
Linux