Test fixes for 3.15 (GH-133599)
Followup to 942673ed194813015d98819cfae7eba78ba5e1f9 (GH-133588) * Update configure for Python 3.15 * Update magic number for 3.15 * Remove deprecated 'check_home' argument from sysconfig.is_python_build * Add warningignore entries for Modules/_sqlite/clinic/connection.c.h * Work around c-analyzer complaints about _testclinic deprecation tests --------- Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
This commit is contained in:
parent
1460ccefd0
commit
74e2acddf6
@ -277,8 +277,9 @@ Known values:
|
|||||||
Python 3.14a7 3622 (Store annotations in different class dict keys)
|
Python 3.14a7 3622 (Store annotations in different class dict keys)
|
||||||
Python 3.14a7 3623 (Add BUILD_INTERPOLATION & BUILD_TEMPLATE opcodes)
|
Python 3.14a7 3623 (Add BUILD_INTERPOLATION & BUILD_TEMPLATE opcodes)
|
||||||
Python 3.14b1 3624 (Don't optimize LOAD_FAST when local is killed by DELETE_FAST)
|
Python 3.14b1 3624 (Don't optimize LOAD_FAST when local is killed by DELETE_FAST)
|
||||||
|
Python 3.15a0 3650 (Initial version)
|
||||||
|
|
||||||
Python 3.15 will start with 3650
|
Python 3.16 will start with 3700
|
||||||
|
|
||||||
Please don't copy-paste the same pre-release tag for new entries above!!!
|
Please don't copy-paste the same pre-release tag for new entries above!!!
|
||||||
You should always use the *upcoming* tag. For example, if 3.12a6 came out
|
You should always use the *upcoming* tag. For example, if 3.12a6 came out
|
||||||
@ -289,7 +290,7 @@ PC/launcher.c must also be updated.
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define PYC_MAGIC_NUMBER 3624
|
#define PYC_MAGIC_NUMBER 3650
|
||||||
/* This is equivalent to converting PYC_MAGIC_NUMBER to 2 bytes
|
/* This is equivalent to converting PYC_MAGIC_NUMBER to 2 bytes
|
||||||
(little-endian) and then appending b'\r\n'. */
|
(little-endian) and then appending b'\r\n'. */
|
||||||
#define PYC_MAGIC_NUMBER_TOKEN \
|
#define PYC_MAGIC_NUMBER_TOKEN \
|
||||||
|
@ -219,18 +219,7 @@ if os.name == 'nt':
|
|||||||
if "_PYTHON_PROJECT_BASE" in os.environ:
|
if "_PYTHON_PROJECT_BASE" in os.environ:
|
||||||
_PROJECT_BASE = _safe_realpath(os.environ["_PYTHON_PROJECT_BASE"])
|
_PROJECT_BASE = _safe_realpath(os.environ["_PYTHON_PROJECT_BASE"])
|
||||||
|
|
||||||
def is_python_build(check_home=None):
|
def is_python_build():
|
||||||
if check_home is not None:
|
|
||||||
import warnings
|
|
||||||
warnings.warn(
|
|
||||||
(
|
|
||||||
'The check_home argument of sysconfig.is_python_build is '
|
|
||||||
'deprecated and its value is ignored. '
|
|
||||||
'It will be removed in Python 3.15.'
|
|
||||||
),
|
|
||||||
DeprecationWarning,
|
|
||||||
stacklevel=2,
|
|
||||||
)
|
|
||||||
for fn in ("Setup", "Setup.local"):
|
for fn in ("Setup", "Setup.local"):
|
||||||
if os.path.isfile(os.path.join(_PROJECT_BASE, "Modules", fn)):
|
if os.path.isfile(os.path.join(_PROJECT_BASE, "Modules", fn)):
|
||||||
return True
|
return True
|
||||||
|
@ -2985,7 +2985,7 @@ class ClinicFunctionalTest(unittest.TestCase):
|
|||||||
regex = (
|
regex = (
|
||||||
fr"Passing( more than)?( [0-9]+)? positional argument(s)? to "
|
fr"Passing( more than)?( [0-9]+)? positional argument(s)? to "
|
||||||
fr"{re.escape(name)}\(\) is deprecated. Parameters? {pnames} will "
|
fr"{re.escape(name)}\(\) is deprecated. Parameters? {pnames} will "
|
||||||
fr"become( a)? keyword-only parameters? in Python 3\.14"
|
fr"become( a)? keyword-only parameters? in Python 3\.37"
|
||||||
)
|
)
|
||||||
self.check_depr(regex, fn, *args, **kwds)
|
self.check_depr(regex, fn, *args, **kwds)
|
||||||
|
|
||||||
@ -2998,7 +2998,7 @@ class ClinicFunctionalTest(unittest.TestCase):
|
|||||||
regex = (
|
regex = (
|
||||||
fr"Passing keyword argument{pl} {pnames} to "
|
fr"Passing keyword argument{pl} {pnames} to "
|
||||||
fr"{re.escape(name)}\(\) is deprecated. Parameter{pl} {pnames} "
|
fr"{re.escape(name)}\(\) is deprecated. Parameter{pl} {pnames} "
|
||||||
fr"will become positional-only in Python 3\.14."
|
fr"will become positional-only in Python 3\.37."
|
||||||
)
|
)
|
||||||
self.check_depr(regex, fn, *args, **kwds)
|
self.check_depr(regex, fn, *args, **kwds)
|
||||||
|
|
||||||
@ -3782,9 +3782,9 @@ class ClinicFunctionalTest(unittest.TestCase):
|
|||||||
fn("a", b="b", c="c", d="d", e="e", f="f", g="g", h="h")
|
fn("a", b="b", c="c", d="d", e="e", f="f", g="g", h="h")
|
||||||
errmsg = (
|
errmsg = (
|
||||||
"Passing more than 1 positional argument to depr_star_multi() is deprecated. "
|
"Passing more than 1 positional argument to depr_star_multi() is deprecated. "
|
||||||
"Parameter 'b' will become a keyword-only parameter in Python 3.16. "
|
"Parameter 'b' will become a keyword-only parameter in Python 3.39. "
|
||||||
"Parameters 'c' and 'd' will become keyword-only parameters in Python 3.15. "
|
"Parameters 'c' and 'd' will become keyword-only parameters in Python 3.38. "
|
||||||
"Parameters 'e', 'f' and 'g' will become keyword-only parameters in Python 3.14.")
|
"Parameters 'e', 'f' and 'g' will become keyword-only parameters in Python 3.37.")
|
||||||
check = partial(self.check_depr, re.escape(errmsg), fn)
|
check = partial(self.check_depr, re.escape(errmsg), fn)
|
||||||
check("a", "b", c="c", d="d", e="e", f="f", g="g", h="h")
|
check("a", "b", c="c", d="d", e="e", f="f", g="g", h="h")
|
||||||
check("a", "b", "c", d="d", e="e", f="f", g="g", h="h")
|
check("a", "b", "c", d="d", e="e", f="f", g="g", h="h")
|
||||||
@ -3883,9 +3883,9 @@ class ClinicFunctionalTest(unittest.TestCase):
|
|||||||
fn("a", "b", "c", "d", "e", "f", "g", h="h")
|
fn("a", "b", "c", "d", "e", "f", "g", h="h")
|
||||||
errmsg = (
|
errmsg = (
|
||||||
"Passing keyword arguments 'b', 'c', 'd', 'e', 'f' and 'g' to depr_kwd_multi() is deprecated. "
|
"Passing keyword arguments 'b', 'c', 'd', 'e', 'f' and 'g' to depr_kwd_multi() is deprecated. "
|
||||||
"Parameter 'b' will become positional-only in Python 3.14. "
|
"Parameter 'b' will become positional-only in Python 3.37. "
|
||||||
"Parameters 'c' and 'd' will become positional-only in Python 3.15. "
|
"Parameters 'c' and 'd' will become positional-only in Python 3.38. "
|
||||||
"Parameters 'e', 'f' and 'g' will become positional-only in Python 3.16.")
|
"Parameters 'e', 'f' and 'g' will become positional-only in Python 3.39.")
|
||||||
check = partial(self.check_depr, re.escape(errmsg), fn)
|
check = partial(self.check_depr, re.escape(errmsg), fn)
|
||||||
check("a", "b", "c", "d", "e", "f", g="g", h="h")
|
check("a", "b", "c", "d", "e", "f", g="g", h="h")
|
||||||
check("a", "b", "c", "d", "e", f="f", g="g", h="h")
|
check("a", "b", "c", "d", "e", f="f", g="g", h="h")
|
||||||
@ -3900,8 +3900,8 @@ class ClinicFunctionalTest(unittest.TestCase):
|
|||||||
self.assertRaises(TypeError, fn, "a", "b", "c", "d", "e", "f", "g")
|
self.assertRaises(TypeError, fn, "a", "b", "c", "d", "e", "f", "g")
|
||||||
errmsg = (
|
errmsg = (
|
||||||
"Passing more than 4 positional arguments to depr_multi() is deprecated. "
|
"Passing more than 4 positional arguments to depr_multi() is deprecated. "
|
||||||
"Parameter 'e' will become a keyword-only parameter in Python 3.15. "
|
"Parameter 'e' will become a keyword-only parameter in Python 3.38. "
|
||||||
"Parameter 'f' will become a keyword-only parameter in Python 3.14.")
|
"Parameter 'f' will become a keyword-only parameter in Python 3.37.")
|
||||||
check = partial(self.check_depr, re.escape(errmsg), fn)
|
check = partial(self.check_depr, re.escape(errmsg), fn)
|
||||||
check("a", "b", "c", "d", "e", "f", g="g")
|
check("a", "b", "c", "d", "e", "f", g="g")
|
||||||
check("a", "b", "c", "d", "e", f="f", g="g")
|
check("a", "b", "c", "d", "e", f="f", g="g")
|
||||||
@ -3909,8 +3909,8 @@ class ClinicFunctionalTest(unittest.TestCase):
|
|||||||
fn("a", "b", "c", d="d", e="e", f="f", g="g")
|
fn("a", "b", "c", d="d", e="e", f="f", g="g")
|
||||||
errmsg = (
|
errmsg = (
|
||||||
"Passing keyword arguments 'b' and 'c' to depr_multi() is deprecated. "
|
"Passing keyword arguments 'b' and 'c' to depr_multi() is deprecated. "
|
||||||
"Parameter 'b' will become positional-only in Python 3.14. "
|
"Parameter 'b' will become positional-only in Python 3.37. "
|
||||||
"Parameter 'c' will become positional-only in Python 3.15.")
|
"Parameter 'c' will become positional-only in Python 3.38.")
|
||||||
check = partial(self.check_depr, re.escape(errmsg), fn)
|
check = partial(self.check_depr, re.escape(errmsg), fn)
|
||||||
check("a", "b", c="c", d="d", e="e", f="f", g="g")
|
check("a", "b", c="c", d="d", e="e", f="f", g="g")
|
||||||
check("a", b="b", c="c", d="d", e="e", f="f", g="g")
|
check("a", b="b", c="c", d="d", e="e", f="f", g="g")
|
||||||
|
@ -0,0 +1,2 @@
|
|||||||
|
Removed the ``check_home`` parameter from :func:`sysconfig.is_python_build`,
|
||||||
|
deprecated since Python 3.12.
|
@ -1734,14 +1734,14 @@ output impl_definition block
|
|||||||
class _testclinic.DeprStarNew "PyObject *" "PyObject"
|
class _testclinic.DeprStarNew "PyObject *" "PyObject"
|
||||||
@classmethod
|
@classmethod
|
||||||
_testclinic.DeprStarNew.__new__ as depr_star_new
|
_testclinic.DeprStarNew.__new__ as depr_star_new
|
||||||
* [from 3.14]
|
* [from 3.37]
|
||||||
a: object = None
|
a: object = None
|
||||||
The deprecation message should use the class name instead of __new__.
|
The deprecation message should use the class name instead of __new__.
|
||||||
[clinic start generated code]*/
|
[clinic start generated code]*/
|
||||||
|
|
||||||
static PyObject *
|
static PyObject *
|
||||||
depr_star_new_impl(PyTypeObject *type, PyObject *a)
|
depr_star_new_impl(PyTypeObject *type, PyObject *a)
|
||||||
/*[clinic end generated code: output=bdbb36244f90cf46 input=fdd640db964b4dc1]*/
|
/*[clinic end generated code: output=bdbb36244f90cf46 input=df8930826b302c3a]*/
|
||||||
{
|
{
|
||||||
return type->tp_alloc(type, 0);
|
return type->tp_alloc(type, 0);
|
||||||
}
|
}
|
||||||
@ -1775,14 +1775,14 @@ static PyTypeObject DeprStarNew = {
|
|||||||
/*[clinic input]
|
/*[clinic input]
|
||||||
class _testclinic.DeprStarInit "PyObject *" "PyObject"
|
class _testclinic.DeprStarInit "PyObject *" "PyObject"
|
||||||
_testclinic.DeprStarInit.__init__ as depr_star_init
|
_testclinic.DeprStarInit.__init__ as depr_star_init
|
||||||
* [from 3.14]
|
* [from 3.37]
|
||||||
a: object = None
|
a: object = None
|
||||||
The deprecation message should use the class name instead of __init__.
|
The deprecation message should use the class name instead of __init__.
|
||||||
[clinic start generated code]*/
|
[clinic start generated code]*/
|
||||||
|
|
||||||
static int
|
static int
|
||||||
depr_star_init_impl(PyObject *self, PyObject *a)
|
depr_star_init_impl(PyObject *self, PyObject *a)
|
||||||
/*[clinic end generated code: output=8d27b43c286d3ecc input=5575b77229d5e2be]*/
|
/*[clinic end generated code: output=8d27b43c286d3ecc input=07a5c35e04f526c5]*/
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
@ -1818,7 +1818,7 @@ static PyTypeObject DeprStarInit = {
|
|||||||
class _testclinic.DeprStarInitNoInline "PyObject *" "PyObject"
|
class _testclinic.DeprStarInitNoInline "PyObject *" "PyObject"
|
||||||
_testclinic.DeprStarInitNoInline.__init__ as depr_star_init_noinline
|
_testclinic.DeprStarInitNoInline.__init__ as depr_star_init_noinline
|
||||||
a: object
|
a: object
|
||||||
* [from 3.14]
|
* [from 3.37]
|
||||||
b: object
|
b: object
|
||||||
c: object = None
|
c: object = None
|
||||||
*
|
*
|
||||||
@ -1829,7 +1829,7 @@ _testclinic.DeprStarInitNoInline.__init__ as depr_star_init_noinline
|
|||||||
static int
|
static int
|
||||||
depr_star_init_noinline_impl(PyObject *self, PyObject *a, PyObject *b,
|
depr_star_init_noinline_impl(PyObject *self, PyObject *a, PyObject *b,
|
||||||
PyObject *c, const char *d, Py_ssize_t d_length)
|
PyObject *c, const char *d, Py_ssize_t d_length)
|
||||||
/*[clinic end generated code: output=9b31fc167f1bf9f7 input=5a887543122bca48]*/
|
/*[clinic end generated code: output=9b31fc167f1bf9f7 input=45171504f009a391]*/
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
@ -1849,13 +1849,13 @@ class _testclinic.DeprKwdNew "PyObject *" "PyObject"
|
|||||||
@classmethod
|
@classmethod
|
||||||
_testclinic.DeprKwdNew.__new__ as depr_kwd_new
|
_testclinic.DeprKwdNew.__new__ as depr_kwd_new
|
||||||
a: object = None
|
a: object = None
|
||||||
/ [from 3.14]
|
/ [from 3.37]
|
||||||
The deprecation message should use the class name instead of __new__.
|
The deprecation message should use the class name instead of __new__.
|
||||||
[clinic start generated code]*/
|
[clinic start generated code]*/
|
||||||
|
|
||||||
static PyObject *
|
static PyObject *
|
||||||
depr_kwd_new_impl(PyTypeObject *type, PyObject *a)
|
depr_kwd_new_impl(PyTypeObject *type, PyObject *a)
|
||||||
/*[clinic end generated code: output=618d07afc5616149 input=6c7d13c471013c10]*/
|
/*[clinic end generated code: output=618d07afc5616149 input=1bfb1b86f56ad2e6]*/
|
||||||
{
|
{
|
||||||
return type->tp_alloc(type, 0);
|
return type->tp_alloc(type, 0);
|
||||||
}
|
}
|
||||||
@ -1873,13 +1873,13 @@ static PyTypeObject DeprKwdNew = {
|
|||||||
class _testclinic.DeprKwdInit "PyObject *" "PyObject"
|
class _testclinic.DeprKwdInit "PyObject *" "PyObject"
|
||||||
_testclinic.DeprKwdInit.__init__ as depr_kwd_init
|
_testclinic.DeprKwdInit.__init__ as depr_kwd_init
|
||||||
a: object = None
|
a: object = None
|
||||||
/ [from 3.14]
|
/ [from 3.37]
|
||||||
The deprecation message should use the class name instead of __init__.
|
The deprecation message should use the class name instead of __init__.
|
||||||
[clinic start generated code]*/
|
[clinic start generated code]*/
|
||||||
|
|
||||||
static int
|
static int
|
||||||
depr_kwd_init_impl(PyObject *self, PyObject *a)
|
depr_kwd_init_impl(PyObject *self, PyObject *a)
|
||||||
/*[clinic end generated code: output=6e02eb724a85d840 input=b9bf3c20f012d539]*/
|
/*[clinic end generated code: output=6e02eb724a85d840 input=6f4daaa912ec24b2]*/
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
@ -1901,7 +1901,7 @@ _testclinic.DeprKwdInitNoInline.__init__ as depr_kwd_init_noinline
|
|||||||
/
|
/
|
||||||
b: object
|
b: object
|
||||||
c: object = None
|
c: object = None
|
||||||
/ [from 3.14]
|
/ [from 3.37]
|
||||||
# Force to use _PyArg_ParseTupleAndKeywordsFast.
|
# Force to use _PyArg_ParseTupleAndKeywordsFast.
|
||||||
d: str(accept={str, robuffer}, zeroes=True) = ''
|
d: str(accept={str, robuffer}, zeroes=True) = ''
|
||||||
[clinic start generated code]*/
|
[clinic start generated code]*/
|
||||||
@ -1909,7 +1909,7 @@ _testclinic.DeprKwdInitNoInline.__init__ as depr_kwd_init_noinline
|
|||||||
static int
|
static int
|
||||||
depr_kwd_init_noinline_impl(PyObject *self, PyObject *a, PyObject *b,
|
depr_kwd_init_noinline_impl(PyObject *self, PyObject *a, PyObject *b,
|
||||||
PyObject *c, const char *d, Py_ssize_t d_length)
|
PyObject *c, const char *d, Py_ssize_t d_length)
|
||||||
/*[clinic end generated code: output=27759d70ddd25873 input=c19d982c8c70a930]*/
|
/*[clinic end generated code: output=27759d70ddd25873 input=a022ad17f4b6008c]*/
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
@ -1926,13 +1926,13 @@ static PyTypeObject DeprKwdInitNoInline = {
|
|||||||
|
|
||||||
/*[clinic input]
|
/*[clinic input]
|
||||||
depr_star_pos0_len1
|
depr_star_pos0_len1
|
||||||
* [from 3.14]
|
* [from 3.37]
|
||||||
a: object
|
a: object
|
||||||
[clinic start generated code]*/
|
[clinic start generated code]*/
|
||||||
|
|
||||||
static PyObject *
|
static PyObject *
|
||||||
depr_star_pos0_len1_impl(PyObject *module, PyObject *a)
|
depr_star_pos0_len1_impl(PyObject *module, PyObject *a)
|
||||||
/*[clinic end generated code: output=e1c6c2b423129499 input=089b9aee25381b69]*/
|
/*[clinic end generated code: output=e1c6c2b423129499 input=c8f49d8c6165ab6c]*/
|
||||||
{
|
{
|
||||||
Py_RETURN_NONE;
|
Py_RETURN_NONE;
|
||||||
}
|
}
|
||||||
@ -1940,14 +1940,14 @@ depr_star_pos0_len1_impl(PyObject *module, PyObject *a)
|
|||||||
|
|
||||||
/*[clinic input]
|
/*[clinic input]
|
||||||
depr_star_pos0_len2
|
depr_star_pos0_len2
|
||||||
* [from 3.14]
|
* [from 3.37]
|
||||||
a: object
|
a: object
|
||||||
b: object
|
b: object
|
||||||
[clinic start generated code]*/
|
[clinic start generated code]*/
|
||||||
|
|
||||||
static PyObject *
|
static PyObject *
|
||||||
depr_star_pos0_len2_impl(PyObject *module, PyObject *a, PyObject *b)
|
depr_star_pos0_len2_impl(PyObject *module, PyObject *a, PyObject *b)
|
||||||
/*[clinic end generated code: output=96df9be39859c7e4 input=65c83a32e01495c6]*/
|
/*[clinic end generated code: output=96df9be39859c7e4 input=aca96f36892eda25]*/
|
||||||
{
|
{
|
||||||
Py_RETURN_NONE;
|
Py_RETURN_NONE;
|
||||||
}
|
}
|
||||||
@ -1955,7 +1955,7 @@ depr_star_pos0_len2_impl(PyObject *module, PyObject *a, PyObject *b)
|
|||||||
|
|
||||||
/*[clinic input]
|
/*[clinic input]
|
||||||
depr_star_pos0_len3_with_kwd
|
depr_star_pos0_len3_with_kwd
|
||||||
* [from 3.14]
|
* [from 3.37]
|
||||||
a: object
|
a: object
|
||||||
b: object
|
b: object
|
||||||
c: object
|
c: object
|
||||||
@ -1966,7 +1966,7 @@ depr_star_pos0_len3_with_kwd
|
|||||||
static PyObject *
|
static PyObject *
|
||||||
depr_star_pos0_len3_with_kwd_impl(PyObject *module, PyObject *a, PyObject *b,
|
depr_star_pos0_len3_with_kwd_impl(PyObject *module, PyObject *a, PyObject *b,
|
||||||
PyObject *c, PyObject *d)
|
PyObject *c, PyObject *d)
|
||||||
/*[clinic end generated code: output=7f2531eda837052f input=b33f620f57d9270f]*/
|
/*[clinic end generated code: output=7f2531eda837052f input=5602f0bced3d5094]*/
|
||||||
{
|
{
|
||||||
Py_RETURN_NONE;
|
Py_RETURN_NONE;
|
||||||
}
|
}
|
||||||
@ -1975,13 +1975,13 @@ depr_star_pos0_len3_with_kwd_impl(PyObject *module, PyObject *a, PyObject *b,
|
|||||||
/*[clinic input]
|
/*[clinic input]
|
||||||
depr_star_pos1_len1_opt
|
depr_star_pos1_len1_opt
|
||||||
a: object
|
a: object
|
||||||
* [from 3.14]
|
* [from 3.37]
|
||||||
b: object = None
|
b: object = None
|
||||||
[clinic start generated code]*/
|
[clinic start generated code]*/
|
||||||
|
|
||||||
static PyObject *
|
static PyObject *
|
||||||
depr_star_pos1_len1_opt_impl(PyObject *module, PyObject *a, PyObject *b)
|
depr_star_pos1_len1_opt_impl(PyObject *module, PyObject *a, PyObject *b)
|
||||||
/*[clinic end generated code: output=b5b4e326ee3b216f input=4a4b8ff72eae9ff7]*/
|
/*[clinic end generated code: output=b5b4e326ee3b216f input=070817da1d6ccf49]*/
|
||||||
{
|
{
|
||||||
Py_RETURN_NONE;
|
Py_RETURN_NONE;
|
||||||
}
|
}
|
||||||
@ -1990,13 +1990,13 @@ depr_star_pos1_len1_opt_impl(PyObject *module, PyObject *a, PyObject *b)
|
|||||||
/*[clinic input]
|
/*[clinic input]
|
||||||
depr_star_pos1_len1
|
depr_star_pos1_len1
|
||||||
a: object
|
a: object
|
||||||
* [from 3.14]
|
* [from 3.37]
|
||||||
b: object
|
b: object
|
||||||
[clinic start generated code]*/
|
[clinic start generated code]*/
|
||||||
|
|
||||||
static PyObject *
|
static PyObject *
|
||||||
depr_star_pos1_len1_impl(PyObject *module, PyObject *a, PyObject *b)
|
depr_star_pos1_len1_impl(PyObject *module, PyObject *a, PyObject *b)
|
||||||
/*[clinic end generated code: output=eab92e37d5b0a480 input=1e7787a9fe5f62a0]*/
|
/*[clinic end generated code: output=eab92e37d5b0a480 input=2e3a30c71edd0f30]*/
|
||||||
{
|
{
|
||||||
Py_RETURN_NONE;
|
Py_RETURN_NONE;
|
||||||
}
|
}
|
||||||
@ -2005,7 +2005,7 @@ depr_star_pos1_len1_impl(PyObject *module, PyObject *a, PyObject *b)
|
|||||||
/*[clinic input]
|
/*[clinic input]
|
||||||
depr_star_pos1_len2_with_kwd
|
depr_star_pos1_len2_with_kwd
|
||||||
a: object
|
a: object
|
||||||
* [from 3.14]
|
* [from 3.37]
|
||||||
b: object
|
b: object
|
||||||
c: object
|
c: object
|
||||||
*
|
*
|
||||||
@ -2015,7 +2015,7 @@ depr_star_pos1_len2_with_kwd
|
|||||||
static PyObject *
|
static PyObject *
|
||||||
depr_star_pos1_len2_with_kwd_impl(PyObject *module, PyObject *a, PyObject *b,
|
depr_star_pos1_len2_with_kwd_impl(PyObject *module, PyObject *a, PyObject *b,
|
||||||
PyObject *c, PyObject *d)
|
PyObject *c, PyObject *d)
|
||||||
/*[clinic end generated code: output=3bccab672b7cfbb8 input=6bc7bd742fa8be15]*/
|
/*[clinic end generated code: output=3bccab672b7cfbb8 input=48492b028a4f281c]*/
|
||||||
{
|
{
|
||||||
Py_RETURN_NONE;
|
Py_RETURN_NONE;
|
||||||
}
|
}
|
||||||
@ -2025,14 +2025,14 @@ depr_star_pos1_len2_with_kwd_impl(PyObject *module, PyObject *a, PyObject *b,
|
|||||||
depr_star_pos2_len1
|
depr_star_pos2_len1
|
||||||
a: object
|
a: object
|
||||||
b: object
|
b: object
|
||||||
* [from 3.14]
|
* [from 3.37]
|
||||||
c: object
|
c: object
|
||||||
[clinic start generated code]*/
|
[clinic start generated code]*/
|
||||||
|
|
||||||
static PyObject *
|
static PyObject *
|
||||||
depr_star_pos2_len1_impl(PyObject *module, PyObject *a, PyObject *b,
|
depr_star_pos2_len1_impl(PyObject *module, PyObject *a, PyObject *b,
|
||||||
PyObject *c)
|
PyObject *c)
|
||||||
/*[clinic end generated code: output=20f5b230e9beeb70 input=5fc3e1790dec00d5]*/
|
/*[clinic end generated code: output=20f5b230e9beeb70 input=80ee46e15cd14cf3]*/
|
||||||
{
|
{
|
||||||
Py_RETURN_NONE;
|
Py_RETURN_NONE;
|
||||||
}
|
}
|
||||||
@ -2042,7 +2042,7 @@ depr_star_pos2_len1_impl(PyObject *module, PyObject *a, PyObject *b,
|
|||||||
depr_star_pos2_len2
|
depr_star_pos2_len2
|
||||||
a: object
|
a: object
|
||||||
b: object
|
b: object
|
||||||
* [from 3.14]
|
* [from 3.37]
|
||||||
c: object
|
c: object
|
||||||
d: object
|
d: object
|
||||||
[clinic start generated code]*/
|
[clinic start generated code]*/
|
||||||
@ -2050,7 +2050,7 @@ depr_star_pos2_len2
|
|||||||
static PyObject *
|
static PyObject *
|
||||||
depr_star_pos2_len2_impl(PyObject *module, PyObject *a, PyObject *b,
|
depr_star_pos2_len2_impl(PyObject *module, PyObject *a, PyObject *b,
|
||||||
PyObject *c, PyObject *d)
|
PyObject *c, PyObject *d)
|
||||||
/*[clinic end generated code: output=9f90ed8fbce27d7a input=9cc8003b89d38779]*/
|
/*[clinic end generated code: output=9f90ed8fbce27d7a input=ac57914cf40a011b]*/
|
||||||
{
|
{
|
||||||
Py_RETURN_NONE;
|
Py_RETURN_NONE;
|
||||||
}
|
}
|
||||||
@ -2060,7 +2060,7 @@ depr_star_pos2_len2_impl(PyObject *module, PyObject *a, PyObject *b,
|
|||||||
depr_star_pos2_len2_with_kwd
|
depr_star_pos2_len2_with_kwd
|
||||||
a: object
|
a: object
|
||||||
b: object
|
b: object
|
||||||
* [from 3.14]
|
* [from 3.37]
|
||||||
c: object
|
c: object
|
||||||
d: object
|
d: object
|
||||||
*
|
*
|
||||||
@ -2070,7 +2070,7 @@ depr_star_pos2_len2_with_kwd
|
|||||||
static PyObject *
|
static PyObject *
|
||||||
depr_star_pos2_len2_with_kwd_impl(PyObject *module, PyObject *a, PyObject *b,
|
depr_star_pos2_len2_with_kwd_impl(PyObject *module, PyObject *a, PyObject *b,
|
||||||
PyObject *c, PyObject *d, PyObject *e)
|
PyObject *c, PyObject *d, PyObject *e)
|
||||||
/*[clinic end generated code: output=05432c4f20527215 input=831832d90534da91]*/
|
/*[clinic end generated code: output=05432c4f20527215 input=98f25e33c01285a3]*/
|
||||||
{
|
{
|
||||||
Py_RETURN_NONE;
|
Py_RETURN_NONE;
|
||||||
}
|
}
|
||||||
@ -2079,7 +2079,7 @@ depr_star_pos2_len2_with_kwd_impl(PyObject *module, PyObject *a, PyObject *b,
|
|||||||
/*[clinic input]
|
/*[clinic input]
|
||||||
depr_star_noinline
|
depr_star_noinline
|
||||||
a: object
|
a: object
|
||||||
* [from 3.14]
|
* [from 3.37]
|
||||||
b: object
|
b: object
|
||||||
c: object = None
|
c: object = None
|
||||||
*
|
*
|
||||||
@ -2090,7 +2090,7 @@ depr_star_noinline
|
|||||||
static PyObject *
|
static PyObject *
|
||||||
depr_star_noinline_impl(PyObject *module, PyObject *a, PyObject *b,
|
depr_star_noinline_impl(PyObject *module, PyObject *a, PyObject *b,
|
||||||
PyObject *c, const char *d, Py_ssize_t d_length)
|
PyObject *c, const char *d, Py_ssize_t d_length)
|
||||||
/*[clinic end generated code: output=cc27dacf5c2754af input=d36cc862a2daef98]*/
|
/*[clinic end generated code: output=cc27dacf5c2754af input=a829784557a42349]*/
|
||||||
{
|
{
|
||||||
Py_RETURN_NONE;
|
Py_RETURN_NONE;
|
||||||
}
|
}
|
||||||
@ -2099,12 +2099,12 @@ depr_star_noinline_impl(PyObject *module, PyObject *a, PyObject *b,
|
|||||||
/*[clinic input]
|
/*[clinic input]
|
||||||
depr_star_multi
|
depr_star_multi
|
||||||
a: object
|
a: object
|
||||||
* [from 3.16]
|
* [from 3.39]
|
||||||
b: object
|
b: object
|
||||||
* [from 3.15]
|
* [from 3.38]
|
||||||
c: object
|
c: object
|
||||||
d: object
|
d: object
|
||||||
* [from 3.14]
|
* [from 3.37]
|
||||||
e: object
|
e: object
|
||||||
f: object
|
f: object
|
||||||
g: object
|
g: object
|
||||||
@ -2116,7 +2116,7 @@ static PyObject *
|
|||||||
depr_star_multi_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c,
|
depr_star_multi_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c,
|
||||||
PyObject *d, PyObject *e, PyObject *f, PyObject *g,
|
PyObject *d, PyObject *e, PyObject *f, PyObject *g,
|
||||||
PyObject *h)
|
PyObject *h)
|
||||||
/*[clinic end generated code: output=77681653f4202068 input=3ebd05d888a957ea]*/
|
/*[clinic end generated code: output=77681653f4202068 input=6798940a18b2e62b]*/
|
||||||
{
|
{
|
||||||
Py_RETURN_NONE;
|
Py_RETURN_NONE;
|
||||||
}
|
}
|
||||||
@ -2127,12 +2127,12 @@ depr_kwd_required_1
|
|||||||
a: object
|
a: object
|
||||||
/
|
/
|
||||||
b: object
|
b: object
|
||||||
/ [from 3.14]
|
/ [from 3.37]
|
||||||
[clinic start generated code]*/
|
[clinic start generated code]*/
|
||||||
|
|
||||||
static PyObject *
|
static PyObject *
|
||||||
depr_kwd_required_1_impl(PyObject *module, PyObject *a, PyObject *b)
|
depr_kwd_required_1_impl(PyObject *module, PyObject *a, PyObject *b)
|
||||||
/*[clinic end generated code: output=1d8ab19ea78418af input=53f2c398b828462d]*/
|
/*[clinic end generated code: output=1d8ab19ea78418af input=37853d8548d42df5]*/
|
||||||
{
|
{
|
||||||
Py_RETURN_NONE;
|
Py_RETURN_NONE;
|
||||||
}
|
}
|
||||||
@ -2144,13 +2144,13 @@ depr_kwd_required_2
|
|||||||
/
|
/
|
||||||
b: object
|
b: object
|
||||||
c: object
|
c: object
|
||||||
/ [from 3.14]
|
/ [from 3.37]
|
||||||
[clinic start generated code]*/
|
[clinic start generated code]*/
|
||||||
|
|
||||||
static PyObject *
|
static PyObject *
|
||||||
depr_kwd_required_2_impl(PyObject *module, PyObject *a, PyObject *b,
|
depr_kwd_required_2_impl(PyObject *module, PyObject *a, PyObject *b,
|
||||||
PyObject *c)
|
PyObject *c)
|
||||||
/*[clinic end generated code: output=44a89cb82509ddde input=a2b0ef37de8a01a7]*/
|
/*[clinic end generated code: output=44a89cb82509ddde input=0e1faedd8ec248b1]*/
|
||||||
{
|
{
|
||||||
Py_RETURN_NONE;
|
Py_RETURN_NONE;
|
||||||
}
|
}
|
||||||
@ -2161,12 +2161,12 @@ depr_kwd_optional_1
|
|||||||
a: object
|
a: object
|
||||||
/
|
/
|
||||||
b: object = None
|
b: object = None
|
||||||
/ [from 3.14]
|
/ [from 3.37]
|
||||||
[clinic start generated code]*/
|
[clinic start generated code]*/
|
||||||
|
|
||||||
static PyObject *
|
static PyObject *
|
||||||
depr_kwd_optional_1_impl(PyObject *module, PyObject *a, PyObject *b)
|
depr_kwd_optional_1_impl(PyObject *module, PyObject *a, PyObject *b)
|
||||||
/*[clinic end generated code: output=a8a3d67efcc7b058 input=e416981eb78c3053]*/
|
/*[clinic end generated code: output=a8a3d67efcc7b058 input=adb240416511b30a]*/
|
||||||
{
|
{
|
||||||
Py_RETURN_NONE;
|
Py_RETURN_NONE;
|
||||||
}
|
}
|
||||||
@ -2178,13 +2178,13 @@ depr_kwd_optional_2
|
|||||||
/
|
/
|
||||||
b: object = None
|
b: object = None
|
||||||
c: object = None
|
c: object = None
|
||||||
/ [from 3.14]
|
/ [from 3.37]
|
||||||
[clinic start generated code]*/
|
[clinic start generated code]*/
|
||||||
|
|
||||||
static PyObject *
|
static PyObject *
|
||||||
depr_kwd_optional_2_impl(PyObject *module, PyObject *a, PyObject *b,
|
depr_kwd_optional_2_impl(PyObject *module, PyObject *a, PyObject *b,
|
||||||
PyObject *c)
|
PyObject *c)
|
||||||
/*[clinic end generated code: output=aa2d967f26fdb9f6 input=cae3afb783bfc855]*/
|
/*[clinic end generated code: output=aa2d967f26fdb9f6 input=fb8a82d0087f8732]*/
|
||||||
{
|
{
|
||||||
Py_RETURN_NONE;
|
Py_RETURN_NONE;
|
||||||
}
|
}
|
||||||
@ -2195,13 +2195,13 @@ depr_kwd_optional_3
|
|||||||
a: object = None
|
a: object = None
|
||||||
b: object = None
|
b: object = None
|
||||||
c: object = None
|
c: object = None
|
||||||
/ [from 3.14]
|
/ [from 3.37]
|
||||||
[clinic start generated code]*/
|
[clinic start generated code]*/
|
||||||
|
|
||||||
static PyObject *
|
static PyObject *
|
||||||
depr_kwd_optional_3_impl(PyObject *module, PyObject *a, PyObject *b,
|
depr_kwd_optional_3_impl(PyObject *module, PyObject *a, PyObject *b,
|
||||||
PyObject *c)
|
PyObject *c)
|
||||||
/*[clinic end generated code: output=a26025bf6118fd07 input=c9183b2f9ccaf992]*/
|
/*[clinic end generated code: output=a26025bf6118fd07 input=e54bbbacd8624fa7]*/
|
||||||
{
|
{
|
||||||
Py_RETURN_NONE;
|
Py_RETURN_NONE;
|
||||||
}
|
}
|
||||||
@ -2213,13 +2213,13 @@ depr_kwd_required_optional
|
|||||||
/
|
/
|
||||||
b: object
|
b: object
|
||||||
c: object = None
|
c: object = None
|
||||||
/ [from 3.14]
|
/ [from 3.37]
|
||||||
[clinic start generated code]*/
|
[clinic start generated code]*/
|
||||||
|
|
||||||
static PyObject *
|
static PyObject *
|
||||||
depr_kwd_required_optional_impl(PyObject *module, PyObject *a, PyObject *b,
|
depr_kwd_required_optional_impl(PyObject *module, PyObject *a, PyObject *b,
|
||||||
PyObject *c)
|
PyObject *c)
|
||||||
/*[clinic end generated code: output=e53a8b7a250d8ffc input=23237a046f8388f5]*/
|
/*[clinic end generated code: output=e53a8b7a250d8ffc input=285105a1ffb784b5]*/
|
||||||
{
|
{
|
||||||
Py_RETURN_NONE;
|
Py_RETURN_NONE;
|
||||||
}
|
}
|
||||||
@ -2231,7 +2231,7 @@ depr_kwd_noinline
|
|||||||
/
|
/
|
||||||
b: object
|
b: object
|
||||||
c: object = None
|
c: object = None
|
||||||
/ [from 3.14]
|
/ [from 3.37]
|
||||||
# Force to use _PyArg_ParseStackAndKeywords.
|
# Force to use _PyArg_ParseStackAndKeywords.
|
||||||
d: str(accept={str, robuffer}, zeroes=True) = ''
|
d: str(accept={str, robuffer}, zeroes=True) = ''
|
||||||
[clinic start generated code]*/
|
[clinic start generated code]*/
|
||||||
@ -2239,7 +2239,7 @@ depr_kwd_noinline
|
|||||||
static PyObject *
|
static PyObject *
|
||||||
depr_kwd_noinline_impl(PyObject *module, PyObject *a, PyObject *b,
|
depr_kwd_noinline_impl(PyObject *module, PyObject *a, PyObject *b,
|
||||||
PyObject *c, const char *d, Py_ssize_t d_length)
|
PyObject *c, const char *d, Py_ssize_t d_length)
|
||||||
/*[clinic end generated code: output=f59da8113f2bad7c input=1d6db65bebb069d7]*/
|
/*[clinic end generated code: output=f59da8113f2bad7c input=3773d1bdc1f82298]*/
|
||||||
{
|
{
|
||||||
Py_RETURN_NONE;
|
Py_RETURN_NONE;
|
||||||
}
|
}
|
||||||
@ -2250,14 +2250,14 @@ depr_kwd_multi
|
|||||||
a: object
|
a: object
|
||||||
/
|
/
|
||||||
b: object
|
b: object
|
||||||
/ [from 3.14]
|
/ [from 3.37]
|
||||||
c: object
|
c: object
|
||||||
d: object
|
d: object
|
||||||
/ [from 3.15]
|
/ [from 3.38]
|
||||||
e: object
|
e: object
|
||||||
f: object
|
f: object
|
||||||
g: object
|
g: object
|
||||||
/ [from 3.16]
|
/ [from 3.39]
|
||||||
h: object
|
h: object
|
||||||
[clinic start generated code]*/
|
[clinic start generated code]*/
|
||||||
|
|
||||||
@ -2265,7 +2265,7 @@ static PyObject *
|
|||||||
depr_kwd_multi_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c,
|
depr_kwd_multi_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c,
|
||||||
PyObject *d, PyObject *e, PyObject *f, PyObject *g,
|
PyObject *d, PyObject *e, PyObject *f, PyObject *g,
|
||||||
PyObject *h)
|
PyObject *h)
|
||||||
/*[clinic end generated code: output=ddfbde80fe1942e1 input=7a074e621c79efd7]*/
|
/*[clinic end generated code: output=ddfbde80fe1942e1 input=a84c447a74284174]*/
|
||||||
{
|
{
|
||||||
Py_RETURN_NONE;
|
Py_RETURN_NONE;
|
||||||
}
|
}
|
||||||
@ -2276,13 +2276,13 @@ depr_multi
|
|||||||
a: object
|
a: object
|
||||||
/
|
/
|
||||||
b: object
|
b: object
|
||||||
/ [from 3.14]
|
/ [from 3.37]
|
||||||
c: object
|
c: object
|
||||||
/ [from 3.15]
|
/ [from 3.38]
|
||||||
d: object
|
d: object
|
||||||
* [from 3.15]
|
* [from 3.38]
|
||||||
e: object
|
e: object
|
||||||
* [from 3.14]
|
* [from 3.37]
|
||||||
f: object
|
f: object
|
||||||
*
|
*
|
||||||
g: object
|
g: object
|
||||||
@ -2291,7 +2291,7 @@ depr_multi
|
|||||||
static PyObject *
|
static PyObject *
|
||||||
depr_multi_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c,
|
depr_multi_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c,
|
||||||
PyObject *d, PyObject *e, PyObject *f, PyObject *g)
|
PyObject *d, PyObject *e, PyObject *f, PyObject *g)
|
||||||
/*[clinic end generated code: output=f81c92852ca2d4ee input=5b847c5e44bedd02]*/
|
/*[clinic end generated code: output=f81c92852ca2d4ee input=0e859e8b8eda75d7]*/
|
||||||
{
|
{
|
||||||
Py_RETURN_NONE;
|
Py_RETURN_NONE;
|
||||||
}
|
}
|
||||||
|
304
Modules/clinic/_testclinic_depr.c.h
generated
304
Modules/clinic/_testclinic_depr.c.h
generated
@ -19,16 +19,16 @@ PyDoc_STRVAR(depr_star_new__doc__,
|
|||||||
"\n"
|
"\n"
|
||||||
"Note: Passing positional arguments to _testclinic.DeprStarNew() is\n"
|
"Note: Passing positional arguments to _testclinic.DeprStarNew() is\n"
|
||||||
"deprecated. Parameter \'a\' will become a keyword-only parameter in\n"
|
"deprecated. Parameter \'a\' will become a keyword-only parameter in\n"
|
||||||
"Python 3.14.\n"
|
"Python 3.37.\n"
|
||||||
"");
|
"");
|
||||||
|
|
||||||
static PyObject *
|
static PyObject *
|
||||||
depr_star_new_impl(PyTypeObject *type, PyObject *a);
|
depr_star_new_impl(PyTypeObject *type, PyObject *a);
|
||||||
|
|
||||||
// Emit compiler warnings when we get to Python 3.14.
|
// Emit compiler warnings when we get to Python 3.37.
|
||||||
#if PY_VERSION_HEX >= 0x030e00C0
|
#if PY_VERSION_HEX >= 0x032500C0
|
||||||
# error "Update the clinic input of '_testclinic.DeprStarNew.__new__'."
|
# error "Update the clinic input of '_testclinic.DeprStarNew.__new__'."
|
||||||
#elif PY_VERSION_HEX >= 0x030e00A0
|
#elif PY_VERSION_HEX >= 0x032500A0
|
||||||
# ifdef _MSC_VER
|
# ifdef _MSC_VER
|
||||||
# pragma message ("Update the clinic input of '_testclinic.DeprStarNew.__new__'.")
|
# pragma message ("Update the clinic input of '_testclinic.DeprStarNew.__new__'.")
|
||||||
# else
|
# else
|
||||||
@ -77,7 +77,7 @@ depr_star_new(PyTypeObject *type, PyObject *args, PyObject *kwargs)
|
|||||||
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
||||||
"Passing positional arguments to _testclinic.DeprStarNew() is "
|
"Passing positional arguments to _testclinic.DeprStarNew() is "
|
||||||
"deprecated. Parameter 'a' will become a keyword-only parameter "
|
"deprecated. Parameter 'a' will become a keyword-only parameter "
|
||||||
"in Python 3.14.", 1))
|
"in Python 3.37.", 1))
|
||||||
{
|
{
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
@ -104,7 +104,7 @@ PyDoc_STRVAR(depr_star_new_clone__doc__,
|
|||||||
"\n"
|
"\n"
|
||||||
"Note: Passing positional arguments to _testclinic.DeprStarNew.cloned()\n"
|
"Note: Passing positional arguments to _testclinic.DeprStarNew.cloned()\n"
|
||||||
"is deprecated. Parameter \'a\' will become a keyword-only parameter in\n"
|
"is deprecated. Parameter \'a\' will become a keyword-only parameter in\n"
|
||||||
"Python 3.14.\n"
|
"Python 3.37.\n"
|
||||||
"");
|
"");
|
||||||
|
|
||||||
#define DEPR_STAR_NEW_CLONE_METHODDEF \
|
#define DEPR_STAR_NEW_CLONE_METHODDEF \
|
||||||
@ -113,10 +113,10 @@ PyDoc_STRVAR(depr_star_new_clone__doc__,
|
|||||||
static PyObject *
|
static PyObject *
|
||||||
depr_star_new_clone_impl(PyObject *type, PyObject *a);
|
depr_star_new_clone_impl(PyObject *type, PyObject *a);
|
||||||
|
|
||||||
// Emit compiler warnings when we get to Python 3.14.
|
// Emit compiler warnings when we get to Python 3.37.
|
||||||
#if PY_VERSION_HEX >= 0x030e00C0
|
#if PY_VERSION_HEX >= 0x032500C0
|
||||||
# error "Update the clinic input of '_testclinic.DeprStarNew.cloned'."
|
# error "Update the clinic input of '_testclinic.DeprStarNew.cloned'."
|
||||||
#elif PY_VERSION_HEX >= 0x030e00A0
|
#elif PY_VERSION_HEX >= 0x032500A0
|
||||||
# ifdef _MSC_VER
|
# ifdef _MSC_VER
|
||||||
# pragma message ("Update the clinic input of '_testclinic.DeprStarNew.cloned'.")
|
# pragma message ("Update the clinic input of '_testclinic.DeprStarNew.cloned'.")
|
||||||
# else
|
# else
|
||||||
@ -163,7 +163,7 @@ depr_star_new_clone(PyObject *type, PyObject *const *args, Py_ssize_t nargs, PyO
|
|||||||
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
||||||
"Passing positional arguments to _testclinic.DeprStarNew.cloned()"
|
"Passing positional arguments to _testclinic.DeprStarNew.cloned()"
|
||||||
" is deprecated. Parameter 'a' will become a keyword-only "
|
" is deprecated. Parameter 'a' will become a keyword-only "
|
||||||
"parameter in Python 3.14.", 1))
|
"parameter in Python 3.37.", 1))
|
||||||
{
|
{
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
@ -192,16 +192,16 @@ PyDoc_STRVAR(depr_star_init__doc__,
|
|||||||
"\n"
|
"\n"
|
||||||
"Note: Passing positional arguments to _testclinic.DeprStarInit() is\n"
|
"Note: Passing positional arguments to _testclinic.DeprStarInit() is\n"
|
||||||
"deprecated. Parameter \'a\' will become a keyword-only parameter in\n"
|
"deprecated. Parameter \'a\' will become a keyword-only parameter in\n"
|
||||||
"Python 3.14.\n"
|
"Python 3.37.\n"
|
||||||
"");
|
"");
|
||||||
|
|
||||||
static int
|
static int
|
||||||
depr_star_init_impl(PyObject *self, PyObject *a);
|
depr_star_init_impl(PyObject *self, PyObject *a);
|
||||||
|
|
||||||
// Emit compiler warnings when we get to Python 3.14.
|
// Emit compiler warnings when we get to Python 3.37.
|
||||||
#if PY_VERSION_HEX >= 0x030e00C0
|
#if PY_VERSION_HEX >= 0x032500C0
|
||||||
# error "Update the clinic input of '_testclinic.DeprStarInit.__init__'."
|
# error "Update the clinic input of '_testclinic.DeprStarInit.__init__'."
|
||||||
#elif PY_VERSION_HEX >= 0x030e00A0
|
#elif PY_VERSION_HEX >= 0x032500A0
|
||||||
# ifdef _MSC_VER
|
# ifdef _MSC_VER
|
||||||
# pragma message ("Update the clinic input of '_testclinic.DeprStarInit.__init__'.")
|
# pragma message ("Update the clinic input of '_testclinic.DeprStarInit.__init__'.")
|
||||||
# else
|
# else
|
||||||
@ -250,7 +250,7 @@ depr_star_init(PyObject *self, PyObject *args, PyObject *kwargs)
|
|||||||
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
||||||
"Passing positional arguments to _testclinic.DeprStarInit() is "
|
"Passing positional arguments to _testclinic.DeprStarInit() is "
|
||||||
"deprecated. Parameter 'a' will become a keyword-only parameter "
|
"deprecated. Parameter 'a' will become a keyword-only parameter "
|
||||||
"in Python 3.14.", 1))
|
"in Python 3.37.", 1))
|
||||||
{
|
{
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
@ -277,7 +277,7 @@ PyDoc_STRVAR(depr_star_init_clone__doc__,
|
|||||||
"\n"
|
"\n"
|
||||||
"Note: Passing positional arguments to\n"
|
"Note: Passing positional arguments to\n"
|
||||||
"_testclinic.DeprStarInit.cloned() is deprecated. Parameter \'a\' will\n"
|
"_testclinic.DeprStarInit.cloned() is deprecated. Parameter \'a\' will\n"
|
||||||
"become a keyword-only parameter in Python 3.14.\n"
|
"become a keyword-only parameter in Python 3.37.\n"
|
||||||
"");
|
"");
|
||||||
|
|
||||||
#define DEPR_STAR_INIT_CLONE_METHODDEF \
|
#define DEPR_STAR_INIT_CLONE_METHODDEF \
|
||||||
@ -286,10 +286,10 @@ PyDoc_STRVAR(depr_star_init_clone__doc__,
|
|||||||
static PyObject *
|
static PyObject *
|
||||||
depr_star_init_clone_impl(PyObject *self, PyObject *a);
|
depr_star_init_clone_impl(PyObject *self, PyObject *a);
|
||||||
|
|
||||||
// Emit compiler warnings when we get to Python 3.14.
|
// Emit compiler warnings when we get to Python 3.37.
|
||||||
#if PY_VERSION_HEX >= 0x030e00C0
|
#if PY_VERSION_HEX >= 0x032500C0
|
||||||
# error "Update the clinic input of '_testclinic.DeprStarInit.cloned'."
|
# error "Update the clinic input of '_testclinic.DeprStarInit.cloned'."
|
||||||
#elif PY_VERSION_HEX >= 0x030e00A0
|
#elif PY_VERSION_HEX >= 0x032500A0
|
||||||
# ifdef _MSC_VER
|
# ifdef _MSC_VER
|
||||||
# pragma message ("Update the clinic input of '_testclinic.DeprStarInit.cloned'.")
|
# pragma message ("Update the clinic input of '_testclinic.DeprStarInit.cloned'.")
|
||||||
# else
|
# else
|
||||||
@ -336,7 +336,7 @@ depr_star_init_clone(PyObject *self, PyObject *const *args, Py_ssize_t nargs, Py
|
|||||||
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
||||||
"Passing positional arguments to "
|
"Passing positional arguments to "
|
||||||
"_testclinic.DeprStarInit.cloned() is deprecated. Parameter 'a' "
|
"_testclinic.DeprStarInit.cloned() is deprecated. Parameter 'a' "
|
||||||
"will become a keyword-only parameter in Python 3.14.", 1))
|
"will become a keyword-only parameter in Python 3.37.", 1))
|
||||||
{
|
{
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
@ -361,10 +361,10 @@ static int
|
|||||||
depr_star_init_noinline_impl(PyObject *self, PyObject *a, PyObject *b,
|
depr_star_init_noinline_impl(PyObject *self, PyObject *a, PyObject *b,
|
||||||
PyObject *c, const char *d, Py_ssize_t d_length);
|
PyObject *c, const char *d, Py_ssize_t d_length);
|
||||||
|
|
||||||
// Emit compiler warnings when we get to Python 3.14.
|
// Emit compiler warnings when we get to Python 3.37.
|
||||||
#if PY_VERSION_HEX >= 0x030e00C0
|
#if PY_VERSION_HEX >= 0x032500C0
|
||||||
# error "Update the clinic input of '_testclinic.DeprStarInitNoInline.__init__'."
|
# error "Update the clinic input of '_testclinic.DeprStarInitNoInline.__init__'."
|
||||||
#elif PY_VERSION_HEX >= 0x030e00A0
|
#elif PY_VERSION_HEX >= 0x032500A0
|
||||||
# ifdef _MSC_VER
|
# ifdef _MSC_VER
|
||||||
# pragma message ("Update the clinic input of '_testclinic.DeprStarInitNoInline.__init__'.")
|
# pragma message ("Update the clinic input of '_testclinic.DeprStarInitNoInline.__init__'.")
|
||||||
# else
|
# else
|
||||||
@ -414,7 +414,7 @@ depr_star_init_noinline(PyObject *self, PyObject *args, PyObject *kwargs)
|
|||||||
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
||||||
"Passing more than 1 positional argument to "
|
"Passing more than 1 positional argument to "
|
||||||
"_testclinic.DeprStarInitNoInline() is deprecated. Parameters 'b'"
|
"_testclinic.DeprStarInitNoInline() is deprecated. Parameters 'b'"
|
||||||
" and 'c' will become keyword-only parameters in Python 3.14.", 1))
|
" and 'c' will become keyword-only parameters in Python 3.37.", 1))
|
||||||
{
|
{
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
@ -436,16 +436,16 @@ PyDoc_STRVAR(depr_kwd_new__doc__,
|
|||||||
"The deprecation message should use the class name instead of __new__.\n"
|
"The deprecation message should use the class name instead of __new__.\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Note: Passing keyword argument \'a\' to _testclinic.DeprKwdNew() is\n"
|
"Note: Passing keyword argument \'a\' to _testclinic.DeprKwdNew() is\n"
|
||||||
"deprecated. Parameter \'a\' will become positional-only in Python 3.14.\n"
|
"deprecated. Parameter \'a\' will become positional-only in Python 3.37.\n"
|
||||||
"");
|
"");
|
||||||
|
|
||||||
static PyObject *
|
static PyObject *
|
||||||
depr_kwd_new_impl(PyTypeObject *type, PyObject *a);
|
depr_kwd_new_impl(PyTypeObject *type, PyObject *a);
|
||||||
|
|
||||||
// Emit compiler warnings when we get to Python 3.14.
|
// Emit compiler warnings when we get to Python 3.37.
|
||||||
#if PY_VERSION_HEX >= 0x030e00C0
|
#if PY_VERSION_HEX >= 0x032500C0
|
||||||
# error "Update the clinic input of '_testclinic.DeprKwdNew.__new__'."
|
# error "Update the clinic input of '_testclinic.DeprKwdNew.__new__'."
|
||||||
#elif PY_VERSION_HEX >= 0x030e00A0
|
#elif PY_VERSION_HEX >= 0x032500A0
|
||||||
# ifdef _MSC_VER
|
# ifdef _MSC_VER
|
||||||
# pragma message ("Update the clinic input of '_testclinic.DeprKwdNew.__new__'.")
|
# pragma message ("Update the clinic input of '_testclinic.DeprKwdNew.__new__'.")
|
||||||
# else
|
# else
|
||||||
@ -499,7 +499,7 @@ depr_kwd_new(PyTypeObject *type, PyObject *args, PyObject *kwargs)
|
|||||||
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
||||||
"Passing keyword argument 'a' to _testclinic.DeprKwdNew() is "
|
"Passing keyword argument 'a' to _testclinic.DeprKwdNew() is "
|
||||||
"deprecated. Parameter 'a' will become positional-only in Python "
|
"deprecated. Parameter 'a' will become positional-only in Python "
|
||||||
"3.14.", 1))
|
"3.37.", 1))
|
||||||
{
|
{
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
@ -522,16 +522,16 @@ PyDoc_STRVAR(depr_kwd_init__doc__,
|
|||||||
"The deprecation message should use the class name instead of __init__.\n"
|
"The deprecation message should use the class name instead of __init__.\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Note: Passing keyword argument \'a\' to _testclinic.DeprKwdInit() is\n"
|
"Note: Passing keyword argument \'a\' to _testclinic.DeprKwdInit() is\n"
|
||||||
"deprecated. Parameter \'a\' will become positional-only in Python 3.14.\n"
|
"deprecated. Parameter \'a\' will become positional-only in Python 3.37.\n"
|
||||||
"");
|
"");
|
||||||
|
|
||||||
static int
|
static int
|
||||||
depr_kwd_init_impl(PyObject *self, PyObject *a);
|
depr_kwd_init_impl(PyObject *self, PyObject *a);
|
||||||
|
|
||||||
// Emit compiler warnings when we get to Python 3.14.
|
// Emit compiler warnings when we get to Python 3.37.
|
||||||
#if PY_VERSION_HEX >= 0x030e00C0
|
#if PY_VERSION_HEX >= 0x032500C0
|
||||||
# error "Update the clinic input of '_testclinic.DeprKwdInit.__init__'."
|
# error "Update the clinic input of '_testclinic.DeprKwdInit.__init__'."
|
||||||
#elif PY_VERSION_HEX >= 0x030e00A0
|
#elif PY_VERSION_HEX >= 0x032500A0
|
||||||
# ifdef _MSC_VER
|
# ifdef _MSC_VER
|
||||||
# pragma message ("Update the clinic input of '_testclinic.DeprKwdInit.__init__'.")
|
# pragma message ("Update the clinic input of '_testclinic.DeprKwdInit.__init__'.")
|
||||||
# else
|
# else
|
||||||
@ -585,7 +585,7 @@ depr_kwd_init(PyObject *self, PyObject *args, PyObject *kwargs)
|
|||||||
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
||||||
"Passing keyword argument 'a' to _testclinic.DeprKwdInit() is "
|
"Passing keyword argument 'a' to _testclinic.DeprKwdInit() is "
|
||||||
"deprecated. Parameter 'a' will become positional-only in Python "
|
"deprecated. Parameter 'a' will become positional-only in Python "
|
||||||
"3.14.", 1))
|
"3.37.", 1))
|
||||||
{
|
{
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
@ -605,10 +605,10 @@ static int
|
|||||||
depr_kwd_init_noinline_impl(PyObject *self, PyObject *a, PyObject *b,
|
depr_kwd_init_noinline_impl(PyObject *self, PyObject *a, PyObject *b,
|
||||||
PyObject *c, const char *d, Py_ssize_t d_length);
|
PyObject *c, const char *d, Py_ssize_t d_length);
|
||||||
|
|
||||||
// Emit compiler warnings when we get to Python 3.14.
|
// Emit compiler warnings when we get to Python 3.37.
|
||||||
#if PY_VERSION_HEX >= 0x030e00C0
|
#if PY_VERSION_HEX >= 0x032500C0
|
||||||
# error "Update the clinic input of '_testclinic.DeprKwdInitNoInline.__init__'."
|
# error "Update the clinic input of '_testclinic.DeprKwdInitNoInline.__init__'."
|
||||||
#elif PY_VERSION_HEX >= 0x030e00A0
|
#elif PY_VERSION_HEX >= 0x032500A0
|
||||||
# ifdef _MSC_VER
|
# ifdef _MSC_VER
|
||||||
# pragma message ("Update the clinic input of '_testclinic.DeprKwdInitNoInline.__init__'.")
|
# pragma message ("Update the clinic input of '_testclinic.DeprKwdInitNoInline.__init__'.")
|
||||||
# else
|
# else
|
||||||
@ -665,7 +665,7 @@ depr_kwd_init_noinline(PyObject *self, PyObject *args, PyObject *kwargs)
|
|||||||
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
||||||
"Passing keyword arguments 'b' and 'c' to "
|
"Passing keyword arguments 'b' and 'c' to "
|
||||||
"_testclinic.DeprKwdInitNoInline() is deprecated. Parameters 'b' "
|
"_testclinic.DeprKwdInitNoInline() is deprecated. Parameters 'b' "
|
||||||
"and 'c' will become positional-only in Python 3.14.", 1))
|
"and 'c' will become positional-only in Python 3.37.", 1))
|
||||||
{
|
{
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
@ -682,7 +682,7 @@ PyDoc_STRVAR(depr_star_pos0_len1__doc__,
|
|||||||
"\n"
|
"\n"
|
||||||
"Note: Passing positional arguments to depr_star_pos0_len1() is\n"
|
"Note: Passing positional arguments to depr_star_pos0_len1() is\n"
|
||||||
"deprecated. Parameter \'a\' will become a keyword-only parameter in\n"
|
"deprecated. Parameter \'a\' will become a keyword-only parameter in\n"
|
||||||
"Python 3.14.\n"
|
"Python 3.37.\n"
|
||||||
"");
|
"");
|
||||||
|
|
||||||
#define DEPR_STAR_POS0_LEN1_METHODDEF \
|
#define DEPR_STAR_POS0_LEN1_METHODDEF \
|
||||||
@ -691,10 +691,10 @@ PyDoc_STRVAR(depr_star_pos0_len1__doc__,
|
|||||||
static PyObject *
|
static PyObject *
|
||||||
depr_star_pos0_len1_impl(PyObject *module, PyObject *a);
|
depr_star_pos0_len1_impl(PyObject *module, PyObject *a);
|
||||||
|
|
||||||
// Emit compiler warnings when we get to Python 3.14.
|
// Emit compiler warnings when we get to Python 3.37.
|
||||||
#if PY_VERSION_HEX >= 0x030e00C0
|
#if PY_VERSION_HEX >= 0x032500C0
|
||||||
# error "Update the clinic input of 'depr_star_pos0_len1'."
|
# error "Update the clinic input of 'depr_star_pos0_len1'."
|
||||||
#elif PY_VERSION_HEX >= 0x030e00A0
|
#elif PY_VERSION_HEX >= 0x032500A0
|
||||||
# ifdef _MSC_VER
|
# ifdef _MSC_VER
|
||||||
# pragma message ("Update the clinic input of 'depr_star_pos0_len1'.")
|
# pragma message ("Update the clinic input of 'depr_star_pos0_len1'.")
|
||||||
# else
|
# else
|
||||||
@ -740,7 +740,7 @@ depr_star_pos0_len1(PyObject *module, PyObject *const *args, Py_ssize_t nargs, P
|
|||||||
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
||||||
"Passing positional arguments to depr_star_pos0_len1() is "
|
"Passing positional arguments to depr_star_pos0_len1() is "
|
||||||
"deprecated. Parameter 'a' will become a keyword-only parameter "
|
"deprecated. Parameter 'a' will become a keyword-only parameter "
|
||||||
"in Python 3.14.", 1))
|
"in Python 3.37.", 1))
|
||||||
{
|
{
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
@ -763,7 +763,7 @@ PyDoc_STRVAR(depr_star_pos0_len2__doc__,
|
|||||||
"\n"
|
"\n"
|
||||||
"Note: Passing positional arguments to depr_star_pos0_len2() is\n"
|
"Note: Passing positional arguments to depr_star_pos0_len2() is\n"
|
||||||
"deprecated. Parameters \'a\' and \'b\' will become keyword-only parameters\n"
|
"deprecated. Parameters \'a\' and \'b\' will become keyword-only parameters\n"
|
||||||
"in Python 3.14.\n"
|
"in Python 3.37.\n"
|
||||||
"");
|
"");
|
||||||
|
|
||||||
#define DEPR_STAR_POS0_LEN2_METHODDEF \
|
#define DEPR_STAR_POS0_LEN2_METHODDEF \
|
||||||
@ -772,10 +772,10 @@ PyDoc_STRVAR(depr_star_pos0_len2__doc__,
|
|||||||
static PyObject *
|
static PyObject *
|
||||||
depr_star_pos0_len2_impl(PyObject *module, PyObject *a, PyObject *b);
|
depr_star_pos0_len2_impl(PyObject *module, PyObject *a, PyObject *b);
|
||||||
|
|
||||||
// Emit compiler warnings when we get to Python 3.14.
|
// Emit compiler warnings when we get to Python 3.37.
|
||||||
#if PY_VERSION_HEX >= 0x030e00C0
|
#if PY_VERSION_HEX >= 0x032500C0
|
||||||
# error "Update the clinic input of 'depr_star_pos0_len2'."
|
# error "Update the clinic input of 'depr_star_pos0_len2'."
|
||||||
#elif PY_VERSION_HEX >= 0x030e00A0
|
#elif PY_VERSION_HEX >= 0x032500A0
|
||||||
# ifdef _MSC_VER
|
# ifdef _MSC_VER
|
||||||
# pragma message ("Update the clinic input of 'depr_star_pos0_len2'.")
|
# pragma message ("Update the clinic input of 'depr_star_pos0_len2'.")
|
||||||
# else
|
# else
|
||||||
@ -822,7 +822,7 @@ depr_star_pos0_len2(PyObject *module, PyObject *const *args, Py_ssize_t nargs, P
|
|||||||
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
||||||
"Passing positional arguments to depr_star_pos0_len2() is "
|
"Passing positional arguments to depr_star_pos0_len2() is "
|
||||||
"deprecated. Parameters 'a' and 'b' will become keyword-only "
|
"deprecated. Parameters 'a' and 'b' will become keyword-only "
|
||||||
"parameters in Python 3.14.", 1))
|
"parameters in Python 3.37.", 1))
|
||||||
{
|
{
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
@ -846,7 +846,7 @@ PyDoc_STRVAR(depr_star_pos0_len3_with_kwd__doc__,
|
|||||||
"\n"
|
"\n"
|
||||||
"Note: Passing positional arguments to depr_star_pos0_len3_with_kwd()\n"
|
"Note: Passing positional arguments to depr_star_pos0_len3_with_kwd()\n"
|
||||||
"is deprecated. Parameters \'a\', \'b\' and \'c\' will become keyword-only\n"
|
"is deprecated. Parameters \'a\', \'b\' and \'c\' will become keyword-only\n"
|
||||||
"parameters in Python 3.14.\n"
|
"parameters in Python 3.37.\n"
|
||||||
"");
|
"");
|
||||||
|
|
||||||
#define DEPR_STAR_POS0_LEN3_WITH_KWD_METHODDEF \
|
#define DEPR_STAR_POS0_LEN3_WITH_KWD_METHODDEF \
|
||||||
@ -856,10 +856,10 @@ static PyObject *
|
|||||||
depr_star_pos0_len3_with_kwd_impl(PyObject *module, PyObject *a, PyObject *b,
|
depr_star_pos0_len3_with_kwd_impl(PyObject *module, PyObject *a, PyObject *b,
|
||||||
PyObject *c, PyObject *d);
|
PyObject *c, PyObject *d);
|
||||||
|
|
||||||
// Emit compiler warnings when we get to Python 3.14.
|
// Emit compiler warnings when we get to Python 3.37.
|
||||||
#if PY_VERSION_HEX >= 0x030e00C0
|
#if PY_VERSION_HEX >= 0x032500C0
|
||||||
# error "Update the clinic input of 'depr_star_pos0_len3_with_kwd'."
|
# error "Update the clinic input of 'depr_star_pos0_len3_with_kwd'."
|
||||||
#elif PY_VERSION_HEX >= 0x030e00A0
|
#elif PY_VERSION_HEX >= 0x032500A0
|
||||||
# ifdef _MSC_VER
|
# ifdef _MSC_VER
|
||||||
# pragma message ("Update the clinic input of 'depr_star_pos0_len3_with_kwd'.")
|
# pragma message ("Update the clinic input of 'depr_star_pos0_len3_with_kwd'.")
|
||||||
# else
|
# else
|
||||||
@ -908,7 +908,7 @@ depr_star_pos0_len3_with_kwd(PyObject *module, PyObject *const *args, Py_ssize_t
|
|||||||
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
||||||
"Passing positional arguments to depr_star_pos0_len3_with_kwd() "
|
"Passing positional arguments to depr_star_pos0_len3_with_kwd() "
|
||||||
"is deprecated. Parameters 'a', 'b' and 'c' will become "
|
"is deprecated. Parameters 'a', 'b' and 'c' will become "
|
||||||
"keyword-only parameters in Python 3.14.", 1))
|
"keyword-only parameters in Python 3.37.", 1))
|
||||||
{
|
{
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
@ -934,7 +934,7 @@ PyDoc_STRVAR(depr_star_pos1_len1_opt__doc__,
|
|||||||
"\n"
|
"\n"
|
||||||
"Note: Passing 2 positional arguments to depr_star_pos1_len1_opt() is\n"
|
"Note: Passing 2 positional arguments to depr_star_pos1_len1_opt() is\n"
|
||||||
"deprecated. Parameter \'b\' will become a keyword-only parameter in\n"
|
"deprecated. Parameter \'b\' will become a keyword-only parameter in\n"
|
||||||
"Python 3.14.\n"
|
"Python 3.37.\n"
|
||||||
"");
|
"");
|
||||||
|
|
||||||
#define DEPR_STAR_POS1_LEN1_OPT_METHODDEF \
|
#define DEPR_STAR_POS1_LEN1_OPT_METHODDEF \
|
||||||
@ -943,10 +943,10 @@ PyDoc_STRVAR(depr_star_pos1_len1_opt__doc__,
|
|||||||
static PyObject *
|
static PyObject *
|
||||||
depr_star_pos1_len1_opt_impl(PyObject *module, PyObject *a, PyObject *b);
|
depr_star_pos1_len1_opt_impl(PyObject *module, PyObject *a, PyObject *b);
|
||||||
|
|
||||||
// Emit compiler warnings when we get to Python 3.14.
|
// Emit compiler warnings when we get to Python 3.37.
|
||||||
#if PY_VERSION_HEX >= 0x030e00C0
|
#if PY_VERSION_HEX >= 0x032500C0
|
||||||
# error "Update the clinic input of 'depr_star_pos1_len1_opt'."
|
# error "Update the clinic input of 'depr_star_pos1_len1_opt'."
|
||||||
#elif PY_VERSION_HEX >= 0x030e00A0
|
#elif PY_VERSION_HEX >= 0x032500A0
|
||||||
# ifdef _MSC_VER
|
# ifdef _MSC_VER
|
||||||
# pragma message ("Update the clinic input of 'depr_star_pos1_len1_opt'.")
|
# pragma message ("Update the clinic input of 'depr_star_pos1_len1_opt'.")
|
||||||
# else
|
# else
|
||||||
@ -994,7 +994,7 @@ depr_star_pos1_len1_opt(PyObject *module, PyObject *const *args, Py_ssize_t narg
|
|||||||
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
||||||
"Passing 2 positional arguments to depr_star_pos1_len1_opt() is "
|
"Passing 2 positional arguments to depr_star_pos1_len1_opt() is "
|
||||||
"deprecated. Parameter 'b' will become a keyword-only parameter "
|
"deprecated. Parameter 'b' will become a keyword-only parameter "
|
||||||
"in Python 3.14.", 1))
|
"in Python 3.37.", 1))
|
||||||
{
|
{
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
@ -1022,7 +1022,7 @@ PyDoc_STRVAR(depr_star_pos1_len1__doc__,
|
|||||||
"\n"
|
"\n"
|
||||||
"Note: Passing 2 positional arguments to depr_star_pos1_len1() is\n"
|
"Note: Passing 2 positional arguments to depr_star_pos1_len1() is\n"
|
||||||
"deprecated. Parameter \'b\' will become a keyword-only parameter in\n"
|
"deprecated. Parameter \'b\' will become a keyword-only parameter in\n"
|
||||||
"Python 3.14.\n"
|
"Python 3.37.\n"
|
||||||
"");
|
"");
|
||||||
|
|
||||||
#define DEPR_STAR_POS1_LEN1_METHODDEF \
|
#define DEPR_STAR_POS1_LEN1_METHODDEF \
|
||||||
@ -1031,10 +1031,10 @@ PyDoc_STRVAR(depr_star_pos1_len1__doc__,
|
|||||||
static PyObject *
|
static PyObject *
|
||||||
depr_star_pos1_len1_impl(PyObject *module, PyObject *a, PyObject *b);
|
depr_star_pos1_len1_impl(PyObject *module, PyObject *a, PyObject *b);
|
||||||
|
|
||||||
// Emit compiler warnings when we get to Python 3.14.
|
// Emit compiler warnings when we get to Python 3.37.
|
||||||
#if PY_VERSION_HEX >= 0x030e00C0
|
#if PY_VERSION_HEX >= 0x032500C0
|
||||||
# error "Update the clinic input of 'depr_star_pos1_len1'."
|
# error "Update the clinic input of 'depr_star_pos1_len1'."
|
||||||
#elif PY_VERSION_HEX >= 0x030e00A0
|
#elif PY_VERSION_HEX >= 0x032500A0
|
||||||
# ifdef _MSC_VER
|
# ifdef _MSC_VER
|
||||||
# pragma message ("Update the clinic input of 'depr_star_pos1_len1'.")
|
# pragma message ("Update the clinic input of 'depr_star_pos1_len1'.")
|
||||||
# else
|
# else
|
||||||
@ -1081,7 +1081,7 @@ depr_star_pos1_len1(PyObject *module, PyObject *const *args, Py_ssize_t nargs, P
|
|||||||
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
||||||
"Passing 2 positional arguments to depr_star_pos1_len1() is "
|
"Passing 2 positional arguments to depr_star_pos1_len1() is "
|
||||||
"deprecated. Parameter 'b' will become a keyword-only parameter "
|
"deprecated. Parameter 'b' will become a keyword-only parameter "
|
||||||
"in Python 3.14.", 1))
|
"in Python 3.37.", 1))
|
||||||
{
|
{
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
@ -1105,7 +1105,7 @@ PyDoc_STRVAR(depr_star_pos1_len2_with_kwd__doc__,
|
|||||||
"\n"
|
"\n"
|
||||||
"Note: Passing more than 1 positional argument to\n"
|
"Note: Passing more than 1 positional argument to\n"
|
||||||
"depr_star_pos1_len2_with_kwd() is deprecated. Parameters \'b\' and \'c\'\n"
|
"depr_star_pos1_len2_with_kwd() is deprecated. Parameters \'b\' and \'c\'\n"
|
||||||
"will become keyword-only parameters in Python 3.14.\n"
|
"will become keyword-only parameters in Python 3.37.\n"
|
||||||
"");
|
"");
|
||||||
|
|
||||||
#define DEPR_STAR_POS1_LEN2_WITH_KWD_METHODDEF \
|
#define DEPR_STAR_POS1_LEN2_WITH_KWD_METHODDEF \
|
||||||
@ -1115,10 +1115,10 @@ static PyObject *
|
|||||||
depr_star_pos1_len2_with_kwd_impl(PyObject *module, PyObject *a, PyObject *b,
|
depr_star_pos1_len2_with_kwd_impl(PyObject *module, PyObject *a, PyObject *b,
|
||||||
PyObject *c, PyObject *d);
|
PyObject *c, PyObject *d);
|
||||||
|
|
||||||
// Emit compiler warnings when we get to Python 3.14.
|
// Emit compiler warnings when we get to Python 3.37.
|
||||||
#if PY_VERSION_HEX >= 0x030e00C0
|
#if PY_VERSION_HEX >= 0x032500C0
|
||||||
# error "Update the clinic input of 'depr_star_pos1_len2_with_kwd'."
|
# error "Update the clinic input of 'depr_star_pos1_len2_with_kwd'."
|
||||||
#elif PY_VERSION_HEX >= 0x030e00A0
|
#elif PY_VERSION_HEX >= 0x032500A0
|
||||||
# ifdef _MSC_VER
|
# ifdef _MSC_VER
|
||||||
# pragma message ("Update the clinic input of 'depr_star_pos1_len2_with_kwd'.")
|
# pragma message ("Update the clinic input of 'depr_star_pos1_len2_with_kwd'.")
|
||||||
# else
|
# else
|
||||||
@ -1167,7 +1167,7 @@ depr_star_pos1_len2_with_kwd(PyObject *module, PyObject *const *args, Py_ssize_t
|
|||||||
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
||||||
"Passing more than 1 positional argument to "
|
"Passing more than 1 positional argument to "
|
||||||
"depr_star_pos1_len2_with_kwd() is deprecated. Parameters 'b' and"
|
"depr_star_pos1_len2_with_kwd() is deprecated. Parameters 'b' and"
|
||||||
" 'c' will become keyword-only parameters in Python 3.14.", 1))
|
" 'c' will become keyword-only parameters in Python 3.37.", 1))
|
||||||
{
|
{
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
@ -1193,7 +1193,7 @@ PyDoc_STRVAR(depr_star_pos2_len1__doc__,
|
|||||||
"\n"
|
"\n"
|
||||||
"Note: Passing 3 positional arguments to depr_star_pos2_len1() is\n"
|
"Note: Passing 3 positional arguments to depr_star_pos2_len1() is\n"
|
||||||
"deprecated. Parameter \'c\' will become a keyword-only parameter in\n"
|
"deprecated. Parameter \'c\' will become a keyword-only parameter in\n"
|
||||||
"Python 3.14.\n"
|
"Python 3.37.\n"
|
||||||
"");
|
"");
|
||||||
|
|
||||||
#define DEPR_STAR_POS2_LEN1_METHODDEF \
|
#define DEPR_STAR_POS2_LEN1_METHODDEF \
|
||||||
@ -1203,10 +1203,10 @@ static PyObject *
|
|||||||
depr_star_pos2_len1_impl(PyObject *module, PyObject *a, PyObject *b,
|
depr_star_pos2_len1_impl(PyObject *module, PyObject *a, PyObject *b,
|
||||||
PyObject *c);
|
PyObject *c);
|
||||||
|
|
||||||
// Emit compiler warnings when we get to Python 3.14.
|
// Emit compiler warnings when we get to Python 3.37.
|
||||||
#if PY_VERSION_HEX >= 0x030e00C0
|
#if PY_VERSION_HEX >= 0x032500C0
|
||||||
# error "Update the clinic input of 'depr_star_pos2_len1'."
|
# error "Update the clinic input of 'depr_star_pos2_len1'."
|
||||||
#elif PY_VERSION_HEX >= 0x030e00A0
|
#elif PY_VERSION_HEX >= 0x032500A0
|
||||||
# ifdef _MSC_VER
|
# ifdef _MSC_VER
|
||||||
# pragma message ("Update the clinic input of 'depr_star_pos2_len1'.")
|
# pragma message ("Update the clinic input of 'depr_star_pos2_len1'.")
|
||||||
# else
|
# else
|
||||||
@ -1254,7 +1254,7 @@ depr_star_pos2_len1(PyObject *module, PyObject *const *args, Py_ssize_t nargs, P
|
|||||||
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
||||||
"Passing 3 positional arguments to depr_star_pos2_len1() is "
|
"Passing 3 positional arguments to depr_star_pos2_len1() is "
|
||||||
"deprecated. Parameter 'c' will become a keyword-only parameter "
|
"deprecated. Parameter 'c' will become a keyword-only parameter "
|
||||||
"in Python 3.14.", 1))
|
"in Python 3.37.", 1))
|
||||||
{
|
{
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
@ -1279,7 +1279,7 @@ PyDoc_STRVAR(depr_star_pos2_len2__doc__,
|
|||||||
"\n"
|
"\n"
|
||||||
"Note: Passing more than 2 positional arguments to\n"
|
"Note: Passing more than 2 positional arguments to\n"
|
||||||
"depr_star_pos2_len2() is deprecated. Parameters \'c\' and \'d\' will\n"
|
"depr_star_pos2_len2() is deprecated. Parameters \'c\' and \'d\' will\n"
|
||||||
"become keyword-only parameters in Python 3.14.\n"
|
"become keyword-only parameters in Python 3.37.\n"
|
||||||
"");
|
"");
|
||||||
|
|
||||||
#define DEPR_STAR_POS2_LEN2_METHODDEF \
|
#define DEPR_STAR_POS2_LEN2_METHODDEF \
|
||||||
@ -1289,10 +1289,10 @@ static PyObject *
|
|||||||
depr_star_pos2_len2_impl(PyObject *module, PyObject *a, PyObject *b,
|
depr_star_pos2_len2_impl(PyObject *module, PyObject *a, PyObject *b,
|
||||||
PyObject *c, PyObject *d);
|
PyObject *c, PyObject *d);
|
||||||
|
|
||||||
// Emit compiler warnings when we get to Python 3.14.
|
// Emit compiler warnings when we get to Python 3.37.
|
||||||
#if PY_VERSION_HEX >= 0x030e00C0
|
#if PY_VERSION_HEX >= 0x032500C0
|
||||||
# error "Update the clinic input of 'depr_star_pos2_len2'."
|
# error "Update the clinic input of 'depr_star_pos2_len2'."
|
||||||
#elif PY_VERSION_HEX >= 0x030e00A0
|
#elif PY_VERSION_HEX >= 0x032500A0
|
||||||
# ifdef _MSC_VER
|
# ifdef _MSC_VER
|
||||||
# pragma message ("Update the clinic input of 'depr_star_pos2_len2'.")
|
# pragma message ("Update the clinic input of 'depr_star_pos2_len2'.")
|
||||||
# else
|
# else
|
||||||
@ -1341,7 +1341,7 @@ depr_star_pos2_len2(PyObject *module, PyObject *const *args, Py_ssize_t nargs, P
|
|||||||
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
||||||
"Passing more than 2 positional arguments to "
|
"Passing more than 2 positional arguments to "
|
||||||
"depr_star_pos2_len2() is deprecated. Parameters 'c' and 'd' will"
|
"depr_star_pos2_len2() is deprecated. Parameters 'c' and 'd' will"
|
||||||
" become keyword-only parameters in Python 3.14.", 1))
|
" become keyword-only parameters in Python 3.37.", 1))
|
||||||
{
|
{
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
@ -1367,7 +1367,7 @@ PyDoc_STRVAR(depr_star_pos2_len2_with_kwd__doc__,
|
|||||||
"\n"
|
"\n"
|
||||||
"Note: Passing more than 2 positional arguments to\n"
|
"Note: Passing more than 2 positional arguments to\n"
|
||||||
"depr_star_pos2_len2_with_kwd() is deprecated. Parameters \'c\' and \'d\'\n"
|
"depr_star_pos2_len2_with_kwd() is deprecated. Parameters \'c\' and \'d\'\n"
|
||||||
"will become keyword-only parameters in Python 3.14.\n"
|
"will become keyword-only parameters in Python 3.37.\n"
|
||||||
"");
|
"");
|
||||||
|
|
||||||
#define DEPR_STAR_POS2_LEN2_WITH_KWD_METHODDEF \
|
#define DEPR_STAR_POS2_LEN2_WITH_KWD_METHODDEF \
|
||||||
@ -1377,10 +1377,10 @@ static PyObject *
|
|||||||
depr_star_pos2_len2_with_kwd_impl(PyObject *module, PyObject *a, PyObject *b,
|
depr_star_pos2_len2_with_kwd_impl(PyObject *module, PyObject *a, PyObject *b,
|
||||||
PyObject *c, PyObject *d, PyObject *e);
|
PyObject *c, PyObject *d, PyObject *e);
|
||||||
|
|
||||||
// Emit compiler warnings when we get to Python 3.14.
|
// Emit compiler warnings when we get to Python 3.37.
|
||||||
#if PY_VERSION_HEX >= 0x030e00C0
|
#if PY_VERSION_HEX >= 0x032500C0
|
||||||
# error "Update the clinic input of 'depr_star_pos2_len2_with_kwd'."
|
# error "Update the clinic input of 'depr_star_pos2_len2_with_kwd'."
|
||||||
#elif PY_VERSION_HEX >= 0x030e00A0
|
#elif PY_VERSION_HEX >= 0x032500A0
|
||||||
# ifdef _MSC_VER
|
# ifdef _MSC_VER
|
||||||
# pragma message ("Update the clinic input of 'depr_star_pos2_len2_with_kwd'.")
|
# pragma message ("Update the clinic input of 'depr_star_pos2_len2_with_kwd'.")
|
||||||
# else
|
# else
|
||||||
@ -1430,7 +1430,7 @@ depr_star_pos2_len2_with_kwd(PyObject *module, PyObject *const *args, Py_ssize_t
|
|||||||
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
||||||
"Passing more than 2 positional arguments to "
|
"Passing more than 2 positional arguments to "
|
||||||
"depr_star_pos2_len2_with_kwd() is deprecated. Parameters 'c' and"
|
"depr_star_pos2_len2_with_kwd() is deprecated. Parameters 'c' and"
|
||||||
" 'd' will become keyword-only parameters in Python 3.14.", 1))
|
" 'd' will become keyword-only parameters in Python 3.37.", 1))
|
||||||
{
|
{
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
@ -1457,7 +1457,7 @@ PyDoc_STRVAR(depr_star_noinline__doc__,
|
|||||||
"\n"
|
"\n"
|
||||||
"Note: Passing more than 1 positional argument to depr_star_noinline()\n"
|
"Note: Passing more than 1 positional argument to depr_star_noinline()\n"
|
||||||
"is deprecated. Parameters \'b\' and \'c\' will become keyword-only\n"
|
"is deprecated. Parameters \'b\' and \'c\' will become keyword-only\n"
|
||||||
"parameters in Python 3.14.\n"
|
"parameters in Python 3.37.\n"
|
||||||
"");
|
"");
|
||||||
|
|
||||||
#define DEPR_STAR_NOINLINE_METHODDEF \
|
#define DEPR_STAR_NOINLINE_METHODDEF \
|
||||||
@ -1467,10 +1467,10 @@ static PyObject *
|
|||||||
depr_star_noinline_impl(PyObject *module, PyObject *a, PyObject *b,
|
depr_star_noinline_impl(PyObject *module, PyObject *a, PyObject *b,
|
||||||
PyObject *c, const char *d, Py_ssize_t d_length);
|
PyObject *c, const char *d, Py_ssize_t d_length);
|
||||||
|
|
||||||
// Emit compiler warnings when we get to Python 3.14.
|
// Emit compiler warnings when we get to Python 3.37.
|
||||||
#if PY_VERSION_HEX >= 0x030e00C0
|
#if PY_VERSION_HEX >= 0x032500C0
|
||||||
# error "Update the clinic input of 'depr_star_noinline'."
|
# error "Update the clinic input of 'depr_star_noinline'."
|
||||||
#elif PY_VERSION_HEX >= 0x030e00A0
|
#elif PY_VERSION_HEX >= 0x032500A0
|
||||||
# ifdef _MSC_VER
|
# ifdef _MSC_VER
|
||||||
# pragma message ("Update the clinic input of 'depr_star_noinline'.")
|
# pragma message ("Update the clinic input of 'depr_star_noinline'.")
|
||||||
# else
|
# else
|
||||||
@ -1519,7 +1519,7 @@ depr_star_noinline(PyObject *module, PyObject *const *args, Py_ssize_t nargs, Py
|
|||||||
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
||||||
"Passing more than 1 positional argument to depr_star_noinline() "
|
"Passing more than 1 positional argument to depr_star_noinline() "
|
||||||
"is deprecated. Parameters 'b' and 'c' will become keyword-only "
|
"is deprecated. Parameters 'b' and 'c' will become keyword-only "
|
||||||
"parameters in Python 3.14.", 1))
|
"parameters in Python 3.37.", 1))
|
||||||
{
|
{
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
@ -1540,9 +1540,9 @@ PyDoc_STRVAR(depr_star_multi__doc__,
|
|||||||
"\n"
|
"\n"
|
||||||
"Note: Passing more than 1 positional argument to depr_star_multi() is\n"
|
"Note: Passing more than 1 positional argument to depr_star_multi() is\n"
|
||||||
"deprecated. Parameter \'b\' will become a keyword-only parameter in\n"
|
"deprecated. Parameter \'b\' will become a keyword-only parameter in\n"
|
||||||
"Python 3.16. Parameters \'c\' and \'d\' will become keyword-only\n"
|
"Python 3.39. Parameters \'c\' and \'d\' will become keyword-only\n"
|
||||||
"parameters in Python 3.15. Parameters \'e\', \'f\' and \'g\' will become\n"
|
"parameters in Python 3.38. Parameters \'e\', \'f\' and \'g\' will become\n"
|
||||||
"keyword-only parameters in Python 3.14.\n"
|
"keyword-only parameters in Python 3.37.\n"
|
||||||
"");
|
"");
|
||||||
|
|
||||||
#define DEPR_STAR_MULTI_METHODDEF \
|
#define DEPR_STAR_MULTI_METHODDEF \
|
||||||
@ -1553,10 +1553,10 @@ depr_star_multi_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c,
|
|||||||
PyObject *d, PyObject *e, PyObject *f, PyObject *g,
|
PyObject *d, PyObject *e, PyObject *f, PyObject *g,
|
||||||
PyObject *h);
|
PyObject *h);
|
||||||
|
|
||||||
// Emit compiler warnings when we get to Python 3.14.
|
// Emit compiler warnings when we get to Python 3.37.
|
||||||
#if PY_VERSION_HEX >= 0x030e00C0
|
#if PY_VERSION_HEX >= 0x032500C0
|
||||||
# error "Update the clinic input of 'depr_star_multi'."
|
# error "Update the clinic input of 'depr_star_multi'."
|
||||||
#elif PY_VERSION_HEX >= 0x030e00A0
|
#elif PY_VERSION_HEX >= 0x032500A0
|
||||||
# ifdef _MSC_VER
|
# ifdef _MSC_VER
|
||||||
# pragma message ("Update the clinic input of 'depr_star_multi'.")
|
# pragma message ("Update the clinic input of 'depr_star_multi'.")
|
||||||
# else
|
# else
|
||||||
@ -1609,9 +1609,9 @@ depr_star_multi(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObj
|
|||||||
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
||||||
"Passing more than 1 positional argument to depr_star_multi() is "
|
"Passing more than 1 positional argument to depr_star_multi() is "
|
||||||
"deprecated. Parameter 'b' will become a keyword-only parameter "
|
"deprecated. Parameter 'b' will become a keyword-only parameter "
|
||||||
"in Python 3.16. Parameters 'c' and 'd' will become keyword-only "
|
"in Python 3.39. Parameters 'c' and 'd' will become keyword-only "
|
||||||
"parameters in Python 3.15. Parameters 'e', 'f' and 'g' will "
|
"parameters in Python 3.38. Parameters 'e', 'f' and 'g' will "
|
||||||
"become keyword-only parameters in Python 3.14.", 1))
|
"become keyword-only parameters in Python 3.37.", 1))
|
||||||
{
|
{
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
@ -1640,7 +1640,7 @@ PyDoc_STRVAR(depr_kwd_required_1__doc__,
|
|||||||
"--\n"
|
"--\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Note: Passing keyword argument \'b\' to depr_kwd_required_1() is\n"
|
"Note: Passing keyword argument \'b\' to depr_kwd_required_1() is\n"
|
||||||
"deprecated. Parameter \'b\' will become positional-only in Python 3.14.\n"
|
"deprecated. Parameter \'b\' will become positional-only in Python 3.37.\n"
|
||||||
"");
|
"");
|
||||||
|
|
||||||
#define DEPR_KWD_REQUIRED_1_METHODDEF \
|
#define DEPR_KWD_REQUIRED_1_METHODDEF \
|
||||||
@ -1649,10 +1649,10 @@ PyDoc_STRVAR(depr_kwd_required_1__doc__,
|
|||||||
static PyObject *
|
static PyObject *
|
||||||
depr_kwd_required_1_impl(PyObject *module, PyObject *a, PyObject *b);
|
depr_kwd_required_1_impl(PyObject *module, PyObject *a, PyObject *b);
|
||||||
|
|
||||||
// Emit compiler warnings when we get to Python 3.14.
|
// Emit compiler warnings when we get to Python 3.37.
|
||||||
#if PY_VERSION_HEX >= 0x030e00C0
|
#if PY_VERSION_HEX >= 0x032500C0
|
||||||
# error "Update the clinic input of 'depr_kwd_required_1'."
|
# error "Update the clinic input of 'depr_kwd_required_1'."
|
||||||
#elif PY_VERSION_HEX >= 0x030e00A0
|
#elif PY_VERSION_HEX >= 0x032500A0
|
||||||
# ifdef _MSC_VER
|
# ifdef _MSC_VER
|
||||||
# pragma message ("Update the clinic input of 'depr_kwd_required_1'.")
|
# pragma message ("Update the clinic input of 'depr_kwd_required_1'.")
|
||||||
# else
|
# else
|
||||||
@ -1704,7 +1704,7 @@ depr_kwd_required_1(PyObject *module, PyObject *const *args, Py_ssize_t nargs, P
|
|||||||
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
||||||
"Passing keyword argument 'b' to depr_kwd_required_1() is "
|
"Passing keyword argument 'b' to depr_kwd_required_1() is "
|
||||||
"deprecated. Parameter 'b' will become positional-only in Python "
|
"deprecated. Parameter 'b' will become positional-only in Python "
|
||||||
"3.14.", 1))
|
"3.37.", 1))
|
||||||
{
|
{
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
@ -1723,7 +1723,7 @@ PyDoc_STRVAR(depr_kwd_required_2__doc__,
|
|||||||
"\n"
|
"\n"
|
||||||
"Note: Passing keyword arguments \'b\' and \'c\' to depr_kwd_required_2()\n"
|
"Note: Passing keyword arguments \'b\' and \'c\' to depr_kwd_required_2()\n"
|
||||||
"is deprecated. Parameters \'b\' and \'c\' will become positional-only in\n"
|
"is deprecated. Parameters \'b\' and \'c\' will become positional-only in\n"
|
||||||
"Python 3.14.\n"
|
"Python 3.37.\n"
|
||||||
"");
|
"");
|
||||||
|
|
||||||
#define DEPR_KWD_REQUIRED_2_METHODDEF \
|
#define DEPR_KWD_REQUIRED_2_METHODDEF \
|
||||||
@ -1733,10 +1733,10 @@ static PyObject *
|
|||||||
depr_kwd_required_2_impl(PyObject *module, PyObject *a, PyObject *b,
|
depr_kwd_required_2_impl(PyObject *module, PyObject *a, PyObject *b,
|
||||||
PyObject *c);
|
PyObject *c);
|
||||||
|
|
||||||
// Emit compiler warnings when we get to Python 3.14.
|
// Emit compiler warnings when we get to Python 3.37.
|
||||||
#if PY_VERSION_HEX >= 0x030e00C0
|
#if PY_VERSION_HEX >= 0x032500C0
|
||||||
# error "Update the clinic input of 'depr_kwd_required_2'."
|
# error "Update the clinic input of 'depr_kwd_required_2'."
|
||||||
#elif PY_VERSION_HEX >= 0x030e00A0
|
#elif PY_VERSION_HEX >= 0x032500A0
|
||||||
# ifdef _MSC_VER
|
# ifdef _MSC_VER
|
||||||
# pragma message ("Update the clinic input of 'depr_kwd_required_2'.")
|
# pragma message ("Update the clinic input of 'depr_kwd_required_2'.")
|
||||||
# else
|
# else
|
||||||
@ -1789,7 +1789,7 @@ depr_kwd_required_2(PyObject *module, PyObject *const *args, Py_ssize_t nargs, P
|
|||||||
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
||||||
"Passing keyword arguments 'b' and 'c' to depr_kwd_required_2() "
|
"Passing keyword arguments 'b' and 'c' to depr_kwd_required_2() "
|
||||||
"is deprecated. Parameters 'b' and 'c' will become "
|
"is deprecated. Parameters 'b' and 'c' will become "
|
||||||
"positional-only in Python 3.14.", 1))
|
"positional-only in Python 3.37.", 1))
|
||||||
{
|
{
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
@ -1808,7 +1808,7 @@ PyDoc_STRVAR(depr_kwd_optional_1__doc__,
|
|||||||
"--\n"
|
"--\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Note: Passing keyword argument \'b\' to depr_kwd_optional_1() is\n"
|
"Note: Passing keyword argument \'b\' to depr_kwd_optional_1() is\n"
|
||||||
"deprecated. Parameter \'b\' will become positional-only in Python 3.14.\n"
|
"deprecated. Parameter \'b\' will become positional-only in Python 3.37.\n"
|
||||||
"");
|
"");
|
||||||
|
|
||||||
#define DEPR_KWD_OPTIONAL_1_METHODDEF \
|
#define DEPR_KWD_OPTIONAL_1_METHODDEF \
|
||||||
@ -1817,10 +1817,10 @@ PyDoc_STRVAR(depr_kwd_optional_1__doc__,
|
|||||||
static PyObject *
|
static PyObject *
|
||||||
depr_kwd_optional_1_impl(PyObject *module, PyObject *a, PyObject *b);
|
depr_kwd_optional_1_impl(PyObject *module, PyObject *a, PyObject *b);
|
||||||
|
|
||||||
// Emit compiler warnings when we get to Python 3.14.
|
// Emit compiler warnings when we get to Python 3.37.
|
||||||
#if PY_VERSION_HEX >= 0x030e00C0
|
#if PY_VERSION_HEX >= 0x032500C0
|
||||||
# error "Update the clinic input of 'depr_kwd_optional_1'."
|
# error "Update the clinic input of 'depr_kwd_optional_1'."
|
||||||
#elif PY_VERSION_HEX >= 0x030e00A0
|
#elif PY_VERSION_HEX >= 0x032500A0
|
||||||
# ifdef _MSC_VER
|
# ifdef _MSC_VER
|
||||||
# pragma message ("Update the clinic input of 'depr_kwd_optional_1'.")
|
# pragma message ("Update the clinic input of 'depr_kwd_optional_1'.")
|
||||||
# else
|
# else
|
||||||
@ -1873,7 +1873,7 @@ depr_kwd_optional_1(PyObject *module, PyObject *const *args, Py_ssize_t nargs, P
|
|||||||
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
||||||
"Passing keyword argument 'b' to depr_kwd_optional_1() is "
|
"Passing keyword argument 'b' to depr_kwd_optional_1() is "
|
||||||
"deprecated. Parameter 'b' will become positional-only in Python "
|
"deprecated. Parameter 'b' will become positional-only in Python "
|
||||||
"3.14.", 1))
|
"3.37.", 1))
|
||||||
{
|
{
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
@ -1896,7 +1896,7 @@ PyDoc_STRVAR(depr_kwd_optional_2__doc__,
|
|||||||
"\n"
|
"\n"
|
||||||
"Note: Passing keyword arguments \'b\' and \'c\' to depr_kwd_optional_2()\n"
|
"Note: Passing keyword arguments \'b\' and \'c\' to depr_kwd_optional_2()\n"
|
||||||
"is deprecated. Parameters \'b\' and \'c\' will become positional-only in\n"
|
"is deprecated. Parameters \'b\' and \'c\' will become positional-only in\n"
|
||||||
"Python 3.14.\n"
|
"Python 3.37.\n"
|
||||||
"");
|
"");
|
||||||
|
|
||||||
#define DEPR_KWD_OPTIONAL_2_METHODDEF \
|
#define DEPR_KWD_OPTIONAL_2_METHODDEF \
|
||||||
@ -1906,10 +1906,10 @@ static PyObject *
|
|||||||
depr_kwd_optional_2_impl(PyObject *module, PyObject *a, PyObject *b,
|
depr_kwd_optional_2_impl(PyObject *module, PyObject *a, PyObject *b,
|
||||||
PyObject *c);
|
PyObject *c);
|
||||||
|
|
||||||
// Emit compiler warnings when we get to Python 3.14.
|
// Emit compiler warnings when we get to Python 3.37.
|
||||||
#if PY_VERSION_HEX >= 0x030e00C0
|
#if PY_VERSION_HEX >= 0x032500C0
|
||||||
# error "Update the clinic input of 'depr_kwd_optional_2'."
|
# error "Update the clinic input of 'depr_kwd_optional_2'."
|
||||||
#elif PY_VERSION_HEX >= 0x030e00A0
|
#elif PY_VERSION_HEX >= 0x032500A0
|
||||||
# ifdef _MSC_VER
|
# ifdef _MSC_VER
|
||||||
# pragma message ("Update the clinic input of 'depr_kwd_optional_2'.")
|
# pragma message ("Update the clinic input of 'depr_kwd_optional_2'.")
|
||||||
# else
|
# else
|
||||||
@ -1963,7 +1963,7 @@ depr_kwd_optional_2(PyObject *module, PyObject *const *args, Py_ssize_t nargs, P
|
|||||||
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
||||||
"Passing keyword arguments 'b' and 'c' to depr_kwd_optional_2() "
|
"Passing keyword arguments 'b' and 'c' to depr_kwd_optional_2() "
|
||||||
"is deprecated. Parameters 'b' and 'c' will become "
|
"is deprecated. Parameters 'b' and 'c' will become "
|
||||||
"positional-only in Python 3.14.", 1))
|
"positional-only in Python 3.37.", 1))
|
||||||
{
|
{
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
@ -1992,7 +1992,7 @@ PyDoc_STRVAR(depr_kwd_optional_3__doc__,
|
|||||||
"\n"
|
"\n"
|
||||||
"Note: Passing keyword arguments \'a\', \'b\' and \'c\' to\n"
|
"Note: Passing keyword arguments \'a\', \'b\' and \'c\' to\n"
|
||||||
"depr_kwd_optional_3() is deprecated. Parameters \'a\', \'b\' and \'c\' will\n"
|
"depr_kwd_optional_3() is deprecated. Parameters \'a\', \'b\' and \'c\' will\n"
|
||||||
"become positional-only in Python 3.14.\n"
|
"become positional-only in Python 3.37.\n"
|
||||||
"");
|
"");
|
||||||
|
|
||||||
#define DEPR_KWD_OPTIONAL_3_METHODDEF \
|
#define DEPR_KWD_OPTIONAL_3_METHODDEF \
|
||||||
@ -2002,10 +2002,10 @@ static PyObject *
|
|||||||
depr_kwd_optional_3_impl(PyObject *module, PyObject *a, PyObject *b,
|
depr_kwd_optional_3_impl(PyObject *module, PyObject *a, PyObject *b,
|
||||||
PyObject *c);
|
PyObject *c);
|
||||||
|
|
||||||
// Emit compiler warnings when we get to Python 3.14.
|
// Emit compiler warnings when we get to Python 3.37.
|
||||||
#if PY_VERSION_HEX >= 0x030e00C0
|
#if PY_VERSION_HEX >= 0x032500C0
|
||||||
# error "Update the clinic input of 'depr_kwd_optional_3'."
|
# error "Update the clinic input of 'depr_kwd_optional_3'."
|
||||||
#elif PY_VERSION_HEX >= 0x030e00A0
|
#elif PY_VERSION_HEX >= 0x032500A0
|
||||||
# ifdef _MSC_VER
|
# ifdef _MSC_VER
|
||||||
# pragma message ("Update the clinic input of 'depr_kwd_optional_3'.")
|
# pragma message ("Update the clinic input of 'depr_kwd_optional_3'.")
|
||||||
# else
|
# else
|
||||||
@ -2059,7 +2059,7 @@ depr_kwd_optional_3(PyObject *module, PyObject *const *args, Py_ssize_t nargs, P
|
|||||||
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
||||||
"Passing keyword arguments 'a', 'b' and 'c' to "
|
"Passing keyword arguments 'a', 'b' and 'c' to "
|
||||||
"depr_kwd_optional_3() is deprecated. Parameters 'a', 'b' and 'c'"
|
"depr_kwd_optional_3() is deprecated. Parameters 'a', 'b' and 'c'"
|
||||||
" will become positional-only in Python 3.14.", 1))
|
" will become positional-only in Python 3.37.", 1))
|
||||||
{
|
{
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
@ -2093,7 +2093,7 @@ PyDoc_STRVAR(depr_kwd_required_optional__doc__,
|
|||||||
"\n"
|
"\n"
|
||||||
"Note: Passing keyword arguments \'b\' and \'c\' to\n"
|
"Note: Passing keyword arguments \'b\' and \'c\' to\n"
|
||||||
"depr_kwd_required_optional() is deprecated. Parameters \'b\' and \'c\'\n"
|
"depr_kwd_required_optional() is deprecated. Parameters \'b\' and \'c\'\n"
|
||||||
"will become positional-only in Python 3.14.\n"
|
"will become positional-only in Python 3.37.\n"
|
||||||
"");
|
"");
|
||||||
|
|
||||||
#define DEPR_KWD_REQUIRED_OPTIONAL_METHODDEF \
|
#define DEPR_KWD_REQUIRED_OPTIONAL_METHODDEF \
|
||||||
@ -2103,10 +2103,10 @@ static PyObject *
|
|||||||
depr_kwd_required_optional_impl(PyObject *module, PyObject *a, PyObject *b,
|
depr_kwd_required_optional_impl(PyObject *module, PyObject *a, PyObject *b,
|
||||||
PyObject *c);
|
PyObject *c);
|
||||||
|
|
||||||
// Emit compiler warnings when we get to Python 3.14.
|
// Emit compiler warnings when we get to Python 3.37.
|
||||||
#if PY_VERSION_HEX >= 0x030e00C0
|
#if PY_VERSION_HEX >= 0x032500C0
|
||||||
# error "Update the clinic input of 'depr_kwd_required_optional'."
|
# error "Update the clinic input of 'depr_kwd_required_optional'."
|
||||||
#elif PY_VERSION_HEX >= 0x030e00A0
|
#elif PY_VERSION_HEX >= 0x032500A0
|
||||||
# ifdef _MSC_VER
|
# ifdef _MSC_VER
|
||||||
# pragma message ("Update the clinic input of 'depr_kwd_required_optional'.")
|
# pragma message ("Update the clinic input of 'depr_kwd_required_optional'.")
|
||||||
# else
|
# else
|
||||||
@ -2160,7 +2160,7 @@ depr_kwd_required_optional(PyObject *module, PyObject *const *args, Py_ssize_t n
|
|||||||
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
||||||
"Passing keyword arguments 'b' and 'c' to "
|
"Passing keyword arguments 'b' and 'c' to "
|
||||||
"depr_kwd_required_optional() is deprecated. Parameters 'b' and "
|
"depr_kwd_required_optional() is deprecated. Parameters 'b' and "
|
||||||
"'c' will become positional-only in Python 3.14.", 1))
|
"'c' will become positional-only in Python 3.37.", 1))
|
||||||
{
|
{
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
@ -2184,7 +2184,7 @@ PyDoc_STRVAR(depr_kwd_noinline__doc__,
|
|||||||
"\n"
|
"\n"
|
||||||
"Note: Passing keyword arguments \'b\' and \'c\' to depr_kwd_noinline() is\n"
|
"Note: Passing keyword arguments \'b\' and \'c\' to depr_kwd_noinline() is\n"
|
||||||
"deprecated. Parameters \'b\' and \'c\' will become positional-only in\n"
|
"deprecated. Parameters \'b\' and \'c\' will become positional-only in\n"
|
||||||
"Python 3.14.\n"
|
"Python 3.37.\n"
|
||||||
"");
|
"");
|
||||||
|
|
||||||
#define DEPR_KWD_NOINLINE_METHODDEF \
|
#define DEPR_KWD_NOINLINE_METHODDEF \
|
||||||
@ -2194,10 +2194,10 @@ static PyObject *
|
|||||||
depr_kwd_noinline_impl(PyObject *module, PyObject *a, PyObject *b,
|
depr_kwd_noinline_impl(PyObject *module, PyObject *a, PyObject *b,
|
||||||
PyObject *c, const char *d, Py_ssize_t d_length);
|
PyObject *c, const char *d, Py_ssize_t d_length);
|
||||||
|
|
||||||
// Emit compiler warnings when we get to Python 3.14.
|
// Emit compiler warnings when we get to Python 3.37.
|
||||||
#if PY_VERSION_HEX >= 0x030e00C0
|
#if PY_VERSION_HEX >= 0x032500C0
|
||||||
# error "Update the clinic input of 'depr_kwd_noinline'."
|
# error "Update the clinic input of 'depr_kwd_noinline'."
|
||||||
#elif PY_VERSION_HEX >= 0x030e00A0
|
#elif PY_VERSION_HEX >= 0x032500A0
|
||||||
# ifdef _MSC_VER
|
# ifdef _MSC_VER
|
||||||
# pragma message ("Update the clinic input of 'depr_kwd_noinline'.")
|
# pragma message ("Update the clinic input of 'depr_kwd_noinline'.")
|
||||||
# else
|
# else
|
||||||
@ -2253,7 +2253,7 @@ depr_kwd_noinline(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyO
|
|||||||
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
||||||
"Passing keyword arguments 'b' and 'c' to depr_kwd_noinline() is "
|
"Passing keyword arguments 'b' and 'c' to depr_kwd_noinline() is "
|
||||||
"deprecated. Parameters 'b' and 'c' will become positional-only "
|
"deprecated. Parameters 'b' and 'c' will become positional-only "
|
||||||
"in Python 3.14.", 1))
|
"in Python 3.37.", 1))
|
||||||
{
|
{
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
@ -2270,9 +2270,9 @@ PyDoc_STRVAR(depr_kwd_multi__doc__,
|
|||||||
"\n"
|
"\n"
|
||||||
"Note: Passing keyword arguments \'b\', \'c\', \'d\', \'e\', \'f\' and \'g\' to\n"
|
"Note: Passing keyword arguments \'b\', \'c\', \'d\', \'e\', \'f\' and \'g\' to\n"
|
||||||
"depr_kwd_multi() is deprecated. Parameter \'b\' will become positional-\n"
|
"depr_kwd_multi() is deprecated. Parameter \'b\' will become positional-\n"
|
||||||
"only in Python 3.14. Parameters \'c\' and \'d\' will become positional-\n"
|
"only in Python 3.37. Parameters \'c\' and \'d\' will become positional-\n"
|
||||||
"only in Python 3.15. Parameters \'e\', \'f\' and \'g\' will become\n"
|
"only in Python 3.38. Parameters \'e\', \'f\' and \'g\' will become\n"
|
||||||
"positional-only in Python 3.16.\n"
|
"positional-only in Python 3.39.\n"
|
||||||
"");
|
"");
|
||||||
|
|
||||||
#define DEPR_KWD_MULTI_METHODDEF \
|
#define DEPR_KWD_MULTI_METHODDEF \
|
||||||
@ -2283,10 +2283,10 @@ depr_kwd_multi_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c,
|
|||||||
PyObject *d, PyObject *e, PyObject *f, PyObject *g,
|
PyObject *d, PyObject *e, PyObject *f, PyObject *g,
|
||||||
PyObject *h);
|
PyObject *h);
|
||||||
|
|
||||||
// Emit compiler warnings when we get to Python 3.14.
|
// Emit compiler warnings when we get to Python 3.37.
|
||||||
#if PY_VERSION_HEX >= 0x030e00C0
|
#if PY_VERSION_HEX >= 0x032500C0
|
||||||
# error "Update the clinic input of 'depr_kwd_multi'."
|
# error "Update the clinic input of 'depr_kwd_multi'."
|
||||||
#elif PY_VERSION_HEX >= 0x030e00A0
|
#elif PY_VERSION_HEX >= 0x032500A0
|
||||||
# ifdef _MSC_VER
|
# ifdef _MSC_VER
|
||||||
# pragma message ("Update the clinic input of 'depr_kwd_multi'.")
|
# pragma message ("Update the clinic input of 'depr_kwd_multi'.")
|
||||||
# else
|
# else
|
||||||
@ -2344,9 +2344,9 @@ depr_kwd_multi(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObje
|
|||||||
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
||||||
"Passing keyword arguments 'b', 'c', 'd', 'e', 'f' and 'g' to "
|
"Passing keyword arguments 'b', 'c', 'd', 'e', 'f' and 'g' to "
|
||||||
"depr_kwd_multi() is deprecated. Parameter 'b' will become "
|
"depr_kwd_multi() is deprecated. Parameter 'b' will become "
|
||||||
"positional-only in Python 3.14. Parameters 'c' and 'd' will "
|
"positional-only in Python 3.37. Parameters 'c' and 'd' will "
|
||||||
"become positional-only in Python 3.15. Parameters 'e', 'f' and "
|
"become positional-only in Python 3.38. Parameters 'e', 'f' and "
|
||||||
"'g' will become positional-only in Python 3.16.", 1))
|
"'g' will become positional-only in Python 3.39.", 1))
|
||||||
{
|
{
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
@ -2370,14 +2370,14 @@ PyDoc_STRVAR(depr_multi__doc__,
|
|||||||
"--\n"
|
"--\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Note: Passing keyword arguments \'b\' and \'c\' to depr_multi() is\n"
|
"Note: Passing keyword arguments \'b\' and \'c\' to depr_multi() is\n"
|
||||||
"deprecated. Parameter \'b\' will become positional-only in Python 3.14.\n"
|
"deprecated. Parameter \'b\' will become positional-only in Python 3.37.\n"
|
||||||
"Parameter \'c\' will become positional-only in Python 3.15.\n"
|
"Parameter \'c\' will become positional-only in Python 3.38.\n"
|
||||||
"\n"
|
"\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Note: Passing more than 4 positional arguments to depr_multi() is\n"
|
"Note: Passing more than 4 positional arguments to depr_multi() is\n"
|
||||||
"deprecated. Parameter \'e\' will become a keyword-only parameter in\n"
|
"deprecated. Parameter \'e\' will become a keyword-only parameter in\n"
|
||||||
"Python 3.15. Parameter \'f\' will become a keyword-only parameter in\n"
|
"Python 3.38. Parameter \'f\' will become a keyword-only parameter in\n"
|
||||||
"Python 3.14.\n"
|
"Python 3.37.\n"
|
||||||
"");
|
"");
|
||||||
|
|
||||||
#define DEPR_MULTI_METHODDEF \
|
#define DEPR_MULTI_METHODDEF \
|
||||||
@ -2387,10 +2387,10 @@ static PyObject *
|
|||||||
depr_multi_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c,
|
depr_multi_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c,
|
||||||
PyObject *d, PyObject *e, PyObject *f, PyObject *g);
|
PyObject *d, PyObject *e, PyObject *f, PyObject *g);
|
||||||
|
|
||||||
// Emit compiler warnings when we get to Python 3.14.
|
// Emit compiler warnings when we get to Python 3.37.
|
||||||
#if PY_VERSION_HEX >= 0x030e00C0
|
#if PY_VERSION_HEX >= 0x032500C0
|
||||||
# error "Update the clinic input of 'depr_multi'."
|
# error "Update the clinic input of 'depr_multi'."
|
||||||
#elif PY_VERSION_HEX >= 0x030e00A0
|
#elif PY_VERSION_HEX >= 0x032500A0
|
||||||
# ifdef _MSC_VER
|
# ifdef _MSC_VER
|
||||||
# pragma message ("Update the clinic input of 'depr_multi'.")
|
# pragma message ("Update the clinic input of 'depr_multi'.")
|
||||||
# else
|
# else
|
||||||
@ -2442,8 +2442,8 @@ depr_multi(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *
|
|||||||
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
||||||
"Passing more than 4 positional arguments to depr_multi() is "
|
"Passing more than 4 positional arguments to depr_multi() is "
|
||||||
"deprecated. Parameter 'e' will become a keyword-only parameter "
|
"deprecated. Parameter 'e' will become a keyword-only parameter "
|
||||||
"in Python 3.15. Parameter 'f' will become a keyword-only "
|
"in Python 3.38. Parameter 'f' will become a keyword-only "
|
||||||
"parameter in Python 3.14.", 1))
|
"parameter in Python 3.37.", 1))
|
||||||
{
|
{
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
@ -2457,7 +2457,7 @@ depr_multi(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *
|
|||||||
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
if (PyErr_WarnEx(PyExc_DeprecationWarning,
|
||||||
"Passing keyword arguments 'b' and 'c' to depr_multi() is "
|
"Passing keyword arguments 'b' and 'c' to depr_multi() is "
|
||||||
"deprecated. Parameter 'b' will become positional-only in Python "
|
"deprecated. Parameter 'b' will become positional-only in Python "
|
||||||
"3.14. Parameter 'c' will become positional-only in Python 3.15.", 1))
|
"3.37. Parameter 'c' will become positional-only in Python 3.38.", 1))
|
||||||
{
|
{
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
@ -2474,4 +2474,4 @@ depr_multi(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *
|
|||||||
exit:
|
exit:
|
||||||
return return_value;
|
return return_value;
|
||||||
}
|
}
|
||||||
/*[clinic end generated code: output=4e60af44fd6b7b94 input=a9049054013a1b77]*/
|
/*[clinic end generated code: output=517bb49913bafc4a input=a9049054013a1b77]*/
|
||||||
|
@ -1272,6 +1272,7 @@ static PYC_MAGIC magic_values[] = {
|
|||||||
{ 3500, 3549, L"3.12" },
|
{ 3500, 3549, L"3.12" },
|
||||||
{ 3550, 3599, L"3.13" },
|
{ 3550, 3599, L"3.13" },
|
||||||
{ 3600, 3649, L"3.14" },
|
{ 3600, 3649, L"3.14" },
|
||||||
|
{ 3650, 3699, L"3.15" },
|
||||||
{ 0 }
|
{ 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
# Keep lines sorted lexicographically to help avoid merge conflicts.
|
# Keep lines sorted lexicographically to help avoid merge conflicts.
|
||||||
# Format example:
|
# Format example:
|
||||||
# /path/to/file (number of warnings in file)
|
# /path/to/file (number of warnings in file)
|
||||||
|
Modules/_sqlite/clinic/connection.c.h 6
|
||||||
Modules/expat/siphash.h 7
|
Modules/expat/siphash.h 7
|
||||||
Modules/expat/xmlparse.c 13
|
Modules/expat/xmlparse.c 13
|
||||||
Modules/expat/xmltok.c 3
|
Modules/expat/xmltok.c 3
|
||||||
|
@ -3,3 +3,4 @@
|
|||||||
# Keep lines sorted lexicographically to help avoid merge conflicts.
|
# Keep lines sorted lexicographically to help avoid merge conflicts.
|
||||||
# Format example:
|
# Format example:
|
||||||
# /path/to/file (number of warnings in file)
|
# /path/to/file (number of warnings in file)
|
||||||
|
Modules/_sqlite/clinic/connection.c.h 6
|
||||||
|
24
configure
generated
vendored
24
configure
generated
vendored
@ -1,6 +1,6 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# Guess values for system-dependent variables and create Makefiles.
|
# Guess values for system-dependent variables and create Makefiles.
|
||||||
# Generated by GNU Autoconf 2.72 for python 3.14.
|
# Generated by GNU Autoconf 2.72 for python 3.15.
|
||||||
#
|
#
|
||||||
# Report bugs to <https://github.com/python/cpython/issues/>.
|
# Report bugs to <https://github.com/python/cpython/issues/>.
|
||||||
#
|
#
|
||||||
@ -604,8 +604,8 @@ MAKEFLAGS=
|
|||||||
# Identity of this package.
|
# Identity of this package.
|
||||||
PACKAGE_NAME='python'
|
PACKAGE_NAME='python'
|
||||||
PACKAGE_TARNAME='python'
|
PACKAGE_TARNAME='python'
|
||||||
PACKAGE_VERSION='3.14'
|
PACKAGE_VERSION='3.15'
|
||||||
PACKAGE_STRING='python 3.14'
|
PACKAGE_STRING='python 3.15'
|
||||||
PACKAGE_BUGREPORT='https://github.com/python/cpython/issues/'
|
PACKAGE_BUGREPORT='https://github.com/python/cpython/issues/'
|
||||||
PACKAGE_URL=''
|
PACKAGE_URL=''
|
||||||
|
|
||||||
@ -1734,7 +1734,7 @@ if test "$ac_init_help" = "long"; then
|
|||||||
# Omit some internal or obsolete options to make the list less imposing.
|
# Omit some internal or obsolete options to make the list less imposing.
|
||||||
# This message is too long to be a string in the A/UX 3.1 sh.
|
# This message is too long to be a string in the A/UX 3.1 sh.
|
||||||
cat <<_ACEOF
|
cat <<_ACEOF
|
||||||
'configure' configures python 3.14 to adapt to many kinds of systems.
|
'configure' configures python 3.15 to adapt to many kinds of systems.
|
||||||
|
|
||||||
Usage: $0 [OPTION]... [VAR=VALUE]...
|
Usage: $0 [OPTION]... [VAR=VALUE]...
|
||||||
|
|
||||||
@ -1800,7 +1800,7 @@ fi
|
|||||||
|
|
||||||
if test -n "$ac_init_help"; then
|
if test -n "$ac_init_help"; then
|
||||||
case $ac_init_help in
|
case $ac_init_help in
|
||||||
short | recursive ) echo "Configuration of python 3.14:";;
|
short | recursive ) echo "Configuration of python 3.15:";;
|
||||||
esac
|
esac
|
||||||
cat <<\_ACEOF
|
cat <<\_ACEOF
|
||||||
|
|
||||||
@ -1853,9 +1853,9 @@ Optional Features:
|
|||||||
Optional Packages:
|
Optional Packages:
|
||||||
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
||||||
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
||||||
--with-build-python=python3.14
|
--with-build-python=python3.15
|
||||||
path to build python binary for cross compiling
|
path to build python binary for cross compiling
|
||||||
(default: _bootstrap_python or python3.14)
|
(default: _bootstrap_python or python3.15)
|
||||||
--with-pkg-config=[yes|no|check]
|
--with-pkg-config=[yes|no|check]
|
||||||
use pkg-config to detect build options (default is
|
use pkg-config to detect build options (default is
|
||||||
check)
|
check)
|
||||||
@ -2103,7 +2103,7 @@ fi
|
|||||||
test -n "$ac_init_help" && exit $ac_status
|
test -n "$ac_init_help" && exit $ac_status
|
||||||
if $ac_init_version; then
|
if $ac_init_version; then
|
||||||
cat <<\_ACEOF
|
cat <<\_ACEOF
|
||||||
python configure 3.14
|
python configure 3.15
|
||||||
generated by GNU Autoconf 2.72
|
generated by GNU Autoconf 2.72
|
||||||
|
|
||||||
Copyright (C) 2023 Free Software Foundation, Inc.
|
Copyright (C) 2023 Free Software Foundation, Inc.
|
||||||
@ -2781,7 +2781,7 @@ cat >config.log <<_ACEOF
|
|||||||
This file contains any messages produced by compilers while
|
This file contains any messages produced by compilers while
|
||||||
running configure, to aid debugging if configure makes a mistake.
|
running configure, to aid debugging if configure makes a mistake.
|
||||||
|
|
||||||
It was created by python $as_me 3.14, which was
|
It was created by python $as_me 3.15, which was
|
||||||
generated by GNU Autoconf 2.72. Invocation command line was
|
generated by GNU Autoconf 2.72. Invocation command line was
|
||||||
|
|
||||||
$ $0$ac_configure_args_raw
|
$ $0$ac_configure_args_raw
|
||||||
@ -3892,7 +3892,7 @@ rm confdefs.h
|
|||||||
mv confdefs.h.new confdefs.h
|
mv confdefs.h.new confdefs.h
|
||||||
|
|
||||||
|
|
||||||
VERSION=3.14
|
VERSION=3.15
|
||||||
|
|
||||||
# Version number of Python's own shared library file.
|
# Version number of Python's own shared library file.
|
||||||
|
|
||||||
@ -34598,7 +34598,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|||||||
# report actual input values of CONFIG_FILES etc. instead of their
|
# report actual input values of CONFIG_FILES etc. instead of their
|
||||||
# values after options handling.
|
# values after options handling.
|
||||||
ac_log="
|
ac_log="
|
||||||
This file was extended by python $as_me 3.14, which was
|
This file was extended by python $as_me 3.15, which was
|
||||||
generated by GNU Autoconf 2.72. Invocation command line was
|
generated by GNU Autoconf 2.72. Invocation command line was
|
||||||
|
|
||||||
CONFIG_FILES = $CONFIG_FILES
|
CONFIG_FILES = $CONFIG_FILES
|
||||||
@ -34662,7 +34662,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\
|
|||||||
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
||||||
ac_cs_config='$ac_cs_config_escaped'
|
ac_cs_config='$ac_cs_config_escaped'
|
||||||
ac_cs_version="\\
|
ac_cs_version="\\
|
||||||
python config.status 3.14
|
python config.status 3.15
|
||||||
configured by $0, generated by GNU Autoconf 2.72,
|
configured by $0, generated by GNU Autoconf 2.72,
|
||||||
with options \\"\$ac_cs_config\\"
|
with options \\"\$ac_cs_config\\"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user