if (nargs < 3) {
goto skip_optional;
}
- c = _PyLong_AsInt(args[2]);
+ c = PyLong_AsInt(args[2]);
if (c == -1 && PyErr_Occurred()) {
goto exit;
}
static PyObject *
test_bool_converter_impl(PyObject *module, int a, int b, int c)
-/*[clinic end generated code: output=27f0e653a70b9be3 input=939854fa9f248c60]*/
+/*[clinic end generated code: output=3190e46490de0644 input=939854fa9f248c60]*/
/*[clinic input]
if (nargs < 1) {
goto skip_optional;
}
- a = _PyLong_AsInt(args[0]);
+ a = PyLong_AsInt(args[0]);
if (a == -1 && PyErr_Occurred()) {
goto exit;
}
if (nargs < 2) {
goto skip_optional;
}
- b = _PyLong_AsInt(args[1]);
+ b = PyLong_AsInt(args[1]);
if (b == -1 && PyErr_Occurred()) {
goto exit;
}
if (nargs < 4) {
goto skip_optional;
}
- d = _PyLong_AsInt(args[3]);
+ d = PyLong_AsInt(args[3]);
if (d == -1 && PyErr_Occurred()) {
goto exit;
}
static PyObject *
test_int_converter_impl(PyObject *module, int a, int b, int c, myenum d)
-/*[clinic end generated code: output=375eedba5ca9a5b3 input=d20541fc1ca0553e]*/
+/*[clinic end generated code: output=5aed87a7589eefb2 input=d20541fc1ca0553e]*/
/*[clinic input]
if (!args) {
goto exit;
}
- a = _PyLong_AsInt(args[0]);
+ a = PyLong_AsInt(args[0]);
if (a == -1 && PyErr_Occurred()) {
goto exit;
}
static PyObject *
Test_cls_with_param_impl(TestObj *self, PyTypeObject *cls, int a)
-/*[clinic end generated code: output=00218e7f583e6c81 input=af158077bd237ef9]*/
+/*[clinic end generated code: output=d89b99e83d442be0 input=af158077bd237ef9]*/
/*[clinic input]
PyObject *return_value = NULL;
int arg;
- arg = _PyLong_AsInt(arg_);
+ arg = PyLong_AsInt(arg_);
if (arg == -1 && PyErr_Occurred()) {
goto exit;
}
static PyObject *
Test_an_metho_arg_named_arg_impl(TestObj *self, int arg)
-/*[clinic end generated code: output=7d590626642194ae input=2a53a57cf5624f95]*/
+/*[clinic end generated code: output=9f04de4a62287e28 input=2a53a57cf5624f95]*/
/*[clinic input]
if (!args) {
goto exit;
}
- int_value = _PyLong_AsInt(args[0]);
+ int_value = PyLong_AsInt(args[0]);
if (int_value == -1 && PyErr_Occurred()) {
goto exit;
}
static PyObject *
mangled_c_keyword_identifier_impl(PyObject *module, int int_value)
-/*[clinic end generated code: output=c049d7d79be26cda input=060876448ab567a2]*/
+/*[clinic end generated code: output=f24b37e0368e0eb8 input=060876448ab567a2]*/
/*[clinic input]
# Verify by checking the checksum.
checksum = (
"/*[clinic end generated code: "
- "output=2124c291eb067d76 input=9543a8d2da235301]*/\n"
+ "output=c16447c01510dfb3 input=9543a8d2da235301]*/\n"
)
with open(fn, 'r', encoding='utf-8') as f:
generated = f.read()
- self.assertTrue(generated.endswith(checksum))
+ self.assertTrue(generated.endswith(checksum),
+ (generated, checksum))
def test_cli_make(self):
c_code = dedent("""
goto skip_optional_kwonly;
}
if (fastargs[1]) {
- digest_size = _PyLong_AsInt(fastargs[1]);
+ digest_size = PyLong_AsInt(fastargs[1]);
if (digest_size == -1 && PyErr_Occurred()) {
goto exit;
}
}
}
if (fastargs[5]) {
- fanout = _PyLong_AsInt(fastargs[5]);
+ fanout = PyLong_AsInt(fastargs[5]);
if (fanout == -1 && PyErr_Occurred()) {
goto exit;
}
}
}
if (fastargs[6]) {
- depth = _PyLong_AsInt(fastargs[6]);
+ depth = PyLong_AsInt(fastargs[6]);
if (depth == -1 && PyErr_Occurred()) {
goto exit;
}
}
}
if (fastargs[9]) {
- node_depth = _PyLong_AsInt(fastargs[9]);
+ node_depth = PyLong_AsInt(fastargs[9]);
if (node_depth == -1 && PyErr_Occurred()) {
goto exit;
}
}
}
if (fastargs[10]) {
- inner_size = _PyLong_AsInt(fastargs[10]);
+ inner_size = PyLong_AsInt(fastargs[10]);
if (inner_size == -1 && PyErr_Occurred()) {
goto exit;
}
{
return _blake2_blake2b_hexdigest_impl(self);
}
-/*[clinic end generated code: output=996b4fe396824797 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=76bbcf5f220511b9 input=a9049054013a1b77]*/
goto skip_optional_kwonly;
}
if (fastargs[1]) {
- digest_size = _PyLong_AsInt(fastargs[1]);
+ digest_size = PyLong_AsInt(fastargs[1]);
if (digest_size == -1 && PyErr_Occurred()) {
goto exit;
}
}
}
if (fastargs[5]) {
- fanout = _PyLong_AsInt(fastargs[5]);
+ fanout = PyLong_AsInt(fastargs[5]);
if (fanout == -1 && PyErr_Occurred()) {
goto exit;
}
}
}
if (fastargs[6]) {
- depth = _PyLong_AsInt(fastargs[6]);
+ depth = PyLong_AsInt(fastargs[6]);
if (depth == -1 && PyErr_Occurred()) {
goto exit;
}
}
}
if (fastargs[9]) {
- node_depth = _PyLong_AsInt(fastargs[9]);
+ node_depth = PyLong_AsInt(fastargs[9]);
if (node_depth == -1 && PyErr_Occurred()) {
goto exit;
}
}
}
if (fastargs[10]) {
- inner_size = _PyLong_AsInt(fastargs[10]);
+ inner_size = PyLong_AsInt(fastargs[10]);
if (inner_size == -1 && PyErr_Occurred()) {
goto exit;
}
{
return _blake2_blake2s_hexdigest_impl(self);
}
-/*[clinic end generated code: output=bd0fb7639e450618 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=af69b321be0b4a77 input=a9049054013a1b77]*/
}
}
if (args[2]) {
- buffering = _PyLong_AsInt(args[2]);
+ buffering = PyLong_AsInt(args[2]);
if (buffering == -1 && PyErr_Occurred()) {
goto exit;
}
if (nargs < 2) {
goto skip_optional;
}
- stacklevel = _PyLong_AsInt(args[1]);
+ stacklevel = PyLong_AsInt(args[1]);
if (stacklevel == -1 && PyErr_Occurred()) {
goto exit;
}
exit:
return return_value;
}
-/*[clinic end generated code: output=6800c35366b1a5f3 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=a4ceb802f3a7243f input=a9049054013a1b77]*/
if (nargs < 1) {
goto skip_optional_posonly;
}
- size = _PyLong_AsInt(args[0]);
+ size = PyLong_AsInt(args[0]);
if (size == -1 && PyErr_Occurred()) {
goto exit;
}
if (nargs < 1) {
goto skip_optional_posonly;
}
- size = _PyLong_AsInt(args[0]);
+ size = PyLong_AsInt(args[0]);
if (size == -1 && PyErr_Occurred()) {
goto exit;
}
if (nargs < 2) {
goto skip_optional;
}
- whence = _PyLong_AsInt(args[1]);
+ whence = PyLong_AsInt(args[1]);
if (whence == -1 && PyErr_Occurred()) {
goto exit;
}
exit:
return return_value;
}
-/*[clinic end generated code: output=b7ddf84a5bc2bf34 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=e5b335441452653d input=a9049054013a1b77]*/
if (nargs < 2) {
goto skip_optional;
}
- whence = _PyLong_AsInt(args[1]);
+ whence = PyLong_AsInt(args[1]);
if (whence == -1 && PyErr_Occurred()) {
goto exit;
}
exit:
return return_value;
}
-/*[clinic end generated code: output=098584d485420b65 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=8d4e7651002e14c6 input=a9049054013a1b77]*/
if (nargs < 2) {
goto skip_optional;
}
- whence = _PyLong_AsInt(args[1]);
+ whence = PyLong_AsInt(args[1]);
if (whence == -1 && PyErr_Occurred()) {
goto exit;
}
#ifndef _IO_FILEIO_TRUNCATE_METHODDEF
#define _IO_FILEIO_TRUNCATE_METHODDEF
#endif /* !defined(_IO_FILEIO_TRUNCATE_METHODDEF) */
-/*[clinic end generated code: output=bef47b31b644996a input=a9049054013a1b77]*/
+/*[clinic end generated code: output=65b9a5cc96d193b6 input=a9049054013a1b77]*/
if (!args) {
goto exit;
}
- offset = _PyLong_AsInt(args[0]);
+ offset = PyLong_AsInt(args[0]);
if (offset == -1 && PyErr_Occurred()) {
goto exit;
}
if (nargs < 2) {
goto skip_optional_posonly;
}
- whence = _PyLong_AsInt(args[1]);
+ whence = PyLong_AsInt(args[1]);
if (whence == -1 && PyErr_Occurred()) {
goto exit;
}
{
return _io__RawIOBase_readall_impl(self);
}
-/*[clinic end generated code: output=301b22f8f75ce3dc input=a9049054013a1b77]*/
+/*[clinic end generated code: output=0f064cfd54e3c1a5 input=a9049054013a1b77]*/
if (nargs < 2) {
goto skip_optional;
}
- whence = _PyLong_AsInt(args[1]);
+ whence = PyLong_AsInt(args[1]);
if (whence == -1 && PyErr_Occurred()) {
goto exit;
}
{
return _io_StringIO_seekable_impl(self);
}
-/*[clinic end generated code: output=533f20ae9b773126 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=6f55dc1454aeb507 input=a9049054013a1b77]*/
if (nargs < 1) {
goto skip_optional_posonly;
}
- size = _PyLong_AsInt(args[0]);
+ size = PyLong_AsInt(args[0]);
if (size == -1 && PyErr_Occurred()) {
goto exit;
}
if (nargs < 1) {
goto skip_optional_posonly;
}
- size = _PyLong_AsInt(args[0]);
+ size = PyLong_AsInt(args[0]);
if (size == -1 && PyErr_Occurred()) {
goto exit;
}
if (nargs < 2) {
goto skip_optional;
}
- whence = _PyLong_AsInt(args[1]);
+ whence = PyLong_AsInt(args[1]);
if (whence == -1 && PyErr_Occurred()) {
goto exit;
}
{
return _io_TextIOWrapper_close_impl(self);
}
-/*[clinic end generated code: output=6bd981a58fcbc778 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=29b945b24287dd0c input=a9049054013a1b77]*/
if (!handle && PyErr_Occurred()) {
goto exit;
}
- size = _PyLong_AsInt(args[1]);
+ size = PyLong_AsInt(args[1]);
if (size == -1 && PyErr_Occurred()) {
goto exit;
}
#ifndef _MULTIPROCESSING_SEND_METHODDEF
#define _MULTIPROCESSING_SEND_METHODDEF
#endif /* !defined(_MULTIPROCESSING_SEND_METHODDEF) */
-/*[clinic end generated code: output=4a6afc67c1f5ec85 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=eb078dff6b6595ff input=a9049054013a1b77]*/
goto exit;
}
path = args[0];
- flags = _PyLong_AsInt(args[1]);
+ flags = PyLong_AsInt(args[1]);
if (flags == -1 && PyErr_Occurred()) {
goto exit;
}
if (!noptargs) {
goto skip_optional_pos;
}
- mode = _PyLong_AsInt(args[2]);
+ mode = PyLong_AsInt(args[2]);
if (mode == -1 && PyErr_Occurred()) {
goto exit;
}
#ifndef _POSIXSHMEM_SHM_UNLINK_METHODDEF
#define _POSIXSHMEM_SHM_UNLINK_METHODDEF
#endif /* !defined(_POSIXSHMEM_SHM_UNLINK_METHODDEF) */
-/*[clinic end generated code: output=9b67f98885757bc4 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=c022e2f7371fdece input=a9049054013a1b77]*/
if (!fastargs) {
goto exit;
}
- kind = _PyLong_AsInt(fastargs[0]);
+ kind = PyLong_AsInt(fastargs[0]);
if (kind == -1 && PyErr_Occurred()) {
goto exit;
}
- value = _PyLong_AsInt(fastargs[1]);
+ value = PyLong_AsInt(fastargs[1]);
if (value == -1 && PyErr_Occurred()) {
goto exit;
}
- maxvalue = _PyLong_AsInt(fastargs[2]);
+ maxvalue = PyLong_AsInt(fastargs[2]);
if (maxvalue == -1 && PyErr_Occurred()) {
goto exit;
}
#ifndef _MULTIPROCESSING_SEMLOCK___EXIT___METHODDEF
#define _MULTIPROCESSING_SEMLOCK___EXIT___METHODDEF
#endif /* !defined(_MULTIPROCESSING_SEMLOCK___EXIT___METHODDEF) */
-/*[clinic end generated code: output=dae57a702cc01512 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=0fcadfdd8d6944be input=a9049054013a1b77]*/
if (nargs < 1) {
goto skip_optional;
}
- length = _PyLong_AsInt(args[0]);
+ length = PyLong_AsInt(args[0]);
if (length == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyArg_CheckPositional("seek", nargs, 1, 2)) {
goto exit;
}
- offset = _PyLong_AsInt(args[0]);
+ offset = PyLong_AsInt(args[0]);
if (offset == -1 && PyErr_Occurred()) {
goto exit;
}
if (nargs < 2) {
goto skip_optional;
}
- origin = _PyLong_AsInt(args[1]);
+ origin = PyLong_AsInt(args[1]);
if (origin == -1 && PyErr_Occurred()) {
goto exit;
}
exit:
return return_value;
}
-/*[clinic end generated code: output=ad6a402f70e85977 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=1783b816ccc3bb75 input=a9049054013a1b77]*/
}
}
if (fastargs[2]) {
- detect_types = _PyLong_AsInt(fastargs[2]);
+ detect_types = PyLong_AsInt(fastargs[2]);
if (detect_types == -1 && PyErr_Occurred()) {
goto exit;
}
}
}
if (fastargs[6]) {
- cache_size = _PyLong_AsInt(fastargs[6]);
+ cache_size = PyLong_AsInt(fastargs[6]);
if (cache_size == -1 && PyErr_Occurred()) {
goto exit;
}
PyErr_SetString(PyExc_ValueError, "embedded null character");
goto exit;
}
- narg = _PyLong_AsInt(args[1]);
+ narg = PyLong_AsInt(args[1]);
if (narg == -1 && PyErr_Occurred()) {
goto exit;
}
PyErr_SetString(PyExc_ValueError, "embedded null character");
goto exit;
}
- num_params = _PyLong_AsInt(args[1]);
+ num_params = PyLong_AsInt(args[1]);
if (num_params == -1 && PyErr_Occurred()) {
goto exit;
}
PyErr_SetString(PyExc_ValueError, "embedded null character");
goto exit;
}
- n_arg = _PyLong_AsInt(args[1]);
+ n_arg = PyLong_AsInt(args[1]);
if (n_arg == -1 && PyErr_Occurred()) {
goto exit;
}
goto exit;
}
callable = args[0];
- n = _PyLong_AsInt(args[1]);
+ n = PyLong_AsInt(args[1]);
if (n == -1 && PyErr_Occurred()) {
goto exit;
}
goto skip_optional_kwonly;
}
if (args[1]) {
- pages = _PyLong_AsInt(args[1]);
+ pages = PyLong_AsInt(args[1]);
if (pages == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyArg_CheckPositional("setlimit", nargs, 2, 2)) {
goto exit;
}
- category = _PyLong_AsInt(args[0]);
+ category = PyLong_AsInt(args[0]);
if (category == -1 && PyErr_Occurred()) {
goto exit;
}
- limit = _PyLong_AsInt(args[1]);
+ limit = PyLong_AsInt(args[1]);
if (limit == -1 && PyErr_Occurred()) {
goto exit;
}
PyObject *return_value = NULL;
int category;
- category = _PyLong_AsInt(arg);
+ category = PyLong_AsInt(arg);
if (category == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyArg_CheckPositional("setconfig", nargs, 1, 2)) {
goto exit;
}
- op = _PyLong_AsInt(args[0]);
+ op = PyLong_AsInt(args[0]);
if (op == -1 && PyErr_Occurred()) {
goto exit;
}
int op;
int _return_value;
- op = _PyLong_AsInt(arg);
+ op = PyLong_AsInt(arg);
if (op == -1 && PyErr_Occurred()) {
goto exit;
}
#ifndef DESERIALIZE_METHODDEF
#define DESERIALIZE_METHODDEF
#endif /* !defined(DESERIALIZE_METHODDEF) */
-/*[clinic end generated code: output=0ad9d55977a51b8f input=a9049054013a1b77]*/
+/*[clinic end generated code: output=bc31bec42067a8bf input=a9049054013a1b77]*/
if (!noptargs) {
goto skip_optional_pos;
}
- maxrows = _PyLong_AsInt(args[0]);
+ maxrows = PyLong_AsInt(args[0]);
if (maxrows == -1 && PyErr_Occurred()) {
goto exit;
}
{
return pysqlite_cursor_close_impl(self);
}
-/*[clinic end generated code: output=831f7bc5256526d3 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=b56b3ddb3b6df8c6 input=a9049054013a1b77]*/
PyObject *return_value = NULL;
int enable;
- enable = _PyLong_AsInt(arg);
+ enable = PyLong_AsInt(arg);
if (enable == -1 && PyErr_Occurred()) {
goto exit;
}
exit:
return return_value;
}
-/*[clinic end generated code: output=e08e6856ae546e7b input=a9049054013a1b77]*/
+/*[clinic end generated code: output=c1d450089867b4bf input=a9049054013a1b77]*/
int character;
int _return_value;
- character = _PyLong_AsInt(arg);
+ character = PyLong_AsInt(arg);
if (character == -1 && PyErr_Occurred()) {
goto exit;
}
int character;
int _return_value;
- character = _PyLong_AsInt(arg);
+ character = PyLong_AsInt(arg);
if (character == -1 && PyErr_Occurred()) {
goto exit;
}
int character;
int _return_value;
- character = _PyLong_AsInt(arg);
+ character = PyLong_AsInt(arg);
if (character == -1 && PyErr_Occurred()) {
goto exit;
}
int character;
int _return_value;
- character = _PyLong_AsInt(arg);
+ character = PyLong_AsInt(arg);
if (character == -1 && PyErr_Occurred()) {
goto exit;
}
goto exit;
}
pattern = args[0];
- flags = _PyLong_AsInt(args[1]);
+ flags = PyLong_AsInt(args[1]);
if (flags == -1 && PyErr_Occurred()) {
goto exit;
}
}
return _sre_SRE_Scanner_search_impl(self, cls);
}
-/*[clinic end generated code: output=e3ba72156dd71572 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=6b84e62c87238f0e input=a9049054013a1b77]*/
if (!noptargs) {
goto skip_optional_pos;
}
- format = _PyLong_AsInt(args[0]);
+ format = PyLong_AsInt(args[0]);
if (format == -1 && PyErr_Occurred()) {
goto exit;
}
{
return _ssl_Certificate_get_info_impl(self);
}
-/*[clinic end generated code: output=82efada014f9b7fe input=a9049054013a1b77]*/
+/*[clinic end generated code: output=72e2bb139c64546c input=a9049054013a1b77]*/
goto exit;
}
exc = args[0];
- num_args = _PyLong_AsInt(args[1]);
+ num_args = PyLong_AsInt(args[1]);
if (num_args == -1 && PyErr_Occurred()) {
goto exit;
}
exit:
return return_value;
}
-/*[clinic end generated code: output=d574342d716e98b5 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=6c4b7ad1cb1e0153 input=a9049054013a1b77]*/
if (!_PyArg_CheckPositional("float_pack", nargs, 3, 3)) {
goto exit;
}
- size = _PyLong_AsInt(args[0]);
+ size = PyLong_AsInt(args[0]);
if (size == -1 && PyErr_Occurred()) {
goto exit;
}
goto exit;
}
}
- le = _PyLong_AsInt(args[2]);
+ le = PyLong_AsInt(args[2]);
if (le == -1 && PyErr_Occurred()) {
goto exit;
}
exit:
return return_value;
}
-/*[clinic end generated code: output=083e5df26cd5fbeb input=a9049054013a1b77]*/
+/*[clinic end generated code: output=de6879d0f4987d79 input=a9049054013a1b77]*/
if (!_PyArg_CheckPositional("watch_dict", nargs, 2, 2)) {
goto exit;
}
- watcher_id = _PyLong_AsInt(args[0]);
+ watcher_id = PyLong_AsInt(args[0]);
if (watcher_id == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyArg_CheckPositional("unwatch_dict", nargs, 2, 2)) {
goto exit;
}
- watcher_id = _PyLong_AsInt(args[0]);
+ watcher_id = PyLong_AsInt(args[0]);
if (watcher_id == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyArg_CheckPositional("watch_type", nargs, 2, 2)) {
goto exit;
}
- watcher_id = _PyLong_AsInt(args[0]);
+ watcher_id = PyLong_AsInt(args[0]);
if (watcher_id == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyArg_CheckPositional("unwatch_type", nargs, 2, 2)) {
goto exit;
}
- watcher_id = _PyLong_AsInt(args[0]);
+ watcher_id = PyLong_AsInt(args[0]);
if (watcher_id == -1 && PyErr_Occurred()) {
goto exit;
}
exit:
return return_value;
}
-/*[clinic end generated code: output=12c375089125d165 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=b7564a84c5815b46 input=a9049054013a1b77]*/
if (PyTuple_GET_SIZE(args) < 1) {
goto skip_optional;
}
- compresslevel = _PyLong_AsInt(PyTuple_GET_ITEM(args, 0));
+ compresslevel = PyLong_AsInt(PyTuple_GET_ITEM(args, 0));
if (compresslevel == -1 && PyErr_Occurred()) {
goto exit;
}
exit:
return return_value;
}
-/*[clinic end generated code: output=805400e4805098ec input=a9049054013a1b77]*/
+/*[clinic end generated code: output=431fd0fc40f019d1 input=a9049054013a1b77]*/
if (nargs < 3) {
goto skip_optional;
}
- byteorder = _PyLong_AsInt(args[2]);
+ byteorder = PyLong_AsInt(args[2]);
if (byteorder == -1 && PyErr_Occurred()) {
goto exit;
}
if (nargs < 3) {
goto skip_optional;
}
- byteorder = _PyLong_AsInt(args[2]);
+ byteorder = PyLong_AsInt(args[2]);
if (byteorder == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyArg_CheckPositional("code_page_decode", nargs, 2, 4)) {
goto exit;
}
- codepage = _PyLong_AsInt(args[0]);
+ codepage = PyLong_AsInt(args[0]);
if (codepage == -1 && PyErr_Occurred()) {
goto exit;
}
if (nargs < 3) {
goto skip_optional;
}
- byteorder = _PyLong_AsInt(args[2]);
+ byteorder = PyLong_AsInt(args[2]);
if (byteorder == -1 && PyErr_Occurred()) {
goto exit;
}
if (nargs < 3) {
goto skip_optional;
}
- byteorder = _PyLong_AsInt(args[2]);
+ byteorder = PyLong_AsInt(args[2]);
if (byteorder == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyArg_CheckPositional("code_page_encode", nargs, 2, 3)) {
goto exit;
}
- code_page = _PyLong_AsInt(args[0]);
+ code_page = PyLong_AsInt(args[0]);
if (code_page == -1 && PyErr_Occurred()) {
goto exit;
}
#ifndef _CODECS_CODE_PAGE_ENCODE_METHODDEF
#define _CODECS_CODE_PAGE_ENCODE_METHODDEF
#endif /* !defined(_CODECS_CODE_PAGE_ENCODE_METHODDEF) */
-/*[clinic end generated code: output=0f52053d31533376 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=6d9bc20c8dd36134 input=a9049054013a1b77]*/
if (!args) {
goto exit;
}
- y = _PyLong_AsInt(args[0]);
+ y = PyLong_AsInt(args[0]);
if (y == -1 && PyErr_Occurred()) {
goto exit;
}
- x = _PyLong_AsInt(args[1]);
+ x = PyLong_AsInt(args[1]);
if (x == -1 && PyErr_Occurred()) {
goto exit;
}
{
return _curses_panel_update_panels_impl(module);
}
-/*[clinic end generated code: output=8d0533681891523c input=a9049054013a1b77]*/
+/*[clinic end generated code: output=cb76cb1d5040f387 input=a9049054013a1b77]*/
if (!_PyArg_CheckPositional("enclose", nargs, 2, 2)) {
goto exit;
}
- y = _PyLong_AsInt(args[0]);
+ y = PyLong_AsInt(args[0]);
if (y == -1 && PyErr_Occurred()) {
goto exit;
}
- x = _PyLong_AsInt(args[1]);
+ x = PyLong_AsInt(args[1]);
if (x == -1 && PyErr_Occurred()) {
goto exit;
}
PyObject *return_value = NULL;
int line;
- line = _PyLong_AsInt(arg);
+ line = PyLong_AsInt(arg);
if (line == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyArg_CheckPositional("redrawln", nargs, 2, 2)) {
goto exit;
}
- beg = _PyLong_AsInt(args[0]);
+ beg = PyLong_AsInt(args[0]);
if (beg == -1 && PyErr_Occurred()) {
goto exit;
}
- num = _PyLong_AsInt(args[1]);
+ num = PyLong_AsInt(args[1]);
if (num == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyArg_CheckPositional("setscrreg", nargs, 2, 2)) {
goto exit;
}
- top = _PyLong_AsInt(args[0]);
+ top = PyLong_AsInt(args[0]);
if (top == -1 && PyErr_Occurred()) {
goto exit;
}
- bottom = _PyLong_AsInt(args[1]);
+ bottom = PyLong_AsInt(args[1]);
if (bottom == -1 && PyErr_Occurred()) {
goto exit;
}
PyObject *return_value = NULL;
int pair_number;
- pair_number = _PyLong_AsInt(arg);
+ pair_number = PyLong_AsInt(arg);
if (pair_number == -1 && PyErr_Occurred()) {
goto exit;
}
PyObject *return_value = NULL;
int visibility;
- visibility = _PyLong_AsInt(arg);
+ visibility = PyLong_AsInt(arg);
if (visibility == -1 && PyErr_Occurred()) {
goto exit;
}
PyObject *return_value = NULL;
int ms;
- ms = _PyLong_AsInt(arg);
+ ms = PyLong_AsInt(arg);
if (ms == -1 && PyErr_Occurred()) {
goto exit;
}
id = (short) ival;
}
}
- x = _PyLong_AsInt(args[1]);
+ x = PyLong_AsInt(args[1]);
if (x == -1 && PyErr_Occurred()) {
goto exit;
}
- y = _PyLong_AsInt(args[2]);
+ y = PyLong_AsInt(args[2]);
if (y == -1 && PyErr_Occurred()) {
goto exit;
}
- z = _PyLong_AsInt(args[3]);
+ z = PyLong_AsInt(args[3]);
if (z == -1 && PyErr_Occurred()) {
goto exit;
}
PyObject *return_value = NULL;
int key;
- key = _PyLong_AsInt(arg);
+ key = PyLong_AsInt(arg);
if (key == -1 && PyErr_Occurred()) {
goto exit;
}
goto skip_optional_pos;
}
}
- fd = _PyLong_AsInt(args[1]);
+ fd = PyLong_AsInt(args[1]);
if (fd == -1 && PyErr_Occurred()) {
goto exit;
}
PyObject *return_value = NULL;
int ms;
- ms = _PyLong_AsInt(arg);
+ ms = PyLong_AsInt(arg);
if (ms == -1 && PyErr_Occurred()) {
goto exit;
}
PyObject *return_value = NULL;
int size;
- size = _PyLong_AsInt(arg);
+ size = PyLong_AsInt(arg);
if (size == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyArg_CheckPositional("is_term_resized", nargs, 2, 2)) {
goto exit;
}
- nlines = _PyLong_AsInt(args[0]);
+ nlines = PyLong_AsInt(args[0]);
if (nlines == -1 && PyErr_Occurred()) {
goto exit;
}
- ncols = _PyLong_AsInt(args[1]);
+ ncols = PyLong_AsInt(args[1]);
if (ncols == -1 && PyErr_Occurred()) {
goto exit;
}
PyObject *return_value = NULL;
int key;
- key = _PyLong_AsInt(arg);
+ key = PyLong_AsInt(arg);
if (key == -1 && PyErr_Occurred()) {
goto exit;
}
PyObject *return_value = NULL;
int interval;
- interval = _PyLong_AsInt(arg);
+ interval = PyLong_AsInt(arg);
if (interval == -1 && PyErr_Occurred()) {
goto exit;
}
PyObject *return_value = NULL;
int ms;
- ms = _PyLong_AsInt(arg);
+ ms = PyLong_AsInt(arg);
if (ms == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyArg_CheckPositional("newpad", nargs, 2, 2)) {
goto exit;
}
- nlines = _PyLong_AsInt(args[0]);
+ nlines = PyLong_AsInt(args[0]);
if (nlines == -1 && PyErr_Occurred()) {
goto exit;
}
- ncols = _PyLong_AsInt(args[1]);
+ ncols = PyLong_AsInt(args[1]);
if (ncols == -1 && PyErr_Occurred()) {
goto exit;
}
PyObject *return_value = NULL;
int attr;
- attr = _PyLong_AsInt(arg);
+ attr = PyLong_AsInt(arg);
if (attr == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyArg_CheckPositional("resizeterm", nargs, 2, 2)) {
goto exit;
}
- nlines = _PyLong_AsInt(args[0]);
+ nlines = PyLong_AsInt(args[0]);
if (nlines == -1 && PyErr_Occurred()) {
goto exit;
}
- ncols = _PyLong_AsInt(args[1]);
+ ncols = PyLong_AsInt(args[1]);
if (ncols == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyArg_CheckPositional("resize_term", nargs, 2, 2)) {
goto exit;
}
- nlines = _PyLong_AsInt(args[0]);
+ nlines = PyLong_AsInt(args[0]);
if (nlines == -1 && PyErr_Occurred()) {
goto exit;
}
- ncols = _PyLong_AsInt(args[1]);
+ ncols = PyLong_AsInt(args[1]);
if (ncols == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyArg_CheckPositional("setsyx", nargs, 2, 2)) {
goto exit;
}
- y = _PyLong_AsInt(args[0]);
+ y = PyLong_AsInt(args[0]);
if (y == -1 && PyErr_Occurred()) {
goto exit;
}
- x = _PyLong_AsInt(args[1]);
+ x = PyLong_AsInt(args[1]);
if (x == -1 && PyErr_Occurred()) {
goto exit;
}
PyObject *return_value = NULL;
int fd;
- fd = _PyLong_AsInt(arg);
+ fd = PyLong_AsInt(arg);
if (fd == -1 && PyErr_Occurred()) {
goto exit;
}
#ifndef _CURSES_USE_DEFAULT_COLORS_METHODDEF
#define _CURSES_USE_DEFAULT_COLORS_METHODDEF
#endif /* !defined(_CURSES_USE_DEFAULT_COLORS_METHODDEF) */
-/*[clinic end generated code: output=27a2364193b503c1 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=cff0e570de65d9b8 input=a9049054013a1b77]*/
if (!fastargs) {
goto exit;
}
- year = _PyLong_AsInt(fastargs[0]);
+ year = PyLong_AsInt(fastargs[0]);
if (year == -1 && PyErr_Occurred()) {
goto exit;
}
- week = _PyLong_AsInt(fastargs[1]);
+ week = PyLong_AsInt(fastargs[1]);
if (week == -1 && PyErr_Occurred()) {
goto exit;
}
- weekday = _PyLong_AsInt(fastargs[2]);
+ weekday = PyLong_AsInt(fastargs[2]);
if (weekday == -1 && PyErr_Occurred()) {
goto exit;
}
exit:
return return_value;
}
-/*[clinic end generated code: output=42654669940e0e3a input=a9049054013a1b77]*/
+/*[clinic end generated code: output=720c99f24a9aa41c input=a9049054013a1b77]*/
if (nargs < 3) {
goto skip_optional;
}
- mode = _PyLong_AsInt(args[2]);
+ mode = PyLong_AsInt(args[2]);
if (mode == -1 && PyErr_Occurred()) {
goto exit;
}
exit:
return return_value;
}
-/*[clinic end generated code: output=b3053c67ecfcc29c input=a9049054013a1b77]*/
+/*[clinic end generated code: output=f1bf74536f201669 input=a9049054013a1b77]*/
if (nargs < 3) {
goto skip_optional;
}
- mode = _PyLong_AsInt(args[2]);
+ mode = PyLong_AsInt(args[2]);
if (mode == -1 && PyErr_Occurred()) {
goto exit;
}
exit:
return return_value;
}
-/*[clinic end generated code: output=8c613cbd88e57480 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=cf48d9f76fdd62b9 input=a9049054013a1b77]*/
if (!_PyArg_CheckPositional("setlocale", nargs, 1, 2)) {
goto exit;
}
- category = _PyLong_AsInt(args[0]);
+ category = PyLong_AsInt(args[0]);
if (category == -1 && PyErr_Occurred()) {
goto exit;
}
PyObject *return_value = NULL;
int item;
- item = _PyLong_AsInt(arg);
+ item = PyLong_AsInt(arg);
if (item == -1 && PyErr_Occurred()) {
goto exit;
}
PyErr_SetString(PyExc_ValueError, "embedded null character");
goto exit;
}
- category = _PyLong_AsInt(args[2]);
+ category = PyLong_AsInt(args[2]);
if (category == -1 && PyErr_Occurred()) {
goto exit;
}
#ifndef _LOCALE_BIND_TEXTDOMAIN_CODESET_METHODDEF
#define _LOCALE_BIND_TEXTDOMAIN_CODESET_METHODDEF
#endif /* !defined(_LOCALE_BIND_TEXTDOMAIN_CODESET_METHODDEF) */
-/*[clinic end generated code: output=9dbd0b4bf5767edd input=a9049054013a1b77]*/
+/*[clinic end generated code: output=119644f17919234d input=a9049054013a1b77]*/
goto skip_optional_pos;
}
if (fastargs[0]) {
- format = _PyLong_AsInt(fastargs[0]);
+ format = PyLong_AsInt(fastargs[0]);
if (format == -1 && PyErr_Occurred()) {
goto exit;
}
PyObject *return_value = NULL;
int check_id;
- check_id = _PyLong_AsInt(arg);
+ check_id = PyLong_AsInt(arg);
if (check_id == -1 && PyErr_Occurred()) {
goto exit;
}
return return_value;
}
-/*[clinic end generated code: output=96c1fbdada1ef232 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=aaf225a5d15d3e75 input=a9049054013a1b77]*/
if (!args) {
goto exit;
}
- opcode = _PyLong_AsInt(args[0]);
+ opcode = PyLong_AsInt(args[0]);
if (opcode == -1 && PyErr_Occurred()) {
goto exit;
}
if (!args) {
goto exit;
}
- opcode = _PyLong_AsInt(args[0]);
+ opcode = PyLong_AsInt(args[0]);
if (opcode == -1 && PyErr_Occurred()) {
goto exit;
}
if (!args) {
goto exit;
}
- opcode = _PyLong_AsInt(args[0]);
+ opcode = PyLong_AsInt(args[0]);
if (opcode == -1 && PyErr_Occurred()) {
goto exit;
}
if (!args) {
goto exit;
}
- opcode = _PyLong_AsInt(args[0]);
+ opcode = PyLong_AsInt(args[0]);
if (opcode == -1 && PyErr_Occurred()) {
goto exit;
}
if (!args) {
goto exit;
}
- opcode = _PyLong_AsInt(args[0]);
+ opcode = PyLong_AsInt(args[0]);
if (opcode == -1 && PyErr_Occurred()) {
goto exit;
}
if (!args) {
goto exit;
}
- opcode = _PyLong_AsInt(args[0]);
+ opcode = PyLong_AsInt(args[0]);
if (opcode == -1 && PyErr_Occurred()) {
goto exit;
}
if (!args) {
goto exit;
}
- opcode = _PyLong_AsInt(args[0]);
+ opcode = PyLong_AsInt(args[0]);
if (opcode == -1 && PyErr_Occurred()) {
goto exit;
}
if (!args) {
goto exit;
}
- opcode = _PyLong_AsInt(args[0]);
+ opcode = PyLong_AsInt(args[0]);
if (opcode == -1 && PyErr_Occurred()) {
goto exit;
}
if (!args) {
goto exit;
}
- opcode = _PyLong_AsInt(args[0]);
+ opcode = PyLong_AsInt(args[0]);
if (opcode == -1 && PyErr_Occurred()) {
goto exit;
}
{
return _opcode_get_intrinsic2_descs_impl(module);
}
-/*[clinic end generated code: output=31a1a11c2f81dca4 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=ce89aee80dd825d2 input=a9049054013a1b77]*/
py_fds_to_keep = args[3];
cwd_obj = args[4];
env_list = args[5];
- p2cread = _PyLong_AsInt(args[6]);
+ p2cread = PyLong_AsInt(args[6]);
if (p2cread == -1 && PyErr_Occurred()) {
goto exit;
}
- p2cwrite = _PyLong_AsInt(args[7]);
+ p2cwrite = PyLong_AsInt(args[7]);
if (p2cwrite == -1 && PyErr_Occurred()) {
goto exit;
}
- c2pread = _PyLong_AsInt(args[8]);
+ c2pread = PyLong_AsInt(args[8]);
if (c2pread == -1 && PyErr_Occurred()) {
goto exit;
}
- c2pwrite = _PyLong_AsInt(args[9]);
+ c2pwrite = PyLong_AsInt(args[9]);
if (c2pwrite == -1 && PyErr_Occurred()) {
goto exit;
}
- errread = _PyLong_AsInt(args[10]);
+ errread = PyLong_AsInt(args[10]);
if (errread == -1 && PyErr_Occurred()) {
goto exit;
}
- errwrite = _PyLong_AsInt(args[11]);
+ errwrite = PyLong_AsInt(args[11]);
if (errwrite == -1 && PyErr_Occurred()) {
goto exit;
}
- errpipe_read = _PyLong_AsInt(args[12]);
+ errpipe_read = PyLong_AsInt(args[12]);
if (errpipe_read == -1 && PyErr_Occurred()) {
goto exit;
}
- errpipe_write = _PyLong_AsInt(args[13]);
+ errpipe_write = PyLong_AsInt(args[13]);
if (errpipe_write == -1 && PyErr_Occurred()) {
goto exit;
}
gid_object = args[17];
extra_groups_packed = args[18];
uid_object = args[19];
- child_umask = _PyLong_AsInt(args[20]);
+ child_umask = PyLong_AsInt(args[20]);
if (child_umask == -1 && PyErr_Occurred()) {
goto exit;
}
exit:
return return_value;
}
-/*[clinic end generated code: output=46d71e86845c93d7 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=be0e9b5d8c0217fa input=a9049054013a1b77]*/
PyObject *return_value = NULL;
int k;
- k = _PyLong_AsInt(arg);
+ k = PyLong_AsInt(arg);
if (k == -1 && PyErr_Occurred()) {
goto exit;
}
exit:
return return_value;
}
-/*[clinic end generated code: output=bc17406a886824fc input=a9049054013a1b77]*/
+/*[clinic end generated code: output=3feabc783b317d0d input=a9049054013a1b77]*/
if (!_PyArg_CheckPositional("_SSLContext", PyTuple_GET_SIZE(args), 1, 1)) {
goto exit;
}
- proto_version = _PyLong_AsInt(PyTuple_GET_ITEM(args, 0));
+ proto_version = PyLong_AsInt(PyTuple_GET_ITEM(args, 0));
if (proto_version == -1 && PyErr_Occurred()) {
goto exit;
}
if (nargs < 1) {
goto skip_optional;
}
- len = _PyLong_AsInt(args[0]);
+ len = PyLong_AsInt(args[0]);
if (len == -1 && PyErr_Occurred()) {
goto exit;
}
PyObject *return_value = NULL;
int n;
- n = _PyLong_AsInt(arg);
+ n = PyLong_AsInt(arg);
if (n == -1 && PyErr_Occurred()) {
goto exit;
}
PyObject *return_value = NULL;
int nid;
- nid = _PyLong_AsInt(arg);
+ nid = PyLong_AsInt(arg);
if (nid == -1 && PyErr_Occurred()) {
goto exit;
}
#ifndef _SSL_ENUM_CRLS_METHODDEF
#define _SSL_ENUM_CRLS_METHODDEF
#endif /* !defined(_SSL_ENUM_CRLS_METHODDEF) */
-/*[clinic end generated code: output=4d9b81fa81f520f0 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=4c9f00c62f0825d2 input=a9049054013a1b77]*/
if (nargs < 3) {
goto skip_optional;
}
- c = _PyLong_AsInt(args[2]);
+ c = PyLong_AsInt(args[2]);
if (c == -1 && PyErr_Occurred()) {
goto exit;
}
if (nargs < 1) {
goto skip_optional;
}
- a = _PyLong_AsInt(args[0]);
+ a = PyLong_AsInt(args[0]);
if (a == -1 && PyErr_Occurred()) {
goto exit;
}
if (nargs < 2) {
goto skip_optional;
}
- b = _PyLong_AsInt(args[1]);
+ b = PyLong_AsInt(args[1]);
if (b == -1 && PyErr_Occurred()) {
goto exit;
}
exit:
return return_value;
}
-/*[clinic end generated code: output=0de394419fefe7cf input=a9049054013a1b77]*/
+/*[clinic end generated code: output=86396cbed6eb8b65 input=a9049054013a1b77]*/
}
ast = args[0];
filename = args[1];
- optimize = _PyLong_AsInt(args[2]);
+ optimize = PyLong_AsInt(args[2]);
if (optimize == -1 && PyErr_Occurred()) {
goto exit;
}
if (!noptargs) {
goto skip_optional_pos;
}
- compile_mode = _PyLong_AsInt(args[3]);
+ compile_mode = PyLong_AsInt(args[3]);
if (compile_mode == -1 && PyErr_Occurred()) {
goto exit;
}
}
instructions = args[0];
consts = args[1];
- nlocals = _PyLong_AsInt(args[2]);
+ nlocals = PyLong_AsInt(args[2]);
if (nlocals == -1 && PyErr_Occurred()) {
goto exit;
}
exit:
return return_value;
}
-/*[clinic end generated code: output=811d50772c8f285a input=a9049054013a1b77]*/
+/*[clinic end generated code: output=1ce6e2257e95a853 input=a9049054013a1b77]*/
goto skip_optional_pos;
}
if (args[0]) {
- n = _PyLong_AsInt(args[0]);
+ n = PyLong_AsInt(args[0]);
if (n == -1 && PyErr_Occurred()) {
goto exit;
}
}
return _testmultiphase_StateAccessType_get_count_impl(self, cls);
}
-/*[clinic end generated code: output=52ea97ab2f03bb6d input=a9049054013a1b77]*/
+/*[clinic end generated code: output=6f8db3983c5312a0 input=a9049054013a1b77]*/
goto exit;
}
file = args[0];
- mask = _PyLong_AsInt(args[1]);
+ mask = PyLong_AsInt(args[1]);
if (mask == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyArg_CheckPositional("createtimerhandler", nargs, 2, 2)) {
goto exit;
}
- milliseconds = _PyLong_AsInt(args[0]);
+ milliseconds = PyLong_AsInt(args[0]);
if (milliseconds == -1 && PyErr_Occurred()) {
goto exit;
}
if (nargs < 1) {
goto skip_optional;
}
- threshold = _PyLong_AsInt(args[0]);
+ threshold = PyLong_AsInt(args[0]);
if (threshold == -1 && PyErr_Occurred()) {
goto exit;
}
if (nargs < 1) {
goto skip_optional;
}
- flags = _PyLong_AsInt(args[0]);
+ flags = PyLong_AsInt(args[0]);
if (flags == -1 && PyErr_Occurred()) {
goto exit;
}
PyObject *return_value = NULL;
int new_val;
- new_val = _PyLong_AsInt(arg);
+ new_val = PyLong_AsInt(arg);
if (new_val == -1 && PyErr_Occurred()) {
goto exit;
}
#ifndef _TKINTER_TKAPP_DELETEFILEHANDLER_METHODDEF
#define _TKINTER_TKAPP_DELETEFILEHANDLER_METHODDEF
#endif /* !defined(_TKINTER_TKAPP_DELETEFILEHANDLER_METHODDEF) */
-/*[clinic end generated code: output=2a4e3bf8448604b5 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=2cdb2fd0ce66ebe5 input=a9049054013a1b77]*/
if (nargs < 1) {
goto skip_optional;
}
- nframe = _PyLong_AsInt(args[0]);
+ nframe = PyLong_AsInt(args[0]);
if (nframe == -1 && PyErr_Occurred()) {
goto exit;
}
{
return _tracemalloc_reset_peak_impl(module);
}
-/*[clinic end generated code: output=44e3f8553aae2535 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=98a42e95af7eaf09 input=a9049054013a1b77]*/
goto exit;
}
typecode = PyUnicode_READ_CHAR(args[1], 0);
- mformat_code = _PyLong_AsInt(args[2]);
+ mformat_code = PyLong_AsInt(args[2]);
if (mformat_code == -1 && PyErr_Occurred()) {
goto exit;
}
#define ARRAY_ARRAYITERATOR___SETSTATE___METHODDEF \
{"__setstate__", (PyCFunction)array_arrayiterator___setstate__, METH_O, array_arrayiterator___setstate____doc__},
-/*[clinic end generated code: output=11595e9f38d6d500 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=db417f5677a25eaa input=a9049054013a1b77]*/
goto skip_optional_pos;
}
}
- bytes_per_sep = _PyLong_AsInt(args[2]);
+ bytes_per_sep = PyLong_AsInt(args[2]);
if (bytes_per_sep == -1 && PyErr_Occurred()) {
goto exit;
}
goto skip_optional_pos;
}
}
- bytes_per_sep = _PyLong_AsInt(args[2]);
+ bytes_per_sep = PyLong_AsInt(args[2]);
if (bytes_per_sep == -1 && PyErr_Occurred()) {
goto exit;
}
return return_value;
}
-/*[clinic end generated code: output=ab156917c9db79d2 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=bf950ef45a10928d input=a9049054013a1b77]*/
if (!_PyLong_FileDescriptor_Converter(args[0], &fd)) {
goto exit;
}
- code = _PyLong_AsInt(args[1]);
+ code = PyLong_AsInt(args[1]);
if (code == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyLong_FileDescriptor_Converter(args[0], &fd)) {
goto exit;
}
- code = _PyLong_AsInt(args[1]);
+ code = PyLong_AsInt(args[1]);
if (code == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyLong_FileDescriptor_Converter(args[0], &fd)) {
goto exit;
}
- code = _PyLong_AsInt(args[1]);
+ code = PyLong_AsInt(args[1]);
if (code == -1 && PyErr_Occurred()) {
goto exit;
}
if (nargs < 5) {
goto skip_optional;
}
- whence = _PyLong_AsInt(args[4]);
+ whence = PyLong_AsInt(args[4]);
if (whence == -1 && PyErr_Occurred()) {
goto exit;
}
exit:
return return_value;
}
-/*[clinic end generated code: output=1db859412172dd53 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=705976d5f53f2272 input=a9049054013a1b77]*/
if (!noptargs) {
goto skip_optional_pos;
}
- generation = _PyLong_AsInt(args[0]);
+ generation = PyLong_AsInt(args[0]);
if (generation == -1 && PyErr_Occurred()) {
goto exit;
}
PyObject *return_value = NULL;
int flags;
- flags = _PyLong_AsInt(arg);
+ flags = PyLong_AsInt(arg);
if (flags == -1 && PyErr_Occurred()) {
goto exit;
}
exit:
return return_value;
}
-/*[clinic end generated code: output=66432ac0e17fd04f input=a9049054013a1b77]*/
+/*[clinic end generated code: output=16003cfbc66ada39 input=a9049054013a1b77]*/
goto exit;
}
EventAttributes = args[0];
- ManualReset = _PyLong_AsInt(args[1]);
+ ManualReset = PyLong_AsInt(args[1]);
if (ManualReset == -1 && PyErr_Occurred()) {
goto exit;
}
- InitialState = _PyLong_AsInt(args[2]);
+ InitialState = PyLong_AsInt(args[2]);
if (InitialState == -1 && PyErr_Occurred()) {
goto exit;
}
if (!Socket && PyErr_Occurred()) {
goto exit;
}
- Family = _PyLong_AsInt(args[1]);
+ Family = PyLong_AsInt(args[1]);
if (Family == -1 && PyErr_Occurred()) {
goto exit;
}
if (nargs < 1) {
goto skip_optional;
}
- wait = _PyLong_AsInt(args[0]);
+ wait = PyLong_AsInt(args[0]);
if (wait == -1 && PyErr_Occurred()) {
goto exit;
}
return return_value;
}
-/*[clinic end generated code: output=05fd038b8a81272d input=a9049054013a1b77]*/
+/*[clinic end generated code: output=9fbc01f706562dea input=a9049054013a1b77]*/
if (!path_converter(args[0], &path)) {
goto exit;
}
- mode = _PyLong_AsInt(args[1]);
+ mode = PyLong_AsInt(args[1]);
if (mode == -1 && PyErr_Occurred()) {
goto exit;
}
PyObject *return_value = NULL;
int fd;
- fd = _PyLong_AsInt(arg);
+ fd = PyLong_AsInt(arg);
if (fd == -1 && PyErr_Occurred()) {
goto exit;
}
if (!path_converter(args[0], &path)) {
goto exit;
}
- mode = _PyLong_AsInt(args[1]);
+ mode = PyLong_AsInt(args[1]);
if (mode == -1 && PyErr_Occurred()) {
goto exit;
}
if (!args) {
goto exit;
}
- fd = _PyLong_AsInt(args[0]);
+ fd = PyLong_AsInt(args[0]);
if (fd == -1 && PyErr_Occurred()) {
goto exit;
}
- mode = _PyLong_AsInt(args[1]);
+ mode = PyLong_AsInt(args[1]);
if (mode == -1 && PyErr_Occurred()) {
goto exit;
}
if (!path_converter(args[0], &path)) {
goto exit;
}
- mode = _PyLong_AsInt(args[1]);
+ mode = PyLong_AsInt(args[1]);
if (mode == -1 && PyErr_Occurred()) {
goto exit;
}
if (!args) {
goto exit;
}
- fd = _PyLong_AsInt(args[0]);
+ fd = PyLong_AsInt(args[0]);
if (fd == -1 && PyErr_Occurred()) {
goto exit;
}
goto skip_optional_pos;
}
if (args[1]) {
- mode = _PyLong_AsInt(args[1]);
+ mode = PyLong_AsInt(args[1]);
if (mode == -1 && PyErr_Occurred()) {
goto exit;
}
PyObject *return_value = NULL;
int increment;
- increment = _PyLong_AsInt(arg);
+ increment = PyLong_AsInt(arg);
if (increment == -1 && PyErr_Occurred()) {
goto exit;
}
if (!args) {
goto exit;
}
- which = _PyLong_AsInt(args[0]);
+ which = PyLong_AsInt(args[0]);
if (which == -1 && PyErr_Occurred()) {
goto exit;
}
- who = _PyLong_AsInt(args[1]);
+ who = PyLong_AsInt(args[1]);
if (who == -1 && PyErr_Occurred()) {
goto exit;
}
if (!args) {
goto exit;
}
- which = _PyLong_AsInt(args[0]);
+ which = PyLong_AsInt(args[0]);
if (which == -1 && PyErr_Occurred()) {
goto exit;
}
- who = _PyLong_AsInt(args[1]);
+ who = PyLong_AsInt(args[1]);
if (who == -1 && PyErr_Occurred()) {
goto exit;
}
- priority = _PyLong_AsInt(args[2]);
+ priority = PyLong_AsInt(args[2]);
if (priority == -1 && PyErr_Occurred()) {
goto exit;
}
PyObject *return_value = NULL;
int mask;
- mask = _PyLong_AsInt(arg);
+ mask = PyLong_AsInt(arg);
if (mask == -1 && PyErr_Occurred()) {
goto exit;
}
if (!args) {
goto exit;
}
- status = _PyLong_AsInt(args[0]);
+ status = PyLong_AsInt(args[0]);
if (status == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyArg_CheckPositional("spawnv", nargs, 3, 3)) {
goto exit;
}
- mode = _PyLong_AsInt(args[0]);
+ mode = PyLong_AsInt(args[0]);
if (mode == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyArg_CheckPositional("spawnve", nargs, 4, 4)) {
goto exit;
}
- mode = _PyLong_AsInt(args[0]);
+ mode = PyLong_AsInt(args[0]);
if (mode == -1 && PyErr_Occurred()) {
goto exit;
}
if (!args) {
goto exit;
}
- policy = _PyLong_AsInt(args[0]);
+ policy = PyLong_AsInt(args[0]);
if (policy == -1 && PyErr_Occurred()) {
goto exit;
}
if (!args) {
goto exit;
}
- policy = _PyLong_AsInt(args[0]);
+ policy = PyLong_AsInt(args[0]);
if (policy == -1 && PyErr_Occurred()) {
goto exit;
}
PyErr_SetString(PyExc_ValueError, "embedded null character");
goto exit;
}
- basegid = _PyLong_AsInt(args[1]);
+ basegid = PyLong_AsInt(args[1]);
if (basegid == -1 && PyErr_Occurred()) {
goto exit;
}
if (!PyUnicode_FSConverter(args[0], &oname)) {
goto exit;
}
- gid = _PyLong_AsInt(args[1]);
+ gid = PyLong_AsInt(args[1]);
if (gid == -1 && PyErr_Occurred()) {
goto exit;
}
PyObject *return_value = NULL;
int op;
- op = _PyLong_AsInt(arg);
+ op = PyLong_AsInt(arg);
if (op == -1 && PyErr_Occurred()) {
goto exit;
}
if (!args) {
goto exit;
}
- options = _PyLong_AsInt(args[0]);
+ options = PyLong_AsInt(args[0]);
if (options == -1 && PyErr_Occurred()) {
goto exit;
}
if (!noptargs) {
goto skip_optional_pos;
}
- nstype = _PyLong_AsInt(args[1]);
+ nstype = PyLong_AsInt(args[1]);
if (nstype == -1 && PyErr_Occurred()) {
goto exit;
}
if (!args) {
goto exit;
}
- flags = _PyLong_AsInt(args[0]);
+ flags = PyLong_AsInt(args[0]);
if (flags == -1 && PyErr_Occurred()) {
goto exit;
}
PyObject *return_value = NULL;
int fd;
- fd = _PyLong_AsInt(arg);
+ fd = PyLong_AsInt(arg);
if (fd == -1 && PyErr_Occurred()) {
goto exit;
}
if (!path_converter(args[0], &path)) {
goto exit;
}
- flags = _PyLong_AsInt(args[1]);
+ flags = PyLong_AsInt(args[1]);
if (flags == -1 && PyErr_Occurred()) {
goto exit;
}
goto skip_optional_pos;
}
if (args[2]) {
- mode = _PyLong_AsInt(args[2]);
+ mode = PyLong_AsInt(args[2]);
if (mode == -1 && PyErr_Occurred()) {
goto exit;
}
if (!args) {
goto exit;
}
- fd = _PyLong_AsInt(args[0]);
+ fd = PyLong_AsInt(args[0]);
if (fd == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyArg_CheckPositional("closerange", nargs, 2, 2)) {
goto exit;
}
- fd_low = _PyLong_AsInt(args[0]);
+ fd_low = PyLong_AsInt(args[0]);
if (fd_low == -1 && PyErr_Occurred()) {
goto exit;
}
- fd_high = _PyLong_AsInt(args[1]);
+ fd_high = PyLong_AsInt(args[1]);
if (fd_high == -1 && PyErr_Occurred()) {
goto exit;
}
int fd;
int _return_value;
- fd = _PyLong_AsInt(arg);
+ fd = PyLong_AsInt(arg);
if (fd == -1 && PyErr_Occurred()) {
goto exit;
}
if (!args) {
goto exit;
}
- fd = _PyLong_AsInt(args[0]);
+ fd = PyLong_AsInt(args[0]);
if (fd == -1 && PyErr_Occurred()) {
goto exit;
}
- fd2 = _PyLong_AsInt(args[1]);
+ fd2 = PyLong_AsInt(args[1]);
if (fd2 == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyArg_CheckPositional("lockf", nargs, 3, 3)) {
goto exit;
}
- fd = _PyLong_AsInt(args[0]);
+ fd = PyLong_AsInt(args[0]);
if (fd == -1 && PyErr_Occurred()) {
goto exit;
}
- command = _PyLong_AsInt(args[1]);
+ command = PyLong_AsInt(args[1]);
if (command == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyArg_CheckPositional("lseek", nargs, 3, 3)) {
goto exit;
}
- fd = _PyLong_AsInt(args[0]);
+ fd = PyLong_AsInt(args[0]);
if (fd == -1 && PyErr_Occurred()) {
goto exit;
}
if (!Py_off_t_converter(args[1], &position)) {
goto exit;
}
- how = _PyLong_AsInt(args[2]);
+ how = PyLong_AsInt(args[2]);
if (how == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyArg_CheckPositional("read", nargs, 2, 2)) {
goto exit;
}
- fd = _PyLong_AsInt(args[0]);
+ fd = PyLong_AsInt(args[0]);
if (fd == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyArg_CheckPositional("readv", nargs, 2, 2)) {
goto exit;
}
- fd = _PyLong_AsInt(args[0]);
+ fd = PyLong_AsInt(args[0]);
if (fd == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyArg_CheckPositional("pread", nargs, 3, 3)) {
goto exit;
}
- fd = _PyLong_AsInt(args[0]);
+ fd = PyLong_AsInt(args[0]);
if (fd == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyArg_CheckPositional("preadv", nargs, 3, 4)) {
goto exit;
}
- fd = _PyLong_AsInt(args[0]);
+ fd = PyLong_AsInt(args[0]);
if (fd == -1 && PyErr_Occurred()) {
goto exit;
}
if (nargs < 4) {
goto skip_optional;
}
- flags = _PyLong_AsInt(args[3]);
+ flags = PyLong_AsInt(args[3]);
if (flags == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyArg_CheckPositional("write", nargs, 2, 2)) {
goto exit;
}
- fd = _PyLong_AsInt(args[0]);
+ fd = PyLong_AsInt(args[0]);
if (fd == -1 && PyErr_Occurred()) {
goto exit;
}
if (!args) {
goto exit;
}
- out_fd = _PyLong_AsInt(args[0]);
+ out_fd = PyLong_AsInt(args[0]);
if (out_fd == -1 && PyErr_Occurred()) {
goto exit;
}
- in_fd = _PyLong_AsInt(args[1]);
+ in_fd = PyLong_AsInt(args[1]);
if (in_fd == -1 && PyErr_Occurred()) {
goto exit;
}
goto skip_optional_pos;
}
}
- flags = _PyLong_AsInt(args[6]);
+ flags = PyLong_AsInt(args[6]);
if (flags == -1 && PyErr_Occurred()) {
goto exit;
}
if (!args) {
goto exit;
}
- out_fd = _PyLong_AsInt(args[0]);
+ out_fd = PyLong_AsInt(args[0]);
if (out_fd == -1 && PyErr_Occurred()) {
goto exit;
}
- in_fd = _PyLong_AsInt(args[1]);
+ in_fd = PyLong_AsInt(args[1]);
if (in_fd == -1 && PyErr_Occurred()) {
goto exit;
}
goto skip_optional_pos;
}
}
- flags = _PyLong_AsInt(args[6]);
+ flags = PyLong_AsInt(args[6]);
if (flags == -1 && PyErr_Occurred()) {
goto exit;
}
if (!args) {
goto exit;
}
- out_fd = _PyLong_AsInt(args[0]);
+ out_fd = PyLong_AsInt(args[0]);
if (out_fd == -1 && PyErr_Occurred()) {
goto exit;
}
- in_fd = _PyLong_AsInt(args[1]);
+ in_fd = PyLong_AsInt(args[1]);
if (in_fd == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyArg_CheckPositional("_fcopyfile", nargs, 3, 3)) {
goto exit;
}
- in_fd = _PyLong_AsInt(args[0]);
+ in_fd = PyLong_AsInt(args[0]);
if (in_fd == -1 && PyErr_Occurred()) {
goto exit;
}
- out_fd = _PyLong_AsInt(args[1]);
+ out_fd = PyLong_AsInt(args[1]);
if (out_fd == -1 && PyErr_Occurred()) {
goto exit;
}
- flags = _PyLong_AsInt(args[2]);
+ flags = PyLong_AsInt(args[2]);
if (flags == -1 && PyErr_Occurred()) {
goto exit;
}
if (!args) {
goto exit;
}
- fd = _PyLong_AsInt(args[0]);
+ fd = PyLong_AsInt(args[0]);
if (fd == -1 && PyErr_Occurred()) {
goto exit;
}
int fd;
int _return_value;
- fd = _PyLong_AsInt(arg);
+ fd = PyLong_AsInt(arg);
if (fd == -1 && PyErr_Occurred()) {
goto exit;
}
PyObject *return_value = NULL;
int flags;
- flags = _PyLong_AsInt(arg);
+ flags = PyLong_AsInt(arg);
if (flags == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyArg_CheckPositional("writev", nargs, 2, 2)) {
goto exit;
}
- fd = _PyLong_AsInt(args[0]);
+ fd = PyLong_AsInt(args[0]);
if (fd == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyArg_CheckPositional("pwrite", nargs, 3, 3)) {
goto exit;
}
- fd = _PyLong_AsInt(args[0]);
+ fd = PyLong_AsInt(args[0]);
if (fd == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyArg_CheckPositional("pwritev", nargs, 3, 4)) {
goto exit;
}
- fd = _PyLong_AsInt(args[0]);
+ fd = PyLong_AsInt(args[0]);
if (fd == -1 && PyErr_Occurred()) {
goto exit;
}
if (nargs < 4) {
goto skip_optional;
}
- flags = _PyLong_AsInt(args[3]);
+ flags = PyLong_AsInt(args[3]);
if (flags == -1 && PyErr_Occurred()) {
goto exit;
}
if (!args) {
goto exit;
}
- src = _PyLong_AsInt(args[0]);
+ src = PyLong_AsInt(args[0]);
if (src == -1 && PyErr_Occurred()) {
goto exit;
}
- dst = _PyLong_AsInt(args[1]);
+ dst = PyLong_AsInt(args[1]);
if (dst == -1 && PyErr_Occurred()) {
goto exit;
}
if (!args) {
goto exit;
}
- src = _PyLong_AsInt(args[0]);
+ src = PyLong_AsInt(args[0]);
if (src == -1 && PyErr_Occurred()) {
goto exit;
}
- dst = _PyLong_AsInt(args[1]);
+ dst = PyLong_AsInt(args[1]);
if (dst == -1 && PyErr_Occurred()) {
goto exit;
}
goto skip_optional_pos;
}
if (args[1]) {
- mode = _PyLong_AsInt(args[1]);
+ mode = PyLong_AsInt(args[1]);
if (mode == -1 && PyErr_Occurred()) {
goto exit;
}
goto skip_optional_pos;
}
if (args[1]) {
- mode = _PyLong_AsInt(args[1]);
+ mode = PyLong_AsInt(args[1]);
if (mode == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyArg_CheckPositional("makedev", nargs, 2, 2)) {
goto exit;
}
- major = _PyLong_AsInt(args[0]);
+ major = PyLong_AsInt(args[0]);
if (major == -1 && PyErr_Occurred()) {
goto exit;
}
- minor = _PyLong_AsInt(args[1]);
+ minor = PyLong_AsInt(args[1]);
if (minor == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyArg_CheckPositional("ftruncate", nargs, 2, 2)) {
goto exit;
}
- fd = _PyLong_AsInt(args[0]);
+ fd = PyLong_AsInt(args[0]);
if (fd == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyArg_CheckPositional("posix_fallocate", nargs, 3, 3)) {
goto exit;
}
- fd = _PyLong_AsInt(args[0]);
+ fd = PyLong_AsInt(args[0]);
if (fd == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyArg_CheckPositional("posix_fadvise", nargs, 4, 4)) {
goto exit;
}
- fd = _PyLong_AsInt(args[0]);
+ fd = PyLong_AsInt(args[0]);
if (fd == -1 && PyErr_Occurred()) {
goto exit;
}
if (!Py_off_t_converter(args[2], &length)) {
goto exit;
}
- advice = _PyLong_AsInt(args[3]);
+ advice = PyLong_AsInt(args[3]);
if (advice == -1 && PyErr_Occurred()) {
goto exit;
}
PyObject *return_value = NULL;
int code;
- code = _PyLong_AsInt(arg);
+ code = PyLong_AsInt(arg);
if (code == -1 && PyErr_Occurred()) {
goto exit;
}
int status;
int _return_value;
- status = _PyLong_AsInt(arg);
+ status = PyLong_AsInt(arg);
if (status == -1 && PyErr_Occurred()) {
goto exit;
}
if (!args) {
goto exit;
}
- status = _PyLong_AsInt(args[0]);
+ status = PyLong_AsInt(args[0]);
if (status == -1 && PyErr_Occurred()) {
goto exit;
}
if (!args) {
goto exit;
}
- status = _PyLong_AsInt(args[0]);
+ status = PyLong_AsInt(args[0]);
if (status == -1 && PyErr_Occurred()) {
goto exit;
}
if (!args) {
goto exit;
}
- status = _PyLong_AsInt(args[0]);
+ status = PyLong_AsInt(args[0]);
if (status == -1 && PyErr_Occurred()) {
goto exit;
}
if (!args) {
goto exit;
}
- status = _PyLong_AsInt(args[0]);
+ status = PyLong_AsInt(args[0]);
if (status == -1 && PyErr_Occurred()) {
goto exit;
}
if (!args) {
goto exit;
}
- status = _PyLong_AsInt(args[0]);
+ status = PyLong_AsInt(args[0]);
if (status == -1 && PyErr_Occurred()) {
goto exit;
}
if (!args) {
goto exit;
}
- status = _PyLong_AsInt(args[0]);
+ status = PyLong_AsInt(args[0]);
if (status == -1 && PyErr_Occurred()) {
goto exit;
}
if (!args) {
goto exit;
}
- status = _PyLong_AsInt(args[0]);
+ status = PyLong_AsInt(args[0]);
if (status == -1 && PyErr_Occurred()) {
goto exit;
}
PyObject *return_value = NULL;
int fd;
- fd = _PyLong_AsInt(arg);
+ fd = PyLong_AsInt(arg);
if (fd == -1 && PyErr_Occurred()) {
goto exit;
}
goto skip_optional_pos;
}
}
- show_cmd = _PyLong_AsInt(args[4]);
+ show_cmd = PyLong_AsInt(args[4]);
if (show_cmd == -1 && PyErr_Occurred()) {
goto exit;
}
if (!args) {
goto exit;
}
- fd = _PyLong_AsInt(args[0]);
+ fd = PyLong_AsInt(args[0]);
if (fd == -1 && PyErr_Occurred()) {
goto exit;
}
goto skip_optional_pos;
}
if (args[3]) {
- flags = _PyLong_AsInt(args[3]);
+ flags = PyLong_AsInt(args[3]);
if (flags == -1 && PyErr_Occurred()) {
goto exit;
}
if (!noptargs) {
goto skip_optional_pos;
}
- flags = _PyLong_AsInt(args[1]);
+ flags = PyLong_AsInt(args[1]);
if (flags == -1 && PyErr_Occurred()) {
goto exit;
}
if (nargs < 1) {
goto skip_optional;
}
- fd = _PyLong_AsInt(args[0]);
+ fd = PyLong_AsInt(args[0]);
if (fd == -1 && PyErr_Occurred()) {
goto exit;
}
int fd;
int _return_value;
- fd = _PyLong_AsInt(arg);
+ fd = PyLong_AsInt(arg);
if (fd == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyArg_CheckPositional("set_inheritable", nargs, 2, 2)) {
goto exit;
}
- fd = _PyLong_AsInt(args[0]);
+ fd = PyLong_AsInt(args[0]);
if (fd == -1 && PyErr_Occurred()) {
goto exit;
}
- inheritable = _PyLong_AsInt(args[1]);
+ inheritable = PyLong_AsInt(args[1]);
if (inheritable == -1 && PyErr_Occurred()) {
goto exit;
}
int fd;
int _return_value;
- fd = _PyLong_AsInt(arg);
+ fd = PyLong_AsInt(arg);
if (fd == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyArg_CheckPositional("set_blocking", nargs, 2, 2)) {
goto exit;
}
- fd = _PyLong_AsInt(args[0]);
+ fd = PyLong_AsInt(args[0]);
if (fd == -1 && PyErr_Occurred()) {
goto exit;
}
if (!noptargs) {
goto skip_optional_pos;
}
- flags = _PyLong_AsInt(args[1]);
+ flags = PyLong_AsInt(args[1]);
if (flags == -1 && PyErr_Occurred()) {
goto exit;
}
#ifndef OS_WAITSTATUS_TO_EXITCODE_METHODDEF
#define OS_WAITSTATUS_TO_EXITCODE_METHODDEF
#endif /* !defined(OS_WAITSTATUS_TO_EXITCODE_METHODDEF) */
-/*[clinic end generated code: output=9a5f78bb65470528 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=5e839ce21678ea66 input=a9049054013a1b77]*/
PyObject *return_value = NULL;
int flag;
- flag = _PyLong_AsInt(arg);
+ flag = PyLong_AsInt(arg);
if (flag == -1 && PyErr_Occurred()) {
goto exit;
}
#ifndef PYEXPAT_XMLPARSER_USEFOREIGNDTD_METHODDEF
#define PYEXPAT_XMLPARSER_USEFOREIGNDTD_METHODDEF
#endif /* !defined(PYEXPAT_XMLPARSER_USEFOREIGNDTD_METHODDEF) */
-/*[clinic end generated code: output=63efc62e24a7b5a7 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=6b30852bfc778208 input=a9049054013a1b77]*/
if (!_PyArg_CheckPositional("append_history_file", nargs, 1, 2)) {
goto exit;
}
- nelements = _PyLong_AsInt(args[0]);
+ nelements = PyLong_AsInt(args[0]);
if (nelements == -1 && PyErr_Occurred()) {
goto exit;
}
PyObject *return_value = NULL;
int length;
- length = _PyLong_AsInt(arg);
+ length = PyLong_AsInt(arg);
if (length == -1 && PyErr_Occurred()) {
goto exit;
}
PyObject *return_value = NULL;
int entry_number;
- entry_number = _PyLong_AsInt(arg);
+ entry_number = PyLong_AsInt(arg);
if (entry_number == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyArg_CheckPositional("replace_history_item", nargs, 2, 2)) {
goto exit;
}
- entry_number = _PyLong_AsInt(args[0]);
+ entry_number = PyLong_AsInt(args[0]);
if (entry_number == -1 && PyErr_Occurred()) {
goto exit;
}
PyObject *return_value = NULL;
int idx;
- idx = _PyLong_AsInt(arg);
+ idx = PyLong_AsInt(arg);
if (idx == -1 && PyErr_Occurred()) {
goto exit;
}
#ifndef READLINE_CLEAR_HISTORY_METHODDEF
#define READLINE_CLEAR_HISTORY_METHODDEF
#endif /* !defined(READLINE_CLEAR_HISTORY_METHODDEF) */
-/*[clinic end generated code: output=d66c3df7e72f93c4 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=2c9c5709b3e00c8b input=a9049054013a1b77]*/
PyObject *return_value = NULL;
int who;
- who = _PyLong_AsInt(arg);
+ who = PyLong_AsInt(arg);
if (who == -1 && PyErr_Occurred()) {
goto exit;
}
PyObject *return_value = NULL;
int resource;
- resource = _PyLong_AsInt(arg);
+ resource = PyLong_AsInt(arg);
if (resource == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyArg_CheckPositional("setrlimit", nargs, 2, 2)) {
goto exit;
}
- resource = _PyLong_AsInt(args[0]);
+ resource = PyLong_AsInt(args[0]);
if (resource == -1 && PyErr_Occurred()) {
goto exit;
}
if (pid == -1 && PyErr_Occurred()) {
goto exit;
}
- resource = _PyLong_AsInt(args[1]);
+ resource = PyLong_AsInt(args[1]);
if (resource == -1 && PyErr_Occurred()) {
goto exit;
}
#ifndef RESOURCE_PRLIMIT_METHODDEF
#define RESOURCE_PRLIMIT_METHODDEF
#endif /* !defined(RESOURCE_PRLIMIT_METHODDEF) */
-/*[clinic end generated code: output=2fbec74335a57230 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=916ecf0eb1927c37 input=a9049054013a1b77]*/
goto skip_optional_pos;
}
if (fastargs[0]) {
- sizehint = _PyLong_AsInt(fastargs[0]);
+ sizehint = PyLong_AsInt(fastargs[0]);
if (sizehint == -1 && PyErr_Occurred()) {
goto exit;
}
goto skip_optional_pos;
}
}
- flags = _PyLong_AsInt(fastargs[1]);
+ flags = PyLong_AsInt(fastargs[1]);
if (flags == -1 && PyErr_Occurred()) {
goto exit;
}
PyObject *return_value = NULL;
int fd;
- fd = _PyLong_AsInt(arg);
+ fd = PyLong_AsInt(arg);
if (fd == -1 && PyErr_Occurred()) {
goto exit;
}
goto skip_optional_pos;
}
}
- maxevents = _PyLong_AsInt(args[1]);
+ maxevents = PyLong_AsInt(args[1]);
if (maxevents == -1 && PyErr_Occurred()) {
goto exit;
}
PyObject *return_value = NULL;
int fd;
- fd = _PyLong_AsInt(arg);
+ fd = PyLong_AsInt(arg);
if (fd == -1 && PyErr_Occurred()) {
goto exit;
}
goto exit;
}
changelist = args[0];
- maxevents = _PyLong_AsInt(args[1]);
+ maxevents = PyLong_AsInt(args[1]);
if (maxevents == -1 && PyErr_Occurred()) {
goto exit;
}
#ifndef SELECT_KQUEUE_CONTROL_METHODDEF
#define SELECT_KQUEUE_CONTROL_METHODDEF
#endif /* !defined(SELECT_KQUEUE_CONTROL_METHODDEF) */
-/*[clinic end generated code: output=64516114287e894d input=a9049054013a1b77]*/
+/*[clinic end generated code: output=7521d757ef9e63e8 input=a9049054013a1b77]*/
if (!_PyArg_CheckPositional("default_int_handler", nargs, 2, 2)) {
goto exit;
}
- signalnum = _PyLong_AsInt(args[0]);
+ signalnum = PyLong_AsInt(args[0]);
if (signalnum == -1 && PyErr_Occurred()) {
goto exit;
}
int seconds;
long _return_value;
- seconds = _PyLong_AsInt(arg);
+ seconds = PyLong_AsInt(arg);
if (seconds == -1 && PyErr_Occurred()) {
goto exit;
}
PyObject *return_value = NULL;
int signalnum;
- signalnum = _PyLong_AsInt(arg);
+ signalnum = PyLong_AsInt(arg);
if (signalnum == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyArg_CheckPositional("signal", nargs, 2, 2)) {
goto exit;
}
- signalnum = _PyLong_AsInt(args[0]);
+ signalnum = PyLong_AsInt(args[0]);
if (signalnum == -1 && PyErr_Occurred()) {
goto exit;
}
PyObject *return_value = NULL;
int signalnum;
- signalnum = _PyLong_AsInt(arg);
+ signalnum = PyLong_AsInt(arg);
if (signalnum == -1 && PyErr_Occurred()) {
goto exit;
}
PyObject *return_value = NULL;
int signalnum;
- signalnum = _PyLong_AsInt(arg);
+ signalnum = PyLong_AsInt(arg);
if (signalnum == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyArg_CheckPositional("siginterrupt", nargs, 2, 2)) {
goto exit;
}
- signalnum = _PyLong_AsInt(args[0]);
+ signalnum = PyLong_AsInt(args[0]);
if (signalnum == -1 && PyErr_Occurred()) {
goto exit;
}
- flag = _PyLong_AsInt(args[1]);
+ flag = PyLong_AsInt(args[1]);
if (flag == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyArg_CheckPositional("setitimer", nargs, 2, 3)) {
goto exit;
}
- which = _PyLong_AsInt(args[0]);
+ which = PyLong_AsInt(args[0]);
if (which == -1 && PyErr_Occurred()) {
goto exit;
}
PyObject *return_value = NULL;
int which;
- which = _PyLong_AsInt(arg);
+ which = PyLong_AsInt(arg);
if (which == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyArg_CheckPositional("pthread_sigmask", nargs, 2, 2)) {
goto exit;
}
- how = _PyLong_AsInt(args[0]);
+ how = PyLong_AsInt(args[0]);
if (how == -1 && PyErr_Occurred()) {
goto exit;
}
goto exit;
}
thread_id = PyLong_AsUnsignedLongMask(args[0]);
- signalnum = _PyLong_AsInt(args[1]);
+ signalnum = PyLong_AsInt(args[1]);
if (signalnum == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyArg_CheckPositional("pidfd_send_signal", nargs, 2, 4)) {
goto exit;
}
- pidfd = _PyLong_AsInt(args[0]);
+ pidfd = PyLong_AsInt(args[0]);
if (pidfd == -1 && PyErr_Occurred()) {
goto exit;
}
- signalnum = _PyLong_AsInt(args[1]);
+ signalnum = PyLong_AsInt(args[1]);
if (signalnum == -1 && PyErr_Occurred()) {
goto exit;
}
if (nargs < 4) {
goto skip_optional;
}
- flags = _PyLong_AsInt(args[3]);
+ flags = PyLong_AsInt(args[3]);
if (flags == -1 && PyErr_Occurred()) {
goto exit;
}
#ifndef SIGNAL_PIDFD_SEND_SIGNAL_METHODDEF
#define SIGNAL_PIDFD_SEND_SIGNAL_METHODDEF
#endif /* !defined(SIGNAL_PIDFD_SEND_SIGNAL_METHODDEF) */
-/*[clinic end generated code: output=2b54dc607f6e3146 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=9903be3eba6cbc1c input=a9049054013a1b77]*/
goto skip_optional_pos;
}
if (fastargs[0]) {
- family = _PyLong_AsInt(fastargs[0]);
+ family = PyLong_AsInt(fastargs[0]);
if (family == -1 && PyErr_Occurred()) {
goto exit;
}
}
}
if (fastargs[1]) {
- type = _PyLong_AsInt(fastargs[1]);
+ type = PyLong_AsInt(fastargs[1]);
if (type == -1 && PyErr_Occurred()) {
goto exit;
}
}
}
if (fastargs[2]) {
- proto = _PyLong_AsInt(fastargs[2]);
+ proto = PyLong_AsInt(fastargs[2]);
if (proto == -1 && PyErr_Occurred()) {
goto exit;
}
exit:
return return_value;
}
-/*[clinic end generated code: output=987155ac4b48a198 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=c44e3ac23999ac60 input=a9049054013a1b77]*/
if (!_PyLong_FileDescriptor_Converter(args[0], &fd)) {
goto exit;
}
- when = _PyLong_AsInt(args[1]);
+ when = PyLong_AsInt(args[1]);
if (when == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyLong_FileDescriptor_Converter(args[0], &fd)) {
goto exit;
}
- duration = _PyLong_AsInt(args[1]);
+ duration = PyLong_AsInt(args[1]);
if (duration == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyLong_FileDescriptor_Converter(args[0], &fd)) {
goto exit;
}
- queue = _PyLong_AsInt(args[1]);
+ queue = PyLong_AsInt(args[1]);
if (queue == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyLong_FileDescriptor_Converter(args[0], &fd)) {
goto exit;
}
- action = _PyLong_AsInt(args[1]);
+ action = PyLong_AsInt(args[1]);
if (action == -1 && PyErr_Occurred()) {
goto exit;
}
exit:
return return_value;
}
-/*[clinic end generated code: output=d286a3906a051869 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=4c79a3bf87370275 input=a9049054013a1b77]*/
goto skip_optional_pos;
}
if (args[1]) {
- level = _PyLong_AsInt(args[1]);
+ level = PyLong_AsInt(args[1]);
if (level == -1 && PyErr_Occurred()) {
goto exit;
}
goto skip_optional_pos;
}
}
- wbits = _PyLong_AsInt(args[2]);
+ wbits = PyLong_AsInt(args[2]);
if (wbits == -1 && PyErr_Occurred()) {
goto exit;
}
goto skip_optional_pos;
}
if (args[1]) {
- wbits = _PyLong_AsInt(args[1]);
+ wbits = PyLong_AsInt(args[1]);
if (wbits == -1 && PyErr_Occurred()) {
goto exit;
}
goto skip_optional_pos;
}
if (args[0]) {
- level = _PyLong_AsInt(args[0]);
+ level = PyLong_AsInt(args[0]);
if (level == -1 && PyErr_Occurred()) {
goto exit;
}
}
}
if (args[1]) {
- method = _PyLong_AsInt(args[1]);
+ method = PyLong_AsInt(args[1]);
if (method == -1 && PyErr_Occurred()) {
goto exit;
}
}
}
if (args[2]) {
- wbits = _PyLong_AsInt(args[2]);
+ wbits = PyLong_AsInt(args[2]);
if (wbits == -1 && PyErr_Occurred()) {
goto exit;
}
}
}
if (args[3]) {
- memLevel = _PyLong_AsInt(args[3]);
+ memLevel = PyLong_AsInt(args[3]);
if (memLevel == -1 && PyErr_Occurred()) {
goto exit;
}
}
}
if (args[4]) {
- strategy = _PyLong_AsInt(args[4]);
+ strategy = PyLong_AsInt(args[4]);
if (strategy == -1 && PyErr_Occurred()) {
goto exit;
}
goto skip_optional_pos;
}
if (args[0]) {
- wbits = _PyLong_AsInt(args[0]);
+ wbits = PyLong_AsInt(args[0]);
if (wbits == -1 && PyErr_Occurred()) {
goto exit;
}
if (nargs < 1) {
goto skip_optional_posonly;
}
- mode = _PyLong_AsInt(args[0]);
+ mode = PyLong_AsInt(args[0]);
if (mode == -1 && PyErr_Occurred()) {
goto exit;
}
#ifndef ZLIB_DECOMPRESS___DEEPCOPY___METHODDEF
#define ZLIB_DECOMPRESS___DEEPCOPY___METHODDEF
#endif /* !defined(ZLIB_DECOMPRESS___DEEPCOPY___METHODDEF) */
-/*[clinic end generated code: output=57ff7b511ab23132 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=3eccb3f7265d53ba input=a9049054013a1b77]*/
goto skip_optional_pos;
}
}
- bytes_per_sep = _PyLong_AsInt(args[1]);
+ bytes_per_sep = PyLong_AsInt(args[1]);
if (bytes_per_sep == -1 && PyErr_Occurred()) {
goto exit;
}
if (nargs < 1) {
goto skip_optional;
}
- proto = _PyLong_AsInt(args[0]);
+ proto = PyLong_AsInt(args[0]);
if (proto == -1 && PyErr_Occurred()) {
goto exit;
}
{
return bytearray_sizeof_impl(self);
}
-/*[clinic end generated code: output=0817195f176cd8e3 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=cb94d7ac45f0a4b7 input=a9049054013a1b77]*/
goto skip_optional_pos;
}
}
- bytes_per_sep = _PyLong_AsInt(args[1]);
+ bytes_per_sep = PyLong_AsInt(args[1]);
if (bytes_per_sep == -1 && PyErr_Occurred()) {
goto exit;
}
exit:
return return_value;
}
-/*[clinic end generated code: output=bc4801bf1fa628f4 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=f4e85363c79c64d3 input=a9049054013a1b77]*/
if (!_PyArg_CheckPositional("code", PyTuple_GET_SIZE(args), 16, 18)) {
goto exit;
}
- argcount = _PyLong_AsInt(PyTuple_GET_ITEM(args, 0));
+ argcount = PyLong_AsInt(PyTuple_GET_ITEM(args, 0));
if (argcount == -1 && PyErr_Occurred()) {
goto exit;
}
- posonlyargcount = _PyLong_AsInt(PyTuple_GET_ITEM(args, 1));
+ posonlyargcount = PyLong_AsInt(PyTuple_GET_ITEM(args, 1));
if (posonlyargcount == -1 && PyErr_Occurred()) {
goto exit;
}
- kwonlyargcount = _PyLong_AsInt(PyTuple_GET_ITEM(args, 2));
+ kwonlyargcount = PyLong_AsInt(PyTuple_GET_ITEM(args, 2));
if (kwonlyargcount == -1 && PyErr_Occurred()) {
goto exit;
}
- nlocals = _PyLong_AsInt(PyTuple_GET_ITEM(args, 3));
+ nlocals = PyLong_AsInt(PyTuple_GET_ITEM(args, 3));
if (nlocals == -1 && PyErr_Occurred()) {
goto exit;
}
- stacksize = _PyLong_AsInt(PyTuple_GET_ITEM(args, 4));
+ stacksize = PyLong_AsInt(PyTuple_GET_ITEM(args, 4));
if (stacksize == -1 && PyErr_Occurred()) {
goto exit;
}
- flags = _PyLong_AsInt(PyTuple_GET_ITEM(args, 5));
+ flags = PyLong_AsInt(PyTuple_GET_ITEM(args, 5));
if (flags == -1 && PyErr_Occurred()) {
goto exit;
}
goto exit;
}
qualname = PyTuple_GET_ITEM(args, 12);
- firstlineno = _PyLong_AsInt(PyTuple_GET_ITEM(args, 13));
+ firstlineno = PyLong_AsInt(PyTuple_GET_ITEM(args, 13));
if (firstlineno == -1 && PyErr_Occurred()) {
goto exit;
}
goto skip_optional_kwonly;
}
if (args[0]) {
- co_argcount = _PyLong_AsInt(args[0]);
+ co_argcount = PyLong_AsInt(args[0]);
if (co_argcount == -1 && PyErr_Occurred()) {
goto exit;
}
}
}
if (args[1]) {
- co_posonlyargcount = _PyLong_AsInt(args[1]);
+ co_posonlyargcount = PyLong_AsInt(args[1]);
if (co_posonlyargcount == -1 && PyErr_Occurred()) {
goto exit;
}
}
}
if (args[2]) {
- co_kwonlyargcount = _PyLong_AsInt(args[2]);
+ co_kwonlyargcount = PyLong_AsInt(args[2]);
if (co_kwonlyargcount == -1 && PyErr_Occurred()) {
goto exit;
}
}
}
if (args[3]) {
- co_nlocals = _PyLong_AsInt(args[3]);
+ co_nlocals = PyLong_AsInt(args[3]);
if (co_nlocals == -1 && PyErr_Occurred()) {
goto exit;
}
}
}
if (args[4]) {
- co_stacksize = _PyLong_AsInt(args[4]);
+ co_stacksize = PyLong_AsInt(args[4]);
if (co_stacksize == -1 && PyErr_Occurred()) {
goto exit;
}
}
}
if (args[5]) {
- co_flags = _PyLong_AsInt(args[5]);
+ co_flags = PyLong_AsInt(args[5]);
if (co_flags == -1 && PyErr_Occurred()) {
goto exit;
}
}
}
if (args[6]) {
- co_firstlineno = _PyLong_AsInt(args[6]);
+ co_firstlineno = PyLong_AsInt(args[6]);
if (co_firstlineno == -1 && PyErr_Occurred()) {
goto exit;
}
if (!args) {
goto exit;
}
- oparg = _PyLong_AsInt(args[0]);
+ oparg = PyLong_AsInt(args[0]);
if (oparg == -1 && PyErr_Occurred()) {
goto exit;
}
exit:
return return_value;
}
-/*[clinic end generated code: output=16c95266bbc4bc03 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=0446968a1fbd13b2 input=a9049054013a1b77]*/
goto exit;
}
object = args[0];
- flags = _PyLong_AsInt(args[1]);
+ flags = PyLong_AsInt(args[1]);
if (flags == -1 && PyErr_Occurred()) {
goto exit;
}
goto skip_optional_pos;
}
}
- bytes_per_sep = _PyLong_AsInt(args[1]);
+ bytes_per_sep = PyLong_AsInt(args[1]);
if (bytes_per_sep == -1 && PyErr_Occurred()) {
goto exit;
}
exit:
return return_value;
}
-/*[clinic end generated code: output=a4f6992947bcaf25 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=28a632db32b44b63 input=a9049054013a1b77]*/
PyObject *return_value = NULL;
int protocol;
- protocol = _PyLong_AsInt(arg);
+ protocol = PyLong_AsInt(arg);
if (protocol == -1 && PyErr_Occurred()) {
goto exit;
}
{
return object___dir___impl(self);
}
-/*[clinic end generated code: output=43533e6981550e9e input=a9049054013a1b77]*/
+/*[clinic end generated code: output=baf5ec2093815a3f input=a9049054013a1b77]*/
if (!noptargs) {
goto skip_optional_pos;
}
- tabsize = _PyLong_AsInt(args[0]);
+ tabsize = PyLong_AsInt(args[0]);
if (tabsize == -1 && PyErr_Occurred()) {
goto exit;
}
exit:
return return_value;
}
-/*[clinic end generated code: output=ee76a1b49cd4cbb3 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=2e1e1b136ef1b681 input=a9049054013a1b77]*/
if (!noptargs) {
goto skip_optional_pos;
}
- tabsize = _PyLong_AsInt(args[0]);
+ tabsize = PyLong_AsInt(args[0]);
if (tabsize == -1 && PyErr_Occurred()) {
goto exit;
}
exit:
return return_value;
}
-/*[clinic end generated code: output=d44a269805f6739e input=a9049054013a1b77]*/
+/*[clinic end generated code: output=00e34c03331699fe input=a9049054013a1b77]*/
if (!_PyArg_CheckPositional("locking", nargs, 3, 3)) {
goto exit;
}
- fd = _PyLong_AsInt(args[0]);
+ fd = PyLong_AsInt(args[0]);
if (fd == -1 && PyErr_Occurred()) {
goto exit;
}
- mode = _PyLong_AsInt(args[1]);
+ mode = PyLong_AsInt(args[1]);
if (mode == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyArg_CheckPositional("setmode", nargs, 2, 2)) {
goto exit;
}
- fd = _PyLong_AsInt(args[0]);
+ fd = PyLong_AsInt(args[0]);
if (fd == -1 && PyErr_Occurred()) {
goto exit;
}
- flags = _PyLong_AsInt(args[1]);
+ flags = PyLong_AsInt(args[1]);
if (flags == -1 && PyErr_Occurred()) {
goto exit;
}
if (!handle && PyErr_Occurred()) {
goto exit;
}
- flags = _PyLong_AsInt(args[1]);
+ flags = PyLong_AsInt(args[1]);
if (flags == -1 && PyErr_Occurred()) {
goto exit;
}
int fd;
void *_return_value;
- fd = _PyLong_AsInt(arg);
+ fd = PyLong_AsInt(arg);
if (fd == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyArg_CheckPositional("CrtSetReportFile", nargs, 2, 2)) {
goto exit;
}
- type = _PyLong_AsInt(args[0]);
+ type = PyLong_AsInt(args[0]);
if (type == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyArg_CheckPositional("CrtSetReportMode", nargs, 2, 2)) {
goto exit;
}
- type = _PyLong_AsInt(args[0]);
+ type = PyLong_AsInt(args[0]);
if (type == -1 && PyErr_Occurred()) {
goto exit;
}
- mode = _PyLong_AsInt(args[1]);
+ mode = PyLong_AsInt(args[1]);
if (mode == -1 && PyErr_Occurred()) {
goto exit;
}
int mode;
long _return_value;
- mode = _PyLong_AsInt(arg);
+ mode = PyLong_AsInt(arg);
if (mode == -1 && PyErr_Occurred()) {
goto exit;
}
#ifndef MSVCRT_GETERRORMODE_METHODDEF
#define MSVCRT_GETERRORMODE_METHODDEF
#endif /* !defined(MSVCRT_GETERRORMODE_METHODDEF) */
-/*[clinic end generated code: output=9dd12bf210e362a4 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=f70de1b6d0e700cd input=a9049054013a1b77]*/
goto skip_optional_pos;
}
if (args[2]) {
- reserved = _PyLong_AsInt(args[2]);
+ reserved = PyLong_AsInt(args[2]);
if (reserved == -1 && PyErr_Occurred()) {
goto exit;
}
goto skip_optional_pos;
}
}
- access = _PyLong_AsInt(args[3]);
+ access = PyLong_AsInt(args[3]);
if (access == -1 && PyErr_Occurred()) {
goto exit;
}
goto skip_optional_pos;
}
if (args[2]) {
- access = _PyLong_AsInt(args[2]);
+ access = PyLong_AsInt(args[2]);
if (access == -1 && PyErr_Occurred()) {
goto exit;
}
goto skip_optional_pos;
}
}
- reserved = _PyLong_AsInt(args[3]);
+ reserved = PyLong_AsInt(args[3]);
if (reserved == -1 && PyErr_Occurred()) {
goto exit;
}
if (!clinic_HKEY_converter(_PyModule_GetState(module), args[0], &key)) {
goto exit;
}
- index = _PyLong_AsInt(args[1]);
+ index = PyLong_AsInt(args[1]);
if (index == -1 && PyErr_Occurred()) {
goto exit;
}
if (!clinic_HKEY_converter(_PyModule_GetState(module), args[0], &key)) {
goto exit;
}
- index = _PyLong_AsInt(args[1]);
+ index = PyLong_AsInt(args[1]);
if (index == -1 && PyErr_Occurred()) {
goto exit;
}
goto skip_optional_pos;
}
if (args[2]) {
- reserved = _PyLong_AsInt(args[2]);
+ reserved = PyLong_AsInt(args[2]);
if (reserved == -1 && PyErr_Occurred()) {
goto exit;
}
goto skip_optional_pos;
}
}
- access = _PyLong_AsInt(args[3]);
+ access = PyLong_AsInt(args[3]);
if (access == -1 && PyErr_Occurred()) {
goto exit;
}
goto skip_optional_pos;
}
if (args[2]) {
- reserved = _PyLong_AsInt(args[2]);
+ reserved = PyLong_AsInt(args[2]);
if (reserved == -1 && PyErr_Occurred()) {
goto exit;
}
goto skip_optional_pos;
}
}
- access = _PyLong_AsInt(args[3]);
+ access = PyLong_AsInt(args[3]);
if (access == -1 && PyErr_Occurred()) {
goto exit;
}
#ifndef WINREG_QUERYREFLECTIONKEY_METHODDEF
#define WINREG_QUERYREFLECTIONKEY_METHODDEF
#endif /* !defined(WINREG_QUERYREFLECTIONKEY_METHODDEF) */
-/*[clinic end generated code: output=d2bf1f58ad07e5f8 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=4d0ec3e43e1b28f4 input=a9049054013a1b77]*/
goto exit;
}
sound = args[0];
- flags = _PyLong_AsInt(args[1]);
+ flags = PyLong_AsInt(args[1]);
if (flags == -1 && PyErr_Occurred()) {
goto exit;
}
if (!args) {
goto exit;
}
- frequency = _PyLong_AsInt(args[0]);
+ frequency = PyLong_AsInt(args[0]);
if (frequency == -1 && PyErr_Occurred()) {
goto exit;
}
- duration = _PyLong_AsInt(args[1]);
+ duration = PyLong_AsInt(args[1]);
if (duration == -1 && PyErr_Occurred()) {
goto exit;
}
if (!noptargs) {
goto skip_optional_pos;
}
- type = _PyLong_AsInt(args[0]);
+ type = PyLong_AsInt(args[0]);
if (type == -1 && PyErr_Occurred()) {
goto exit;
}
exit:
return return_value;
}
-/*[clinic end generated code: output=f70b7730127208d8 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=e63a6516d7a55cb8 input=a9049054013a1b77]*/
goto exit;
}
filename = args[2];
- lineno = _PyLong_AsInt(args[3]);
+ lineno = PyLong_AsInt(args[3]);
if (lineno == -1 && PyErr_Occurred()) {
goto exit;
}
{
return warnings_filters_mutated_impl(module);
}
-/*[clinic end generated code: output=f8d67e0f75771c36 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=0e2b367a662bf51b input=a9049054013a1b77]*/
goto skip_optional_pos;
}
}
- level = _PyLong_AsInt(args[4]);
+ level = PyLong_AsInt(args[4]);
if (level == -1 && PyErr_Occurred()) {
goto exit;
}
PyObject *return_value = NULL;
int i;
- i = _PyLong_AsInt(arg);
+ i = PyLong_AsInt(arg);
if (i == -1 && PyErr_Occurred()) {
goto exit;
}
goto skip_optional_pos;
}
if (args[3]) {
- flags = _PyLong_AsInt(args[3]);
+ flags = PyLong_AsInt(args[3]);
if (flags == -1 && PyErr_Occurred()) {
goto exit;
}
}
}
if (args[5]) {
- optimize = _PyLong_AsInt(args[5]);
+ optimize = PyLong_AsInt(args[5]);
if (optimize == -1 && PyErr_Occurred()) {
goto exit;
}
if (!noptargs) {
goto skip_optional_kwonly;
}
- feature_version = _PyLong_AsInt(args[6]);
+ feature_version = PyLong_AsInt(args[6]);
if (feature_version == -1 && PyErr_Occurred()) {
goto exit;
}
exit:
return return_value;
}
-/*[clinic end generated code: output=daeee81b018824f4 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=bb2da8ccae4190e9 input=a9049054013a1b77]*/
PyObject *return_value = NULL;
int override;
- override = _PyLong_AsInt(arg);
+ override = PyLong_AsInt(arg);
if (override == -1 && PyErr_Occurred()) {
goto exit;
}
PyObject *return_value = NULL;
int override;
- override = _PyLong_AsInt(arg);
+ override = PyLong_AsInt(arg);
if (override == -1 && PyErr_Occurred()) {
goto exit;
}
#ifndef _IMP_EXEC_DYNAMIC_METHODDEF
#define _IMP_EXEC_DYNAMIC_METHODDEF
#endif /* !defined(_IMP_EXEC_DYNAMIC_METHODDEF) */
-/*[clinic end generated code: output=a95ec234672280a2 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=d97b56ef622cb28a input=a9049054013a1b77]*/
if (!_PyArg_CheckPositional("use_tool_id", nargs, 2, 2)) {
goto exit;
}
- tool_id = _PyLong_AsInt(args[0]);
+ tool_id = PyLong_AsInt(args[0]);
if (tool_id == -1 && PyErr_Occurred()) {
goto exit;
}
PyObject *return_value = NULL;
int tool_id;
- tool_id = _PyLong_AsInt(arg);
+ tool_id = PyLong_AsInt(arg);
if (tool_id == -1 && PyErr_Occurred()) {
goto exit;
}
PyObject *return_value = NULL;
int tool_id;
- tool_id = _PyLong_AsInt(arg);
+ tool_id = PyLong_AsInt(arg);
if (tool_id == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyArg_CheckPositional("register_callback", nargs, 3, 3)) {
goto exit;
}
- tool_id = _PyLong_AsInt(args[0]);
+ tool_id = PyLong_AsInt(args[0]);
if (tool_id == -1 && PyErr_Occurred()) {
goto exit;
}
- event = _PyLong_AsInt(args[1]);
+ event = PyLong_AsInt(args[1]);
if (event == -1 && PyErr_Occurred()) {
goto exit;
}
int tool_id;
int _return_value;
- tool_id = _PyLong_AsInt(arg);
+ tool_id = PyLong_AsInt(arg);
if (tool_id == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyArg_CheckPositional("set_events", nargs, 2, 2)) {
goto exit;
}
- tool_id = _PyLong_AsInt(args[0]);
+ tool_id = PyLong_AsInt(args[0]);
if (tool_id == -1 && PyErr_Occurred()) {
goto exit;
}
- event_set = _PyLong_AsInt(args[1]);
+ event_set = PyLong_AsInt(args[1]);
if (event_set == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyArg_CheckPositional("get_local_events", nargs, 2, 2)) {
goto exit;
}
- tool_id = _PyLong_AsInt(args[0]);
+ tool_id = PyLong_AsInt(args[0]);
if (tool_id == -1 && PyErr_Occurred()) {
goto exit;
}
if (!_PyArg_CheckPositional("set_local_events", nargs, 3, 3)) {
goto exit;
}
- tool_id = _PyLong_AsInt(args[0]);
+ tool_id = PyLong_AsInt(args[0]);
if (tool_id == -1 && PyErr_Occurred()) {
goto exit;
}
code = args[1];
- event_set = _PyLong_AsInt(args[2]);
+ event_set = PyLong_AsInt(args[2]);
if (event_set == -1 && PyErr_Occurred()) {
goto exit;
}
{
return monitoring__all_events_impl(module);
}
-/*[clinic end generated code: output=11cc0803875b3ffa input=a9049054013a1b77]*/
+/*[clinic end generated code: output=8baabc8341df3f0e input=a9049054013a1b77]*/
if (nargs < 3) {
goto skip_optional;
}
- version = _PyLong_AsInt(args[2]);
+ version = PyLong_AsInt(args[2]);
if (version == -1 && PyErr_Occurred()) {
goto exit;
}
if (nargs < 2) {
goto skip_optional;
}
- version = _PyLong_AsInt(args[1]);
+ version = PyLong_AsInt(args[1]);
if (version == -1 && PyErr_Occurred()) {
goto exit;
}
return return_value;
}
-/*[clinic end generated code: output=12082d61d2942473 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=0f4ecfd941293f67 input=a9049054013a1b77]*/
PyObject *return_value = NULL;
int new_limit;
- new_limit = _PyLong_AsInt(arg);
+ new_limit = PyLong_AsInt(arg);
if (new_limit == -1 && PyErr_Occurred()) {
goto exit;
}
if (!args) {
goto exit;
}
- depth = _PyLong_AsInt(args[0]);
+ depth = PyLong_AsInt(args[0]);
if (depth == -1 && PyErr_Occurred()) {
goto exit;
}
PyObject *return_value = NULL;
int new_val;
- new_val = _PyLong_AsInt(arg);
+ new_val = PyLong_AsInt(arg);
if (new_val == -1 && PyErr_Occurred()) {
goto exit;
}
PyObject *return_value = NULL;
int flag;
- flag = _PyLong_AsInt(arg);
+ flag = PyLong_AsInt(arg);
if (flag == -1 && PyErr_Occurred()) {
goto exit;
}
if (!args) {
goto exit;
}
- maxdigits = _PyLong_AsInt(args[0]);
+ maxdigits = PyLong_AsInt(args[0]);
if (maxdigits == -1 && PyErr_Occurred()) {
goto exit;
}
if (nargs < 1) {
goto skip_optional;
}
- depth = _PyLong_AsInt(args[0]);
+ depth = PyLong_AsInt(args[0]);
if (depth == -1 && PyErr_Occurred()) {
goto exit;
}
if (!noptargs) {
goto skip_optional_pos;
}
- depth = _PyLong_AsInt(args[0]);
+ depth = PyLong_AsInt(args[0]);
if (depth == -1 && PyErr_Occurred()) {
goto exit;
}
#ifndef SYS_GETANDROIDAPILEVEL_METHODDEF
#define SYS_GETANDROIDAPILEVEL_METHODDEF
#endif /* !defined(SYS_GETANDROIDAPILEVEL_METHODDEF) */
-/*[clinic end generated code: output=41937e0843c68009 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=6de02cd7d925d1de input=a9049054013a1b77]*/
goto exit;
}
tb_frame = (PyFrameObject *)fastargs[1];
- tb_lasti = _PyLong_AsInt(fastargs[2]);
+ tb_lasti = PyLong_AsInt(fastargs[2]);
if (tb_lasti == -1 && PyErr_Occurred()) {
goto exit;
}
- tb_lineno = _PyLong_AsInt(fastargs[3]);
+ tb_lineno = PyLong_AsInt(fastargs[3]);
if (tb_lineno == -1 && PyErr_Occurred()) {
goto exit;
}
exit:
return return_value;
}
-/*[clinic end generated code: output=7bc9927e362fdfb7 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=6303f910c04227a4 input=a9049054013a1b77]*/
def parse_arg(self, argname: str, displayname: str) -> str | None:
if self.format_unit == 'i':
return """
- {paramname} = _PyLong_AsInt({argname});
+ {paramname} = PyLong_AsInt({argname});
if ({paramname} == -1 && PyErr_Occurred()) {{{{
goto exit;
}}}}
def parse_arg(self, argname: str, displayname: str) -> str | None:
if self.format_unit == 'i':
return """
- {paramname} = _PyLong_AsInt({argname});
+ {paramname} = PyLong_AsInt({argname});
if ({paramname} == -1 && PyErr_Occurred()) {{{{
goto exit;
}}}}