summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@python.org>2024-04-05 14:21:16 (GMT)
committerGitHub <noreply@github.com>2024-04-05 14:21:16 (GMT)
commit687616877ba540a44f82ff764b5f13d36c0f3910 (patch)
tree7e86b38ef111ccbe4725b10fb4e883d40fd558c4 /Misc
parentabfa16b44bb9426312613893b6e193b02ee0304f (diff)
downloadcpython-687616877ba540a44f82ff764b5f13d36c0f3910.zip
cpython-687616877ba540a44f82ff764b5f13d36c0f3910.tar.gz
cpython-687616877ba540a44f82ff764b5f13d36c0f3910.tar.bz2
gh-111140: PyLong_From/AsNativeBytes: Take *flags* rather than just *endianness* (GH-116053)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/C API/2024-02-28-15-50-01.gh-issue-111140.mpwcUg.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/C API/2024-02-28-15-50-01.gh-issue-111140.mpwcUg.rst b/Misc/NEWS.d/next/C API/2024-02-28-15-50-01.gh-issue-111140.mpwcUg.rst
new file mode 100644
index 0000000..113db93
--- /dev/null
+++ b/Misc/NEWS.d/next/C API/2024-02-28-15-50-01.gh-issue-111140.mpwcUg.rst
@@ -0,0 +1,3 @@
+Add additional flags to :c:func:`PyLong_AsNativeBytes` and
+:c:func:`PyLong_FromNativeBytes` to allow the caller to determine how to handle
+edge cases around values that fill the entire buffer.