]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-45155 : Default arguments for int.to_bytes(length=1, byteorder=sys.byteorder...
authorBarry Warsaw <barry@python.org>
Thu, 16 Sep 2021 02:55:24 +0000 (19:55 -0700)
committerGitHub <noreply@github.com>
Thu, 16 Sep 2021 02:55:24 +0000 (19:55 -0700)
commit07e737d002cdbf0bfee53248a652a86c9f93f02b
treee7c371587a38da2e4e095e603d86fcaf8bc9b1a5
parenta9757bf34d8b4cb3c24bbb70d50a06c815e2e8f3
bpo-45155 : Default arguments for int.to_bytes(length=1, byteorder=sys.byteorder) (#28265)

Add default arguments for int.to_bytes() and int.from_bytes()

Co-authored-by: Brandt Bucher <brandtbucher@gmail.com>
Doc/library/stdtypes.rst
Lib/test/test_call.py
Lib/test/test_long.py
Misc/NEWS.d/next/Core and Builtins/2021-09-09-15-05-17.bpo-45155.JRw9TG.rst [new file with mode: 0644]
Objects/clinic/longobject.c.h
Objects/longobject.c