Feature or enhancement
Proposal:
In gh-135763 / gh-138150 the Argument Clinic converter for Py_ssize_t was extended to optionally validate for values to be non-negative / >=0.
In principle, it would now also make sense to offer similar behavior/features for PyArg_ParseIn principle, it would now also make sense to offer similar behavior/features for PyArg_Parse*.
As n is the format unit for "signed" Py_ssize_t values, I propose N as the "unsigned" format unit for Py_ssize_t values.
Has this already been discussed elsewhere?
No response given
Links to previous discussion of this feature:
#138150 (comment)
Linked PRs
Feature or enhancement
Proposal:
In gh-135763 / gh-138150 the Argument Clinic converter for
Py_ssize_twas extended to optionally validate for values to be non-negative />=0.In principle, it would now also make sense to offer similar behavior/features for
PyArg_ParseIn principle, it would now also make sense to offer similar behavior/features forPyArg_Parse*.As
nis the format unit for "signed"Py_ssize_tvalues, I proposeNas the "unsigned" format unit forPy_ssize_tvalues.Has this already been discussed elsewhere?
No response given
Links to previous discussion of this feature:
#138150 (comment)
Linked PRs