HomePhabricator

[lint] Fix variables shadowing python builtins in zmq_sub.py

Description

[lint] Fix variables shadowing python builtins in zmq_sub.py

Summary: Shadowing builtins can lead to unexpected behavior. Continuing work from D13740

Test Plan:

ninja bitcoind
./src/bitcoind -testnet -zmqpubsequence=tcp://127.0.0.1:28332
../contrib/zmq/zmq_sub.py

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Differential Revision: https://reviews.bitcoinabc.org/D13750

Details

Provenance
sdulfariAuthored on Apr 20 2023, 18:55
sdulfariPushed on Apr 21 2023, 15:30
Reviewer
Restricted Project
Differential Revision
D13750: [lint] Fix variables shadowing python builtins in zmq_sub.py
Parents
rABC374f5aafce0a: [lint] Ignore shadowing of ord() and chr() builtins in testgen/base58.py
Branches
Unknown
Tags
Unknown