SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 0 Python

bpo-38076: Make struct module PEP-384 compatible (#15805)

* PEP-384 _struct

* More PEP-384 fixes for _struct

Summary: Add a couple of more fixes for `_struct` that were previously missed such as removing `tp_*` accessors and using `PyBytesWriter` instead of calling `PyBytes_FromStringAndSize` with `NULL`. Also added a test to confirm that `iter_unpack` type is still uninstantiable.

* 📜🤖 Added by blurb_it.
D
Dino Viehland committed
4f384af067d05b16a554bfd976934fca9f87a1cf
Parent: 43c9731
Committed by T. Wouters <thomas@python.org> on 9/10/2019, 10:18:37 AM