-
-
Notifications
You must be signed in to change notification settings - Fork 37.4k
Implement PEP 784 - Adding Zstandard to the Python standard library #132983
Copy link
Copy link
Closed
Labels
3.14bugs and security fixesbugs and security fixesextension-modulesC modules in the Modules dirC modules in the Modules dirstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancementA feature request or enhancement
Description
Activity
Metadata
Metadata
Assignees
Labels
3.14bugs and security fixesbugs and security fixesextension-modulesC modules in the Modules dirC modules in the Modules dirstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancementA feature request or enhancement
Projects
- StatusShow more project fieldsDone
Feature or enhancement
This is a tracking issue for implementing PEP 784. See the PEP text for more details.
Since the diff is significant (~10k lines) I wanted to split up the PRs a bit.
Implementation Plan:
compressionmodule just re-exporting existing compression modules. Move the_compressionmodule._zstdnative module with Unix build config_zstd(blocked on addinglibzstdto cpython-source-deps) and SBOM config.zstdPython module with testszstd_train_dictand_finalize_dictto share common codetest_zstdfailed on ubuntu with free-threading #133885optionsvalue can't be converted to intLinked PRs
compressionpackage and move_compressionmodule #133018_zstdbindings module #133027compression._commona full-fledged package #133076compression.zstdand Python tests #133365_zstdon Windows #133366compression.zstd#133547_zstd#133670_zstd(GH-133674) #133695_zstd(GH-133670) #133756_zstd_exec()#133775_zstd_exec()(GH-133775) #133786_zstdmodule.h#133793_zstdmodule.h(GH-133793) #133854__new__methods to Argument Clinic (GH-133860) #133915_zstd_set_c_parameters#133921mt_continue_should_break()(GH-133947) #133950compression.zstd(GH-133547) #134001test.pythoninfo#134230ZstdDict()(GH-133924) #134723_zstd_set_c_parameters(GH-133921) #134838ZstdDict(GH-137321) #137343Py_UNREACHABLEin_zstd_load_impl()(GH-137320) #137360