SIGN IN SIGN UP

gh-50333: Deprecate support of non-tuple sequences in PyArg_ParseTuple() (GH-128374)

Non-tuple sequences are deprecated as argument for the "(items)" format unit
in PyArg_ParseTuple() and other argument parsing functions if items contains
format units which store borrowed buffer or reference (e.g. "s" and "O").

str and bytearray are no longer accepted as valid sequences.
S
Serhiy Storchaka committed
0e4cf9ce7c7b0ae6e78ded27db828eac0f8c7724
Parent: 0f04f24
Committed by GitHub <noreply@github.com> on 4/8/2025, 11:26:32 AM