BIP340: replace deprecated next() with built-in next() function #1960

pull adblesss wants to merge 1 commits into bitcoin:master from adblesss:master changing 1 files +1 −1
  1. adblesss commented at 8:28 am on September 8, 2025: none

    Use the built-in next() function instead of directly calling the private next() method on the CSV reader iterator;

    This follows Python best practices and PEP 3114 recommendations. The functionality remains identical while improving code readability.

  2. replace deprecated __next__() with built-in next() function 5ea6c99cd5
  3. jonatack renamed this:
    replace deprecated __next__() with built-in next() function
    BIP340: replace deprecated __next__() with built-in next() function
    on Sep 11, 2025
  4. jonatack commented at 0:13 am on September 11, 2025: member
    Thank you for your proposal @adblesss. While correct, this change probably isn’t worth bothering the BIP authors over, so closing for now.
  5. jonatack closed this on Sep 11, 2025


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bips. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2025-09-13 09:10 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me