Message394881
In difflib, there's an example where it would be easy to run performance tests.
match tag:
case 'replace':
g = self._fancy_replace(a, alo, ahi, b, blo, bhi)
case 'delete':
g = self._dump('-', a, alo, ahi)
case 'insert':
g = self._dump('+', b, blo, bhi)
case 'equal':
g = self._dump(' ', a, alo, ahi)
case _:
raise ValueError('unknown tag %r' % (tag,)) |
|
Date |
User |
Action |
Args |
2021-06-02 01:11:06 | rhettinger | set | recipients:
+ rhettinger, steven.daprano, xtreak, brandtbucher, Kshitiz17 |
2021-06-02 01:11:06 | rhettinger | set | messageid: <1622596266.67.0.605070355663.issue44276@roundup.psfhosted.org> |
2021-06-02 01:11:06 | rhettinger | link | issue44276 messages |
2021-06-02 01:11:06 | rhettinger | create | |
|