scripted-diff: Use python 3.7 syntax capture_output=True #26914

pull MarcoFalke wants to merge 1 commits into bitcoin:master from MarcoFalke:2301-py37-output-capture-🔔 changing 4 files +5 −5
  1. MarcoFalke commented at 4:09 PM on January 18, 2023: member

    Now that we use python 3.7, it makes the code less verbose and clearer to directly use capture_output when possible, see https://docs.python.org/3/library/subprocess.html#using-the-subprocess-module

  2. scripted-diff: Use python 3.7 syntax capture_output=True
    -BEGIN VERIFY SCRIPT-
     sed -i 's|stdout=\(subprocess.\)\?PIPE, stderr=\(subprocess.\)\?PIPE|capture_output=True|g' $(git grep -l PIPE)
    -END VERIFY SCRIPT-
    fa8818c582
  3. DrahtBot commented at 4:10 PM on January 18, 2023: member

    <!--e57a25ab6845829454e8d69fc972939a-->

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    <!--021abf342d371248e50ceaed478a90ca-->

    Reviews

    See the guideline for information on the review process. A summary of reviews will appear here.

  4. DrahtBot added the label Refactoring on Jan 18, 2023
  5. MarcoFalke added the label DrahtBot Guix build requested on Jan 18, 2023
  6. MarcoFalke removed the label DrahtBot Guix build requested on Jan 18, 2023
  7. MarcoFalke commented at 4:16 PM on January 18, 2023: member

    nvm, this doesn't work with Popen, only run

  8. MarcoFalke closed this on Jan 18, 2023

  9. MarcoFalke deleted the branch on Jan 18, 2023
  10. hebasto deleted a comment on Jan 18, 2023
  11. fanquake locked this on Jan 18, 2023
Contributors

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-17 06:13 UTC

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