◐ Shell
clean mode source ↗

gh-132983: Style improvements for `compression.zstd` by emmatyping · Pull Request #133547 · python/cpython

Mostly just make both files consistently use single vs double quotes.
Also add a missing space in a multi-line string.
pythonGH-133479 removed the logic to check for libzstd outside of pkg-config.
This commit adds that logic back with a check for the version so that
users can provide their own libzstd. This is to bring parity with lzma,
bz2, and zlib detection.

@emmatyping

This better matches CPython's style
This was missed when adding Zstandard support.

merwok

AA-Turner

@AA-Turner

AA-Turner

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

May 14, 2025
…133547)

(cherry picked from commit b44c824)

Co-authored-by: Emma Smith <emma@emmatyping.dev>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>

AA-Turner added a commit that referenced this pull request

May 14, 2025
… (#134001)

gh-132983: Style improvements for `compression.zstd` (GH-133547)
(cherry picked from commit b44c824)

Co-authored-by: Emma Smith <emma@emmatyping.dev>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>

Pranjal095 pushed a commit to Pranjal095/cpython that referenced this pull request

Jul 12, 2025
…3547)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>

taegyunkim pushed a commit to taegyunkim/cpython that referenced this pull request

Aug 4, 2025
…3547)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>