[New-bugs-announce] [issue47090] Make zlib required on all platforms (simplifies code)

Gregory P. Smith report at bugs.python.org
Tue Mar 22 04:38:53 EDT 2022

New submission from Gregory P. Smith <greg at krypto.org>:

We have a pile of conditionals and extra code in CPython to deal with building on systems that do not have zlib.  The zlib C library has been around forever at this point and should be present on every system in the world.

zlib is already required on Windows to build CPython.

Proposal: simplify our code by removing the conditionals around zlib being optional.  I'm attaching a draft PR to show what this would look like.

assignee: gregory.p.smith
components: Build, Extension Modules, Library (Lib)
messages: 415750
nosy: gregory.p.smith
priority: normal
severity: normal
stage: patch review
status: open
title: Make zlib required on all platforms (simplifies code)
versions: Python 3.11

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list