Commit Graph

8 Commits

Author SHA1 Message Date
Petr Viktorin e575190abb
gh-132983: Call Py_XDECREF rather than PyObject_GC_Del in failed __new__ (GH-133962)
Call Py_XDECREF rather than PyObject_GC_Del in failed __new__

This will call tp_dealloc and clear all members.
2025-05-13 11:11:52 +02:00
Adam Turner d29ddbd90c
gh-132983: Convert zstd ``__new__`` methods to Argument Clinic (#133860) 2025-05-12 08:51:53 +00:00
Adam Turner 1a87b6e9ae
gh-132983: Make zstd types immutable (#133784) 2025-05-10 22:37:17 +00:00
Adam Turner 1a548c0a50
gh-132983: Reduce the size of ``_zstdmodule.h`` (#133793) 2025-05-10 22:25:22 +01:00
Adam Turner 1978904a2f
GH-132983: PEP 7 and Argument Clinic changes for zstd (#133791) 2025-05-10 00:33:45 +00:00
Adam Turner bbe9c31edc
gh-132983: Simplify ``_zstd_exec()`` (#133775) 2025-05-09 20:15:19 +01:00
Adam Turner bd7c5859c6
GH-132983: Remove subclassing support from zstd types (#133694)
For consistency with ``bz2``, ``lzma``, and ``zlib``.
2025-05-08 18:35:22 +00:00
Adam Turner e6f8e0a035
GH-132983: Build ``_zstd`` on Windows (#133366) 2025-05-06 00:58:47 +01:00