diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2024-01-31 11:11:35 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-31 11:11:35 (GMT) |
| commit | b7688ef71eddcaf14f71b1c22ff2f164f34b2c74 (patch) | |
| tree | 08f81ce254f5876bd674d680c5e20050cf6f7c49 /Python/gc_free_threading.c | |
| parent | 7a93db44257c0404dc407ff2ddc997f4bb8890ed (diff) | |
| download | cpython-b7688ef71eddcaf14f71b1c22ff2f164f34b2c74.zip cpython-b7688ef71eddcaf14f71b1c22ff2f164f34b2c74.tar.gz cpython-b7688ef71eddcaf14f71b1c22ff2f164f34b2c74.tar.bz2 | |
gh-114685: Check flags in PyObject_GetBuffer() (GH-114707)
PyObject_GetBuffer() now raises a SystemError if called with
PyBUF_READ or PyBUF_WRITE as flags. These flags should
only be used with the PyMemoryView_* C API.
Diffstat (limited to 'Python/gc_free_threading.c')
0 files changed, 0 insertions, 0 deletions
