Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 3 commits into from
Sep 10, 2019

Conversation

DinoV
Copy link
Contributor

@DinoV DinoV commented Sep 9, 2019

Makes the struct module PEP-384 compatible

https://bugs.python.org/issue38076

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.
@Yhg1s Yhg1s merged commit 4f384af into python:master Sep 10, 2019
@bedevere-bot
Copy link

@Yhg1s: Please replace # with GH- in the commit message next time. Thanks!

websurfer5 pushed a commit to websurfer5/cpython that referenced this pull request Jul 20, 2020
* 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.
@DinoV DinoV deleted the pep384/struct branch May 31, 2024 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants