Whole file

marshallward/f90nml

The author described this change as Case-insensitive del fix. It counts as a record because the check below fails on the code as it stood at 3e24a974f and passes on 0fdcedd12, with nothing else changed between the two runs.

Fix saved2022-06-01
Sharing licenceApache-2.0 · LICENSE
Change size+1 1

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

Case-insensitive del fix

The change

162162
163163 self._cogroups.pop(lkey)
164164 else:
165- super(Namelist, self).__delitem__(key)
165+ super(Namelist, self).__delitem__(lkey)
166166
167167 def __getitem__(self, key):
168168 """Case-insensitive interface to OrderedDict."""

The check that tells the two apart

failpass·tests/test_f90nml.py::Test::test_del_item

Check file tests/test_f90nml.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 it3e24a974fcb2437eb8b50174ab141d604fcffc98
Broken version dated2022-05-31
Modulef90nml.namelist
Units changedNamelist
Fingerprint5b8b4184fe346973
Checked2026-08-18 by goldset/0.1

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

Other bugs found in marshallward/f90nml