Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.35
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
src /
Python-3.10.14 /
Modules /
Delete
Unzip
Name
Size
Permission
Date
Action
_blake2
[ DIR ]
drwxr-xr-x
2024-03-19 22:46
_ctypes
[ DIR ]
drwxr-xr-x
2024-03-19 22:46
_decimal
[ DIR ]
drwxr-xr-x
2024-03-19 22:46
_io
[ DIR ]
drwxr-xr-x
2024-03-19 22:46
_multiprocessing
[ DIR ]
drwxr-xr-x
2024-03-19 22:46
_sha3
[ DIR ]
drwxr-xr-x
2024-03-19 22:46
_sqlite
[ DIR ]
drwxr-xr-x
2024-03-19 22:46
_ssl
[ DIR ]
drwxr-xr-x
2024-03-19 22:46
_xxtestfuzz
[ DIR ]
drwxr-xr-x
2024-03-19 22:46
cjkcodecs
[ DIR ]
drwxr-xr-x
2024-03-19 22:46
clinic
[ DIR ]
drwxr-xr-x
2024-03-19 22:46
expat
[ DIR ]
drwxr-xr-x
2024-03-19 22:46
README
112
B
-rw-r--r--
2024-03-19 22:46
Setup
15.15
KB
-rw-r--r--
2024-03-19 22:46
Setup.local
41
B
-rw-r--r--
2025-06-04 09:17
_abc.c
26.09
KB
-rw-r--r--
2024-03-19 22:46
_abc.gcda
8.21
KB
-rw-r--r--
2025-06-04 09:21
_abc.o
228.27
KB
-rw-r--r--
2025-06-04 09:22
_asynciomodule.c
88.39
KB
-rw-r--r--
2024-03-19 22:46
_bisectmodule.c
8.03
KB
-rw-r--r--
2024-03-19 22:46
_bz2module.c
23.65
KB
-rw-r--r--
2024-03-19 22:46
_codecsmodule.c
32.8
KB
-rw-r--r--
2024-03-19 22:46
_codecsmodule.gcda
13.72
KB
-rw-r--r--
2025-06-04 09:21
_codecsmodule.o
374.94
KB
-rw-r--r--
2025-06-04 09:22
_collectionsmodule.c
79.83
KB
-rw-r--r--
2024-03-19 22:46
_collectionsmodule.gcda
14.42
KB
-rw-r--r--
2025-06-04 09:21
_collectionsmodule.o
325.15
KB
-rw-r--r--
2025-06-04 09:22
_contextvarsmodule.c
1.57
KB
-rw-r--r--
2024-03-19 22:46
_cryptmodule.c
1.66
KB
-rw-r--r--
2024-03-19 22:46
_csv.c
50.09
KB
-rw-r--r--
2024-03-19 22:46
_curses_panel.c
18.6
KB
-rw-r--r--
2024-03-19 22:46
_cursesmodule.c
135.6
KB
-rw-r--r--
2024-03-19 22:46
_datetimemodule.c
219.13
KB
-rw-r--r--
2024-03-19 22:46
_dbmmodule.c
14.9
KB
-rw-r--r--
2024-03-19 22:46
_elementtree.c
124.95
KB
-rw-r--r--
2024-03-19 22:46
_functoolsmodule.c
45.07
KB
-rw-r--r--
2024-03-19 22:46
_functoolsmodule.gcda
11.74
KB
-rw-r--r--
2025-06-04 09:21
_functoolsmodule.o
268.69
KB
-rw-r--r--
2025-06-04 09:22
_gdbmmodule.c
21.25
KB
-rw-r--r--
2024-03-19 22:46
_hashopenssl.c
59.7
KB
-rw-r--r--
2024-03-19 22:46
_heapqmodule.c
21.78
KB
-rw-r--r--
2024-03-19 22:46
_iomodule.gcda
6.99
KB
-rw-r--r--
2025-06-04 09:21
_iomodule.o
186.38
KB
-rw-r--r--
2025-06-04 09:22
_json.c
57.57
KB
-rw-r--r--
2024-03-19 22:46
_localemodule.c
22.29
KB
-rw-r--r--
2024-03-19 22:46
_localemodule.gcda
8.57
KB
-rw-r--r--
2025-06-04 09:21
_localemodule.o
181.06
KB
-rw-r--r--
2025-06-04 09:22
_lsprof.c
25.89
KB
-rw-r--r--
2024-03-19 22:46
_lzmamodule.c
48.65
KB
-rw-r--r--
2024-03-19 22:46
_math.c
7.33
KB
-rw-r--r--
2024-03-19 22:46
_math.gcda
2.29
KB
-rw-r--r--
2025-06-04 09:21
_math.h
1007
B
-rw-r--r--
2024-03-19 22:46
_math.o
32.3
KB
-rw-r--r--
2025-06-04 09:22
_opcode.c
2.14
KB
-rw-r--r--
2024-03-19 22:46
_operator.c
46.15
KB
-rw-r--r--
2024-03-19 22:46
_operator.gcda
13.14
KB
-rw-r--r--
2025-06-04 09:21
_operator.o
333.74
KB
-rw-r--r--
2025-06-04 09:22
_pickle.c
229.53
KB
-rw-r--r--
2024-03-19 22:46
_posixsubprocess.c
36.98
KB
-rw-r--r--
2024-03-19 22:46
_queuemodule.c
12.31
KB
-rw-r--r--
2024-03-19 22:46
_randommodule.c
17.76
KB
-rw-r--r--
2024-03-19 22:46
_scproxy.c
6.08
KB
-rw-r--r--
2024-03-19 22:46
_sre.c
79.74
KB
-rw-r--r--
2024-03-19 22:46
_sre.gcda
34.64
KB
-rw-r--r--
2025-06-04 09:21
_sre.o
975.16
KB
-rw-r--r--
2025-06-04 09:22
_ssl.c
186.63
KB
-rw-r--r--
2024-03-19 22:46
_ssl.h
2.08
KB
-rw-r--r--
2024-03-19 22:46
_ssl_data.h
203.14
KB
-rw-r--r--
2024-03-19 22:46
_ssl_data_111.h
208.74
KB
-rw-r--r--
2024-03-19 22:46
_ssl_data_300.h
275.25
KB
-rw-r--r--
2024-03-19 22:46
_stat.c
15.18
KB
-rw-r--r--
2024-03-19 22:46
_stat.gcda
5.7
KB
-rw-r--r--
2025-06-04 09:21
_stat.o
69.77
KB
-rw-r--r--
2025-06-04 09:22
_statisticsmodule.c
4.83
KB
-rw-r--r--
2024-03-19 22:46
_struct.c
68.85
KB
-rw-r--r--
2024-03-19 22:46
_testbuffer.c
82.19
KB
-rw-r--r--
2024-03-19 22:46
_testcapimodule.c
217.47
KB
-rw-r--r--
2024-03-19 22:46
_testclinic.c
22.92
KB
-rw-r--r--
2024-03-19 22:46
_testimportmultiple.c
1.1
KB
-rw-r--r--
2024-03-19 22:46
_testinternalcapi.c
10.76
KB
-rw-r--r--
2024-03-19 22:46
_testmultiphase.c
23.38
KB
-rw-r--r--
2024-03-19 22:46
_threadmodule.c
50.27
KB
-rw-r--r--
2024-03-19 22:46
_threadmodule.gcda
10.46
KB
-rw-r--r--
2025-06-04 09:21
_threadmodule.o
250.8
KB
-rw-r--r--
2025-06-04 09:22
_tkinter.c
93.36
KB
-rw-r--r--
2024-03-19 22:46
_tracemalloc.c
44.86
KB
-rw-r--r--
2024-03-19 22:46
_tracemalloc.gcda
12.51
KB
-rw-r--r--
2025-06-04 09:21
_tracemalloc.o
262.77
KB
-rw-r--r--
2025-06-04 09:22
_uuidmodule.c
3
KB
-rw-r--r--
2024-03-19 22:46
_weakref.c
4.92
KB
-rw-r--r--
2024-03-19 22:46
_weakref.gcda
4.24
KB
-rw-r--r--
2025-06-04 09:21
_weakref.o
84.91
KB
-rw-r--r--
2025-06-04 09:22
_winapi.c
66.78
KB
-rw-r--r--
2024-03-19 22:46
_xxsubinterpretersmodule.c
67.74
KB
-rw-r--r--
2024-03-19 22:46
_zoneinfo.c
73.89
KB
-rw-r--r--
2024-03-19 22:46
addrinfo.h
5.88
KB
-rw-r--r--
2024-03-19 22:46
arraymodule.c
87.46
KB
-rw-r--r--
2024-03-19 22:46
atexitmodule.c
7.29
KB
-rw-r--r--
2024-03-19 22:46
atexitmodule.gcda
4.45
KB
-rw-r--r--
2025-06-04 09:21
atexitmodule.o
97.11
KB
-rw-r--r--
2025-06-04 09:22
audioop.c
59.71
KB
-rw-r--r--
2024-03-19 22:46
binascii.c
54.76
KB
-rw-r--r--
2024-03-19 22:46
bufferedio.gcda
20.46
KB
-rw-r--r--
2025-06-04 09:21
bufferedio.o
414.2
KB
-rw-r--r--
2025-06-04 09:22
bytesio.gcda
10.84
KB
-rw-r--r--
2025-06-04 09:21
bytesio.o
220.71
KB
-rw-r--r--
2025-06-04 09:22
cmathmodule.c
42.3
KB
-rw-r--r--
2024-03-19 22:46
config.c
3.21
KB
-rw-r--r--
2025-06-04 09:17
config.c.in
1.58
KB
-rw-r--r--
2024-03-19 22:46
config.o
34.5
KB
-rw-r--r--
2025-06-04 09:22
errnomodule.c
27.08
KB
-rw-r--r--
2024-03-19 22:46
errnomodule.gcda
8.02
KB
-rw-r--r--
2025-06-04 09:21
errnomodule.o
113.31
KB
-rw-r--r--
2025-06-04 09:22
faulthandler.c
40.52
KB
-rw-r--r--
2024-03-19 22:46
faulthandler.gcda
9.1
KB
-rw-r--r--
2025-06-04 09:21
faulthandler.o
147.28
KB
-rw-r--r--
2025-06-04 09:22
fcntlmodule.c
20.49
KB
-rw-r--r--
2024-03-19 22:46
fileio.gcda
9.01
KB
-rw-r--r--
2025-06-04 09:21
fileio.o
227.98
KB
-rw-r--r--
2025-06-04 09:22
gc_weakref.txt
11.19
KB
-rw-r--r--
2024-03-19 22:46
gcmodule.c
77.27
KB
-rw-r--r--
2024-03-19 22:46
gcmodule.gcda
11.63
KB
-rw-r--r--
2025-06-04 09:21
gcmodule.o
306.44
KB
-rw-r--r--
2025-06-04 09:22
getaddrinfo.c
18.38
KB
-rw-r--r--
2024-03-19 22:46
getbuildinfo.c
1.28
KB
-rw-r--r--
2024-03-19 22:46
getbuildinfo.gcda
3.59
KB
-rw-r--r--
2025-06-04 09:21
getbuildinfo.o
33.84
KB
-rw-r--r--
2025-06-04 09:22
getnameinfo.c
6.18
KB
-rw-r--r--
2024-03-19 22:46
getpath.c
44.99
KB
-rw-r--r--
2024-03-19 22:46
getpath.gcda
8.82
KB
-rw-r--r--
2025-06-04 09:21
getpath.o
160.52
KB
-rw-r--r--
2025-06-04 09:22
grpmodule.c
8.52
KB
-rw-r--r--
2024-03-19 22:46
hashlib.h
2.09
KB
-rw-r--r--
2024-03-19 22:46
iobase.gcda
9.63
KB
-rw-r--r--
2025-06-04 09:21
iobase.o
189.36
KB
-rw-r--r--
2025-06-04 09:22
itertoolsmodule.c
153.67
KB
-rw-r--r--
2024-03-19 22:46
itertoolsmodule.gcda
27.9
KB
-rw-r--r--
2025-06-04 09:21
itertoolsmodule.o
721.27
KB
-rw-r--r--
2025-06-04 09:22
ld_so_aix
6.12
KB
-rwxr-xr-x
2025-06-04 09:17
ld_so_aix.in
6.11
KB
-rw-r--r--
2024-03-19 22:46
main.c
17.65
KB
-rw-r--r--
2024-03-19 22:46
main.gcda
7.28
KB
-rw-r--r--
2025-06-04 09:21
main.o
147.24
KB
-rw-r--r--
2025-06-04 09:22
makesetup
7.67
KB
-rwxr-xr-x
2024-03-19 22:46
makexp_aix
2.67
KB
-rwxr-xr-x
2024-03-19 22:46
mathmodule.c
106.2
KB
-rw-r--r--
2024-03-19 22:46
md5module.c
15.51
KB
-rw-r--r--
2024-03-19 22:46
mmapmodule.c
47.75
KB
-rw-r--r--
2024-03-19 22:46
nismodule.c
12.89
KB
-rw-r--r--
2024-03-19 22:46
ossaudiodev.c
37.49
KB
-rw-r--r--
2024-03-19 22:46
overlapped.c
53.65
KB
-rw-r--r--
2024-03-19 22:46
posixmodule.c
413.46
KB
-rw-r--r--
2024-03-19 22:46
posixmodule.gcda
67.8
KB
-rw-r--r--
2025-06-04 09:21
posixmodule.h
791
B
-rw-r--r--
2024-03-19 22:46
posixmodule.o
1.49
MB
-rw-r--r--
2025-06-04 09:22
pwdmodule.c
8.89
KB
-rw-r--r--
2024-03-19 22:46
pwdmodule.gcda
4.96
KB
-rw-r--r--
2025-06-04 09:21
pwdmodule.o
84.35
KB
-rw-r--r--
2025-06-04 09:22
pyexpat.c
60.39
KB
-rw-r--r--
2024-03-19 22:46
readline.c
40.06
KB
-rw-r--r--
2024-03-19 22:46
resource.c
13.77
KB
-rw-r--r--
2024-03-19 22:46
rotatingtree.c
3.39
KB
-rw-r--r--
2024-03-19 22:46
rotatingtree.h
924
B
-rw-r--r--
2024-03-19 22:46
selectmodule.c
70.06
KB
-rw-r--r--
2024-03-19 22:46
sha1module.c
14.76
KB
-rw-r--r--
2024-03-19 22:46
sha256module.c
22.5
KB
-rw-r--r--
2024-03-19 22:46
sha512module.c
27.29
KB
-rw-r--r--
2024-03-19 22:46
signalmodule.c
52.45
KB
-rw-r--r--
2024-03-19 22:46
signalmodule.gcda
11.11
KB
-rw-r--r--
2025-06-04 09:21
signalmodule.o
235.02
KB
-rw-r--r--
2025-06-04 09:22
socketmodule.c
243.34
KB
-rw-r--r--
2024-03-19 22:46
socketmodule.h
8.56
KB
-rw-r--r--
2024-03-19 22:46
spwdmodule.c
6.69
KB
-rw-r--r--
2024-03-19 22:46
sre.h
2.83
KB
-rw-r--r--
2024-03-19 22:46
sre_constants.h
2.81
KB
-rw-r--r--
2024-03-19 22:46
sre_lib.h
52.08
KB
-rw-r--r--
2024-03-19 22:46
stringio.gcda
9.64
KB
-rw-r--r--
2025-06-04 09:21
stringio.o
193.45
KB
-rw-r--r--
2025-06-04 09:22
symtablemodule.c
3.67
KB
-rw-r--r--
2024-03-19 22:46
symtablemodule.gcda
4.25
KB
-rw-r--r--
2025-06-04 09:21
symtablemodule.o
55.01
KB
-rw-r--r--
2025-06-04 09:22
syslogmodule.c
10.64
KB
-rw-r--r--
2024-03-19 22:46
termios.c
22.52
KB
-rw-r--r--
2024-03-19 22:46
testcapi_long.h
6.77
KB
-rw-r--r--
2024-03-19 22:46
textio.gcda
23.51
KB
-rw-r--r--
2025-06-04 09:21
textio.o
645.09
KB
-rw-r--r--
2025-06-04 09:22
timemodule.c
57.23
KB
-rw-r--r--
2024-03-19 22:46
timemodule.gcda
8.3
KB
-rw-r--r--
2025-06-04 09:21
timemodule.o
177.2
KB
-rw-r--r--
2025-06-04 09:22
tkappinit.c
4.71
KB
-rw-r--r--
2024-03-19 22:46
tkinter.h
881
B
-rw-r--r--
2024-03-19 22:46
unicodedata.c
44.69
KB
-rw-r--r--
2024-03-19 22:46
unicodedata_db.h
531.75
KB
-rw-r--r--
2024-03-19 22:46
unicodename_db.h
2.12
MB
-rw-r--r--
2024-03-19 22:46
winreparse.h
1.59
KB
-rw-r--r--
2024-03-19 22:46
xxlimited.c
9.23
KB
-rw-r--r--
2024-03-19 22:46
xxlimited_35.c
6.88
KB
-rw-r--r--
2024-03-19 22:46
xxmodule.c
12.56
KB
-rw-r--r--
2024-03-19 22:46
xxsubtype.c
10.78
KB
-rw-r--r--
2024-03-19 22:46
xxsubtype.gcda
4.45
KB
-rw-r--r--
2025-06-04 09:21
xxsubtype.o
54.38
KB
-rw-r--r--
2025-06-04 09:22
zlibmodule.c
46.52
KB
-rw-r--r--
2024-03-19 22:46
Save
Rename
#ifndef Py_BUILD_CORE_BUILTIN # define Py_BUILD_CORE_MODULE 1 #endif /* Always enable assertions */ #undef NDEBUG #define PY_SSIZE_T_CLEAN #include "Python.h" #include "clinic/_testclinic.c.h" /* Pack arguments to a tuple, implicitly increase all the arguments' refcount. * NULL arguments will be replaced to Py_None. */ static PyObject * pack_arguments_newref(int argc, ...) { assert(!PyErr_Occurred()); PyObject *tuple = PyTuple_New(argc); if (!tuple) { return NULL; } va_list vargs; va_start(vargs, argc); for (int i = 0; i < argc; i++) { PyObject *arg = va_arg(vargs, PyObject *); if (arg) { if (_PyObject_IsFreed(arg)) { PyErr_Format(PyExc_AssertionError, "argument %d at %p is freed or corrupted!", i, arg); va_end(vargs); Py_DECREF(tuple); return NULL; } } else { arg = Py_None; } PyTuple_SET_ITEM(tuple, i, Py_NewRef(arg)); } va_end(vargs); return tuple; } /* Pack arguments to a tuple. * `wrapper` is function which converts primitive type to PyObject. * `arg_type` is type that arguments should be converted to before wrapped. */ #define RETURN_PACKED_ARGS(argc, wrapper, arg_type, ...) do { \ assert(!PyErr_Occurred()); \ arg_type in[argc] = {__VA_ARGS__}; \ PyObject *out[argc] = {NULL,}; \ for (int _i = 0; _i < argc; _i++) { \ out[_i] = wrapper(in[_i]); \ assert(out[_i] || PyErr_Occurred()); \ if (!out[_i]) { \ for (int _j = 0; _j < _i; _j++) { \ Py_DECREF(out[_j]); \ } \ return NULL; \ } \ } \ PyObject *tuple = PyTuple_New(argc); \ if (!tuple) { \ for (int _i = 0; _i < argc; _i++) { \ Py_DECREF(out[_i]); \ } \ return NULL; \ } \ for (int _i = 0; _i < argc; _i++) { \ PyTuple_SET_ITEM(tuple, _i, out[_i]); \ } \ return tuple; \ } while (0) /*[clinic input] module _testclinic [clinic start generated code]*/ /*[clinic end generated code: output=da39a3ee5e6b4b0d input=d4981b80d6efdb12]*/ /*[clinic input] test_empty_function [clinic start generated code]*/ static PyObject * test_empty_function_impl(PyObject *module) /*[clinic end generated code: output=0f8aeb3ddced55cb input=0dd7048651ad4ae4]*/ { Py_RETURN_NONE; } /*[clinic input] objects_converter a: object b: object = NULL / [clinic start generated code]*/ static PyObject * objects_converter_impl(PyObject *module, PyObject *a, PyObject *b) /*[clinic end generated code: output=3f9c9415ec86c695 input=1533b1bd94187de4]*/ { return pack_arguments_newref(2, a, b); } /*[clinic input] bytes_object_converter a: PyBytesObject / [clinic start generated code]*/ static PyObject * bytes_object_converter_impl(PyObject *module, PyBytesObject *a) /*[clinic end generated code: output=7732da869d74b784 input=94211751e7996236]*/ { if (!PyBytes_Check(a)) { PyErr_SetString(PyExc_AssertionError, "argument a is not a PyBytesObject"); return NULL; } return pack_arguments_newref(1, a); } /*[clinic input] byte_array_object_converter a: PyByteArrayObject / [clinic start generated code]*/ static PyObject * byte_array_object_converter_impl(PyObject *module, PyByteArrayObject *a) /*[clinic end generated code: output=51f15c76f302b1f7 input=b04d253db51c6f56]*/ { if (!PyByteArray_Check(a)) { PyErr_SetString(PyExc_AssertionError, "argument a is not a PyByteArrayObject"); return NULL; } return pack_arguments_newref(1, a); } /*[clinic input] unicode_converter a: unicode / [clinic start generated code]*/ static PyObject * unicode_converter_impl(PyObject *module, PyObject *a) /*[clinic end generated code: output=1b4a4adbb6ac6e34 input=de7b5adbf07435ba]*/ { if (!PyUnicode_Check(a)) { PyErr_SetString(PyExc_AssertionError, "argument a is not a unicode object"); return NULL; } return pack_arguments_newref(1, a); } /*[clinic input] bool_converter a: bool = True b: bool(accept={object}) = True c: bool(accept={int}) = True / [clinic start generated code]*/ static PyObject * bool_converter_impl(PyObject *module, int a, int b, int c) /*[clinic end generated code: output=17005b0c29afd590 input=7f6537705b2f32f4]*/ { PyObject *obj_a = a ? Py_True : Py_False; PyObject *obj_b = b ? Py_True : Py_False; PyObject *obj_c = c ? Py_True : Py_False; return pack_arguments_newref(3, obj_a, obj_b, obj_c); } /*[clinic input] char_converter a: char = b'A' b: char = b'\a' c: char = b'\b' d: char = b'\t' e: char = b'\n' f: char = b'\v' g: char = b'\f' h: char = b'\r' i: char = b'"' j: char = b"'" k: char = b'?' l: char = b'\\' m: char = b'\000' n: char = b'\377' / [clinic start generated code]*/ static PyObject * char_converter_impl(PyObject *module, char a, char b, char c, char d, char e, char f, char g, char h, char i, char j, char k, char l, char m, char n) /*[clinic end generated code: output=f929dbd2e55a9871 input=b601bc5bc7fe85e3]*/ { RETURN_PACKED_ARGS(14, PyLong_FromUnsignedLong, unsigned char, a, b, c, d, e, f, g, h, i, j, k, l, m, n); } /*[clinic input] unsigned_char_converter a: unsigned_char = 12 b: unsigned_char(bitwise=False) = 34 c: unsigned_char(bitwise=True) = 56 / [clinic start generated code]*/ static PyObject * unsigned_char_converter_impl(PyObject *module, unsigned char a, unsigned char b, unsigned char c) /*[clinic end generated code: output=490af3b39ce0b199 input=e859502fbe0b3185]*/ { RETURN_PACKED_ARGS(3, PyLong_FromUnsignedLong, unsigned char, a, b, c); } /*[clinic input] short_converter a: short = 12 / [clinic start generated code]*/ static PyObject * short_converter_impl(PyObject *module, short a) /*[clinic end generated code: output=1ebb7ddb64248988 input=b4e2309a66f650ae]*/ { RETURN_PACKED_ARGS(1, PyLong_FromLong, long, a); } /*[clinic input] unsigned_short_converter a: unsigned_short = 12 b: unsigned_short(bitwise=False) = 34 c: unsigned_short(bitwise=True) = 56 / [clinic start generated code]*/ static PyObject * unsigned_short_converter_impl(PyObject *module, unsigned short a, unsigned short b, unsigned short c) /*[clinic end generated code: output=5f92cc72fc8707a7 input=9d15cd11e741d0c6]*/ { RETURN_PACKED_ARGS(3, PyLong_FromUnsignedLong, unsigned long, a, b, c); } /*[clinic input] int_converter a: int = 12 b: int(accept={int}) = 34 c: int(accept={str}) = 45 / [clinic start generated code]*/ static PyObject * int_converter_impl(PyObject *module, int a, int b, int c) /*[clinic end generated code: output=8e56b59be7d0c306 input=a1dbc6344853db7a]*/ { RETURN_PACKED_ARGS(3, PyLong_FromLong, long, a, b, c); } /*[clinic input] unsigned_int_converter a: unsigned_int = 12 b: unsigned_int(bitwise=False) = 34 c: unsigned_int(bitwise=True) = 56 / [clinic start generated code]*/ static PyObject * unsigned_int_converter_impl(PyObject *module, unsigned int a, unsigned int b, unsigned int c) /*[clinic end generated code: output=399a57a05c494cc7 input=8427ed9a3f96272d]*/ { RETURN_PACKED_ARGS(3, PyLong_FromUnsignedLong, unsigned long, a, b, c); } /*[clinic input] long_converter a: long = 12 / [clinic start generated code]*/ static PyObject * long_converter_impl(PyObject *module, long a) /*[clinic end generated code: output=9663d936a652707a input=84ad0ef28f24bd85]*/ { RETURN_PACKED_ARGS(1, PyLong_FromLong, long, a); } /*[clinic input] unsigned_long_converter a: unsigned_long = 12 b: unsigned_long(bitwise=False) = 34 c: unsigned_long(bitwise=True) = 56 / [clinic start generated code]*/ static PyObject * unsigned_long_converter_impl(PyObject *module, unsigned long a, unsigned long b, unsigned long c) /*[clinic end generated code: output=120b82ea9ebd93a8 input=440dd6f1817f5d91]*/ { RETURN_PACKED_ARGS(3, PyLong_FromUnsignedLong, unsigned long, a, b, c); } /*[clinic input] long_long_converter a: long_long = 12 / [clinic start generated code]*/ static PyObject * long_long_converter_impl(PyObject *module, long long a) /*[clinic end generated code: output=5fb5f2220770c3e1 input=730fcb3eecf4d993]*/ { RETURN_PACKED_ARGS(1, PyLong_FromLongLong, long long, a); } /*[clinic input] unsigned_long_long_converter a: unsigned_long_long = 12 b: unsigned_long_long(bitwise=False) = 34 c: unsigned_long_long(bitwise=True) = 56 / [clinic start generated code]*/ static PyObject * unsigned_long_long_converter_impl(PyObject *module, unsigned long long a, unsigned long long b, unsigned long long c) /*[clinic end generated code: output=65b7273e63501762 input=300737b0bdb230e9]*/ { RETURN_PACKED_ARGS(3, PyLong_FromUnsignedLongLong, unsigned long long, a, b, c); } /*[clinic input] py_ssize_t_converter a: Py_ssize_t = 12 b: Py_ssize_t(accept={int}) = 34 c: Py_ssize_t(accept={int, NoneType}) = 56 / [clinic start generated code]*/ static PyObject * py_ssize_t_converter_impl(PyObject *module, Py_ssize_t a, Py_ssize_t b, Py_ssize_t c) /*[clinic end generated code: output=ce252143e0ed0372 input=76d0f342e9317a1f]*/ { RETURN_PACKED_ARGS(3, PyLong_FromSsize_t, Py_ssize_t, a, b, c); } /*[clinic input] slice_index_converter a: slice_index = 12 b: slice_index(accept={int}) = 34 c: slice_index(accept={int, NoneType}) = 56 / [clinic start generated code]*/ static PyObject * slice_index_converter_impl(PyObject *module, Py_ssize_t a, Py_ssize_t b, Py_ssize_t c) /*[clinic end generated code: output=923c6cac77666a6b input=64f99f3f83265e47]*/ { RETURN_PACKED_ARGS(3, PyLong_FromSsize_t, Py_ssize_t, a, b, c); } /*[clinic input] size_t_converter a: size_t = 12 / [clinic start generated code]*/ static PyObject * size_t_converter_impl(PyObject *module, size_t a) /*[clinic end generated code: output=412b5b7334ab444d input=83ae7d9171fbf208]*/ { RETURN_PACKED_ARGS(1, PyLong_FromSize_t, size_t, a); } /*[clinic input] float_converter a: float = 12.5 / [clinic start generated code]*/ static PyObject * float_converter_impl(PyObject *module, float a) /*[clinic end generated code: output=1c98f64f2cf1d55c input=a625b59ad68047d8]*/ { RETURN_PACKED_ARGS(1, PyFloat_FromDouble, double, a); } /*[clinic input] double_converter a: double = 12.5 / [clinic start generated code]*/ static PyObject * double_converter_impl(PyObject *module, double a) /*[clinic end generated code: output=a4e8532d284d035d input=098df188f24e7c62]*/ { RETURN_PACKED_ARGS(1, PyFloat_FromDouble, double, a); } /*[clinic input] py_complex_converter a: Py_complex / [clinic start generated code]*/ static PyObject * py_complex_converter_impl(PyObject *module, Py_complex a) /*[clinic end generated code: output=9e6ca2eb53b14846 input=e9148a8ca1dbf195]*/ { RETURN_PACKED_ARGS(1, PyComplex_FromCComplex, Py_complex, a); } /*[clinic input] str_converter a: str = "a" b: str(accept={robuffer}) = "b" c: str(accept={robuffer, str}, zeroes=True) = "c" / [clinic start generated code]*/ static PyObject * str_converter_impl(PyObject *module, const char *a, const char *b, const char *c, Py_ssize_clean_t c_length) /*[clinic end generated code: output=203880b5c6d9fbb4 input=bff2656c92ee25de]*/ { assert(!PyErr_Occurred()); PyObject *out[3] = {NULL,}; int i = 0; PyObject *arg; arg = PyUnicode_FromString(a); assert(arg || PyErr_Occurred()); if (!arg) { goto error; } out[i++] = arg; arg = PyUnicode_FromString(b); assert(arg || PyErr_Occurred()); if (!arg) { goto error; } out[i++] = arg; arg = PyUnicode_FromStringAndSize(c, c_length); assert(arg || PyErr_Occurred()); if (!arg) { goto error; } out[i++] = arg; PyObject *tuple = PyTuple_New(3); if (!tuple) { goto error; } for (int j = 0; j < 3; j++) { PyTuple_SET_ITEM(tuple, j, out[j]); } return tuple; error: for (int j = 0; j < i; j++) { Py_DECREF(out[j]); } return NULL; } /*[clinic input] str_converter_encoding a: str(encoding="idna") b: str(encoding="idna", accept={bytes, bytearray, str}) c: str(encoding="idna", accept={bytes, bytearray, str}, zeroes=True) / [clinic start generated code]*/ static PyObject * str_converter_encoding_impl(PyObject *module, char *a, char *b, char *c, Py_ssize_clean_t c_length) /*[clinic end generated code: output=ebef1a3f9b730a24 input=0c5cf5159d0e870d]*/ { assert(!PyErr_Occurred()); PyObject *out[3] = {NULL,}; int i = 0; PyObject *arg; arg = PyUnicode_FromString(a); assert(arg || PyErr_Occurred()); if (!arg) { goto error; } out[i++] = arg; arg = PyUnicode_FromString(b); assert(arg || PyErr_Occurred()); if (!arg) { goto error; } out[i++] = arg; arg = PyUnicode_FromStringAndSize(c, c_length); assert(arg || PyErr_Occurred()); if (!arg) { goto error; } out[i++] = arg; PyObject *tuple = PyTuple_New(3); if (!tuple) { goto error; } for (int j = 0; j < 3; j++) { PyTuple_SET_ITEM(tuple, j, out[j]); } return tuple; error: for (int j = 0; j < i; j++) { Py_DECREF(out[j]); } return NULL; } static PyObject * bytes_from_buffer(Py_buffer *buf) { PyObject *bytes_obj = PyBytes_FromStringAndSize(NULL, buf->len); if (!bytes_obj) { return NULL; } void *bytes_obj_buf = ((PyBytesObject *)bytes_obj)->ob_sval; if (PyBuffer_ToContiguous(bytes_obj_buf, buf, buf->len, 'C') < 0) { Py_DECREF(bytes_obj); return NULL; } return bytes_obj; } /*[clinic input] py_buffer_converter a: Py_buffer(accept={str, buffer, NoneType}) b: Py_buffer(accept={rwbuffer}) / [clinic start generated code]*/ static PyObject * py_buffer_converter_impl(PyObject *module, Py_buffer *a, Py_buffer *b) /*[clinic end generated code: output=52fb13311e3d6d03 input=775de727de5c7421]*/ { RETURN_PACKED_ARGS(2, bytes_from_buffer, Py_buffer *, a, b); } /*[clinic input] keywords a: object b: object [clinic start generated code]*/ static PyObject * keywords_impl(PyObject *module, PyObject *a, PyObject *b) /*[clinic end generated code: output=850aaed53e26729e input=f44b89e718c1a93b]*/ { return pack_arguments_newref(2, a, b); } /*[clinic input] keywords_kwonly a: object * b: object [clinic start generated code]*/ static PyObject * keywords_kwonly_impl(PyObject *module, PyObject *a, PyObject *b) /*[clinic end generated code: output=a45c48241da584dc input=1f08e39c3312b015]*/ { return pack_arguments_newref(2, a, b); } /*[clinic input] keywords_opt a: object b: object = None c: object = None [clinic start generated code]*/ static PyObject * keywords_opt_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c) /*[clinic end generated code: output=25e4b67d91c76a66 input=b0ba0e4f04904556]*/ { return pack_arguments_newref(3, a, b, c); } /*[clinic input] keywords_opt_kwonly a: object b: object = None * c: object = None d: object = None [clinic start generated code]*/ static PyObject * keywords_opt_kwonly_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c, PyObject *d) /*[clinic end generated code: output=6aa5b655a6e9aeb0 input=f79da689d6c51076]*/ { return pack_arguments_newref(4, a, b, c, d); } /*[clinic input] keywords_kwonly_opt a: object * b: object = None c: object = None [clinic start generated code]*/ static PyObject * keywords_kwonly_opt_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c) /*[clinic end generated code: output=707f78eb0f55c2b1 input=e0fa1a0e46dca791]*/ { return pack_arguments_newref(3, a, b, c); } /*[clinic input] posonly_keywords a: object / b: object [clinic start generated code]*/ static PyObject * posonly_keywords_impl(PyObject *module, PyObject *a, PyObject *b) /*[clinic end generated code: output=6ac88f4a5f0bfc8d input=fde0a2f79fe82b06]*/ { return pack_arguments_newref(2, a, b); } /*[clinic input] posonly_kwonly a: object / * b: object [clinic start generated code]*/ static PyObject * posonly_kwonly_impl(PyObject *module, PyObject *a, PyObject *b) /*[clinic end generated code: output=483e6790d3482185 input=78b3712768da9a19]*/ { return pack_arguments_newref(2, a, b); } /*[clinic input] posonly_keywords_kwonly a: object / b: object * c: object [clinic start generated code]*/ static PyObject * posonly_keywords_kwonly_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c) /*[clinic end generated code: output=2fae573e8cc3fad8 input=a1ad5d2295eb803c]*/ { return pack_arguments_newref(3, a, b, c); } /*[clinic input] posonly_keywords_opt a: object / b: object c: object = None d: object = None [clinic start generated code]*/ static PyObject * posonly_keywords_opt_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c, PyObject *d) /*[clinic end generated code: output=f5eb66241bcf68fb input=51c10de2a120e279]*/ { return pack_arguments_newref(4, a, b, c, d); } /*[clinic input] posonly_opt_keywords_opt a: object b: object = None / c: object = None d: object = None [clinic start generated code]*/ static PyObject * posonly_opt_keywords_opt_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c, PyObject *d) /*[clinic end generated code: output=d54a30e549296ffd input=f408a1de7dfaf31f]*/ { return pack_arguments_newref(4, a, b, c, d); } /*[clinic input] posonly_kwonly_opt a: object / * b: object c: object = None d: object = None [clinic start generated code]*/ static PyObject * posonly_kwonly_opt_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c, PyObject *d) /*[clinic end generated code: output=a20503fe36b4fd62 input=3494253975272f52]*/ { return pack_arguments_newref(4, a, b, c, d); } /*[clinic input] posonly_opt_kwonly_opt a: object b: object = None / * c: object = None d: object = None [clinic start generated code]*/ static PyObject * posonly_opt_kwonly_opt_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c, PyObject *d) /*[clinic end generated code: output=64f3204a3a0413b6 input=d17516581e478412]*/ { return pack_arguments_newref(4, a, b, c, d); } /*[clinic input] posonly_keywords_kwonly_opt a: object / b: object * c: object d: object = None e: object = None [clinic start generated code]*/ static PyObject * posonly_keywords_kwonly_opt_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c, PyObject *d, PyObject *e) /*[clinic end generated code: output=dbd7e7ddd6257fa0 input=33529f29e97e5adb]*/ { return pack_arguments_newref(5, a, b, c, d, e); } /*[clinic input] posonly_keywords_opt_kwonly_opt a: object / b: object c: object = None * d: object = None e: object = None [clinic start generated code]*/ static PyObject * posonly_keywords_opt_kwonly_opt_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c, PyObject *d, PyObject *e) /*[clinic end generated code: output=775d12ae44653045 input=4d4cc62f11441301]*/ { return pack_arguments_newref(5, a, b, c, d, e); } /*[clinic input] posonly_opt_keywords_opt_kwonly_opt a: object b: object = None / c: object = None * d: object = None [clinic start generated code]*/ static PyObject * posonly_opt_keywords_opt_kwonly_opt_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c, PyObject *d) /*[clinic end generated code: output=40c6dc422591eade input=3964960a68622431]*/ { return pack_arguments_newref(4, a, b, c, d); } /*[clinic input] keyword_only_parameter * a: object [clinic start generated code]*/ static PyObject * keyword_only_parameter_impl(PyObject *module, PyObject *a) /*[clinic end generated code: output=c454b6ce98232787 input=8d2868b8d0b27bdb]*/ { return pack_arguments_newref(1, a); } /*[clinic input] gh_99240_double_free a: str(encoding="idna") b: str(encoding="idna") / Proof-of-concept of GH-99240 double-free bug. [clinic start generated code]*/ static PyObject * gh_99240_double_free_impl(PyObject *module, char *a, char *b) /*[clinic end generated code: output=586dc714992fe2ed input=23db44aa91870fc7]*/ { Py_RETURN_NONE; } static PyMethodDef tester_methods[] = { TEST_EMPTY_FUNCTION_METHODDEF OBJECTS_CONVERTER_METHODDEF BYTES_OBJECT_CONVERTER_METHODDEF BYTE_ARRAY_OBJECT_CONVERTER_METHODDEF UNICODE_CONVERTER_METHODDEF BOOL_CONVERTER_METHODDEF CHAR_CONVERTER_METHODDEF UNSIGNED_CHAR_CONVERTER_METHODDEF SHORT_CONVERTER_METHODDEF UNSIGNED_SHORT_CONVERTER_METHODDEF INT_CONVERTER_METHODDEF UNSIGNED_INT_CONVERTER_METHODDEF LONG_CONVERTER_METHODDEF UNSIGNED_LONG_CONVERTER_METHODDEF LONG_LONG_CONVERTER_METHODDEF UNSIGNED_LONG_LONG_CONVERTER_METHODDEF PY_SSIZE_T_CONVERTER_METHODDEF SLICE_INDEX_CONVERTER_METHODDEF SIZE_T_CONVERTER_METHODDEF FLOAT_CONVERTER_METHODDEF DOUBLE_CONVERTER_METHODDEF PY_COMPLEX_CONVERTER_METHODDEF STR_CONVERTER_METHODDEF STR_CONVERTER_ENCODING_METHODDEF PY_BUFFER_CONVERTER_METHODDEF KEYWORDS_METHODDEF KEYWORDS_KWONLY_METHODDEF KEYWORDS_OPT_METHODDEF KEYWORDS_OPT_KWONLY_METHODDEF KEYWORDS_KWONLY_OPT_METHODDEF POSONLY_KEYWORDS_METHODDEF POSONLY_KWONLY_METHODDEF POSONLY_KEYWORDS_KWONLY_METHODDEF POSONLY_KEYWORDS_OPT_METHODDEF POSONLY_OPT_KEYWORDS_OPT_METHODDEF POSONLY_KWONLY_OPT_METHODDEF POSONLY_OPT_KWONLY_OPT_METHODDEF POSONLY_KEYWORDS_KWONLY_OPT_METHODDEF POSONLY_KEYWORDS_OPT_KWONLY_OPT_METHODDEF POSONLY_OPT_KEYWORDS_OPT_KWONLY_OPT_METHODDEF KEYWORD_ONLY_PARAMETER_METHODDEF GH_99240_DOUBLE_FREE_METHODDEF {NULL, NULL} }; static struct PyModuleDef _testclinic_module = { PyModuleDef_HEAD_INIT, .m_name = "_testclinic", .m_size = 0, .m_methods = tester_methods, }; PyMODINIT_FUNC PyInit__testclinic(void) { return PyModule_Create(&_testclinic_module); } #undef RETURN_PACKED_ARGS