Closed frenzymadness closed 6 months ago
So, the difference between normalized_dump1 and dump2 is for example:
78c78
< attr='_pending_removals')], value=List(ctx=Load())),
---
> attr='_pending_removals')], value=List()),
The re.sub removes ctx.Load()
only if it's preceded by ,
which is not true in all cases. I'm gonna propose a fix for the regular expression.
When run with Python 3.13.0b1 the
test_sys_modules
fails:I run it with
-s
so you can see the filename in the output/usr/lib64/python3.13/importlib/_bootstrap.py
. Unfortunately, when run with-vv
the output is so long that it's not possible for me to detect the actual differences.