One function

add_list_calls in py2many/py2many

The author described this change as Fix tests. It counts as a record because the check below fails on the code as it stood at 3d8eb89f9 and passes on e91480343, with nothing else changed between the two runs.

Fix saved2021-01-23
Sharing licenceMIT · LICENSE
Change size+1 0

What the code was meant to do, written into the code itself as a docstring

Provide context to Module and Function Def

The change

11 def add_list_calls(node):
22 """Provide context to Module and Function Def"""
3+ return ListCallTransformer().visit(node)

The check that tells the two apart

failpass·pyrs/tests/test_tracer.py::TestValueType::test_list_assignment_based_on_later_append

Check file pyrs/tests/test_tracer.py, taken without changes from the fix and copied onto the older code, so the exact same check runs against both versions.

Origin and history

The code before it3d8eb89f93988f3262e57b524b1e4a6d0903b628
Broken version dated2020-12-08
Modulepyrs.context
Units changedadd_list_calls
Fingerprint4da42523461e0534
Checked2026-08-18 by goldset/0.1

Every field above is generated by our program. None of it is written by hand.