Replace deprecated cmp= parameter with key=cmp_to_key() in sorting functions. The cmp parameter was removed in Python 3, causing TypeError when running the example code
BIP69: fix Python 3 compatibility in examples #1957
pull crisseee wants to merge 1 commits into bitcoin:master from crisseee:master changing 1 files +3 −2-
crisseee commented at 7:12 PM on September 6, 2025: none
-
BIP69: fix Python 3 compatibility in examples 6ef560c6b1
- jonatack added the label Proposed BIP modification on Sep 6, 2025
- jonatack closed this on Sep 6, 2025
-
crisseee commented at 8:40 AM on September 7, 2025: none
Ohhhhh, thanks!