Windows NT DGPENSV2LPKMN 10.0 build 14393 (Windows Server 2016) AMD64
Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/7.3.25
: 172.16.0.66 | : 172.16.0.254
Cant Read [ /etc/named.conf ]
7.3.25
SYSTEM
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
BLACK DEFEND!
README
+ Create Folder
+ Create File
[ A ]
[ C ]
[ D ]
C: /
laragon /
bin /
python /
python-3.10 /
Lib /
test /
[ HOME SHELL ]
Name
Size
Permission
Action
__pycache__
[ DIR ]
drwxrwxrwx
audiodata
[ DIR ]
drwxrwxrwx
capath
[ DIR ]
drwxrwxrwx
cjkencodings
[ DIR ]
drwxrwxrwx
crashers
[ DIR ]
drwxrwxrwx
data
[ DIR ]
drwxrwxrwx
decimaltestdata
[ DIR ]
drwxrwxrwx
dtracedata
[ DIR ]
drwxrwxrwx
encoded_modules
[ DIR ]
drwxrwxrwx
imghdrdata
[ DIR ]
drwxrwxrwx
leakers
[ DIR ]
drwxrwxrwx
libregrtest
[ DIR ]
drwxrwxrwx
sndhdrdata
[ DIR ]
drwxrwxrwx
subprocessdata
[ DIR ]
drwxrwxrwx
support
[ DIR ]
drwxrwxrwx
test_asyncio
[ DIR ]
drwxrwxrwx
test_email
[ DIR ]
drwxrwxrwx
test_import
[ DIR ]
drwxrwxrwx
test_importlib
[ DIR ]
drwxrwxrwx
test_json
[ DIR ]
drwxrwxrwx
test_peg_generator
[ DIR ]
drwxrwxrwx
test_tools
[ DIR ]
drwxrwxrwx
test_warnings
[ DIR ]
drwxrwxrwx
test_zoneinfo
[ DIR ]
drwxrwxrwx
tracedmodules
[ DIR ]
drwxrwxrwx
xmltestdata
[ DIR ]
drwxrwxrwx
ziptestdata
[ DIR ]
drwxrwxrwx
Sine-1000Hz-300ms.aif
60.25
KB
-rw-rw-rw-
__init__.py
48
B
-rw-rw-rw-
__main__.py
43
B
-rw-rw-rw-
_test_atexit.py
3.75
KB
-rw-rw-rw-
_test_eintr.py
18.17
KB
-rw-rw-rw-
_test_embed_set_config.py
8.81
KB
-rw-rw-rw-
_test_multiprocessing.py
199.1
KB
-rw-rw-rw-
_typed_dict_helper.py
512
B
-rw-rw-rw-
allsans.pem
10.03
KB
-rw-rw-rw-
ann_module.py
1.15
KB
-rw-rw-rw-
ann_module2.py
555
B
-rw-rw-rw-
ann_module3.py
466
B
-rw-rw-rw-
ann_module4.py
86
B
-rw-rw-rw-
ann_module5.py
212
B
-rw-rw-rw-
ann_module6.py
145
B
-rw-rw-rw-
ann_module7.py
306
B
-rw-rw-rw-
audiotest.au
27.48
KB
-rw-rw-rw-
audiotests.py
12.46
KB
-rw-rw-rw-
audit-tests.py
11.09
KB
-rw-rw-rw-
autotest.py
214
B
-rw-rw-rw-
bad_coding.py
25
B
-rw-rw-rw-
bad_coding2.py
32
B
-rw-rw-rw-
bad_getattr.py
65
B
-rw-rw-rw-
bad_getattr2.py
84
B
-rw-rw-rw-
bad_getattr3.py
144
B
-rw-rw-rw-
badcert.pem
1.92
KB
-rw-rw-rw-
badkey.pem
2.15
KB
-rw-rw-rw-
badsyntax_3131.py
34
B
-rw-rw-rw-
badsyntax_future10.py
98
B
-rw-rw-rw-
badsyntax_future3.py
182
B
-rw-rw-rw-
badsyntax_future4.py
163
B
-rw-rw-rw-
badsyntax_future5.py
196
B
-rw-rw-rw-
badsyntax_future6.py
171
B
-rw-rw-rw-
badsyntax_future7.py
207
B
-rw-rw-rw-
badsyntax_future8.py
132
B
-rw-rw-rw-
badsyntax_future9.py
152
B
-rw-rw-rw-
badsyntax_pep3120.py
15
B
-rw-rw-rw-
bisect_cmd.py
5.39
KB
-rw-rw-rw-
cfgparser.1
70
B
-rw-rw-rw-
cfgparser.2
19.54
KB
-rw-rw-rw-
cfgparser.3
1.62
KB
-rw-rw-rw-
clinic.test
97.34
KB
-rw-rw-rw-
cmath_testcases.txt
143.5
KB
-rw-rw-rw-
coding20731.py
22
B
-rw-rw-rw-
curses_tests.py
1.26
KB
-rw-rw-rw-
dataclass_module_1.py
869
B
-rw-rw-rw-
dataclass_module_1_str.py
867
B
-rw-rw-rw-
dataclass_module_2.py
788
B
-rw-rw-rw-
dataclass_module_2_str.py
786
B
-rw-rw-rw-
dataclass_textanno.py
138
B
-rw-rw-rw-
datetimetester.py
251.38
KB
-rw-rw-rw-
dis_module.py
81
B
-rw-rw-rw-
doctest_aliases.py
253
B
-rw-rw-rw-
doctest_lineno.py
964
B
-rw-rw-rw-
double_const.py
1.21
KB
-rw-rw-rw-
empty.vbs
70
B
-rw-rw-rw-
exception_hierarchy.txt
1.87
KB
-rw-rw-rw-
ffdh3072.pem
2.2
KB
-rw-rw-rw-
final_a.py
430
B
-rw-rw-rw-
final_b.py
430
B
-rw-rw-rw-
floating_points.txt
16.92
KB
-rw-rw-rw-
fork_wait.py
2.31
KB
-rw-rw-rw-
formatfloat_testcases.txt
7.8
KB
-rw-rw-rw-
future_test1.py
240
B
-rw-rw-rw-
future_test2.py
159
B
-rw-rw-rw-
gdb_sample.py
165
B
-rw-rw-rw-
good_getattr.py
209
B
-rw-rw-rw-
idnsans.pem
9.88
KB
-rw-rw-rw-
ieee754.txt
3.39
KB
-rw-rw-rw-
imp_dummy.py
66
B
-rw-rw-rw-
inspect_fodder.py
1.99
KB
-rw-rw-rw-
inspect_fodder2.py
3.64
KB
-rw-rw-rw-
inspect_stock_annotations.py
537
B
-rw-rw-rw-
inspect_stringized_annotations...
646
B
-rw-rw-rw-
inspect_stringized_annotations...
63
B
-rw-rw-rw-
keycert.passwd.pem
4.19
KB
-rw-rw-rw-
keycert.pem
4.03
KB
-rw-rw-rw-
keycert2.pem
4.05
KB
-rw-rw-rw-
keycert3.pem
9.39
KB
-rw-rw-rw-
keycert4.pem
9.4
KB
-rw-rw-rw-
keycertecc.pem
5.61
KB
-rw-rw-rw-
list_tests.py
17.2
KB
-rw-rw-rw-
lock_tests.py
31.14
KB
-rw-rw-rw-
mailcap.txt
1.28
KB
-rw-rw-rw-
make_ssl_certs.py
9.55
KB
-rw-rw-rw-
mapping_tests.py
22.49
KB
-rw-rw-rw-
math_testcases.txt
23.8
KB
-rw-rw-rw-
memory_watchdog.py
887
B
-rw-rw-rw-
mime.types
48.78
KB
-rw-rw-rw-
mock_socket.py
3.86
KB
-rw-rw-rw-
mod_generics_cache.py
1.18
KB
-rw-rw-rw-
mp_fork_bomb.py
466
B
-rw-rw-rw-
mp_preload.py
369
B
-rw-rw-rw-
multibytecodec_support.py
14.56
KB
-rw-rw-rw-
nokia.pem
1.91
KB
-rw-rw-rw-
nosan.pem
7.67
KB
-rw-rw-rw-
nullbytecert.pem
5.4
KB
-rw-rw-rw-
nullcert.pem
0
B
-rw-rw-rw-
pickletester.py
142.98
KB
-rw-rw-rw-
profilee.py
3.08
KB
-rw-rw-rw-
pstats.pck
65.05
KB
-rw-rw-rw-
pycacert.pem
5.63
KB
-rw-rw-rw-
pycakey.pem
2.46
KB
-rw-rw-rw-
pyclbr_input.py
681
B
-rw-rw-rw-
pydoc_mod.py
1010
B
-rw-rw-rw-
pydocfodder.py
6.39
KB
-rw-rw-rw-
pythoninfo.py
24.41
KB
-rw-rw-rw-
randv2_32.pck
7.34
KB
-rw-rw-rw-
randv2_64.pck
7.19
KB
-rw-rw-rw-
randv3.pck
7.82
KB
-rw-rw-rw-
re_tests.py
26.48
KB
-rw-rw-rw-
recursion.tar
516
B
-rw-rw-rw-
regrtest.py
1.31
KB
-rw-rw-rw-
relimport.py
28
B
-rw-rw-rw-
reperf.py
561
B
-rw-rw-rw-
revocation.crl
814
B
-rw-rw-rw-
sample_doctest.py
1.09
KB
-rw-rw-rw-
sample_doctest_no_docstrings.p...
239
B
-rw-rw-rw-
sample_doctest_no_doctests.py
284
B
-rw-rw-rw-
secp384r1.pem
263
B
-rw-rw-rw-
selfsigned_pythontestdotnet.pe...
2.11
KB
-rw-rw-rw-
seq_tests.py
15.29
KB
-rw-rw-rw-
sgml_input.html
8.31
KB
-rw-rw-rw-
signalinterproctester.py
2.82
KB
-rw-rw-rw-
sortperf.py
4.86
KB
-rw-rw-rw-
ssl_cert.pem
1.56
KB
-rw-rw-rw-
ssl_key.passwd.pem
2.63
KB
-rw-rw-rw-
ssl_key.pem
2.47
KB
-rw-rw-rw-
ssl_servers.py
7.31
KB
-rw-rw-rw-
ssltests.py
1.06
KB
-rw-rw-rw-
string_tests.py
69.47
KB
-rw-rw-rw-
talos-2019-0758.pem
1.32
KB
-rw-rw-rw-
test___all__.py
4.66
KB
-rw-rw-rw-
test___future__.py
2.42
KB
-rw-rw-rw-
test__locale.py
8.02
KB
-rw-rw-rw-
test__opcode.py
3.11
KB
-rw-rw-rw-
test__osx_support.py
13.96
KB
-rw-rw-rw-
test__xxsubinterpreters.py
81.21
KB
-rw-rw-rw-
test_abc.py
23.85
KB
-rw-rw-rw-
test_abstract_numbers.py
1.54
KB
-rw-rw-rw-
test_aifc.py
18.2
KB
-rw-rw-rw-
test_argparse.py
185.85
KB
-rw-rw-rw-
test_array.py
56.79
KB
-rw-rw-rw-
test_asdl_parser.py
4.57
KB
-rw-rw-rw-
test_ast.py
107.34
KB
-rw-rw-rw-
test_asyncgen.py
48.43
KB
-rw-rw-rw-
test_asynchat.py
9.68
KB
-rw-rw-rw-
test_asyncore.py
26.95
KB
-rw-rw-rw-
test_atexit.py
3.25
KB
-rw-rw-rw-
test_audioop.py
28.79
KB
-rw-rw-rw-
test_audit.py
5.56
KB
-rw-rw-rw-
test_augassign.py
8
KB
-rw-rw-rw-
test_base64.py
35.28
KB
-rw-rw-rw-
test_baseexception.py
7.05
KB
-rw-rw-rw-
test_bdb.py
44.64
KB
-rw-rw-rw-
test_bigaddrspace.py
2.93
KB
-rw-rw-rw-
test_bigmem.py
46.01
KB
-rw-rw-rw-
test_binascii.py
19.72
KB
-rw-rw-rw-
test_binhex.py
2.17
KB
-rw-rw-rw-
test_binop.py
14.57
KB
-rw-rw-rw-
test_bisect.py
16.09
KB
-rw-rw-rw-
test_bool.py
12.89
KB
-rw-rw-rw-
test_buffer.py
164.64
KB
-rw-rw-rw-
test_bufio.py
2.65
KB
-rw-rw-rw-
test_builtin.py
87.93
KB
-rw-rw-rw-
test_bytes.py
78.01
KB
-rw-rw-rw-
test_bz2.py
38.22
KB
-rw-rw-rw-
test_c_locale_coercion.py
19.35
KB
-rw-rw-rw-
test_calendar.py
51.76
KB
-rw-rw-rw-
test_call.py
26.95
KB
-rw-rw-rw-
test_capi.py
41.78
KB
-rw-rw-rw-
test_cgi.py
22.89
KB
-rw-rw-rw-
test_cgitb.py
2.61
KB
-rw-rw-rw-
test_charmapcodec.py
1.83
KB
-rw-rw-rw-
test_check_c_globals.py
773
B
-rw-rw-rw-
test_class.py
18.07
KB
-rw-rw-rw-
test_clinic.py
22.35
KB
-rw-rw-rw-
test_cmath.py
24.71
KB
-rw-rw-rw-
test_cmd.py
6.34
KB
-rw-rw-rw-
test_cmd_line.py
36.79
KB
-rw-rw-rw-
test_cmd_line_script.py
33.44
KB
-rw-rw-rw-
test_code.py
13.11
KB
-rw-rw-rw-
test_code_module.py
5.69
KB
-rw-rw-rw-
test_codeccallbacks.py
48.64
KB
-rw-rw-rw-
test_codecencodings_cn.py
3.95
KB
-rw-rw-rw-
test_codecencodings_hk.py
723
B
-rw-rw-rw-
test_codecencodings_iso2022.py
1.4
KB
-rw-rw-rw-
test_codecencodings_jp.py
4.92
KB
-rw-rw-rw-
test_codecencodings_kr.py
3.02
KB
-rw-rw-rw-
test_codecencodings_tw.py
703
B
-rw-rw-rw-
test_codecmaps_cn.py
772
B
-rw-rw-rw-
test_codecmaps_hk.py
401
B
-rw-rw-rw-
test_codecmaps_jp.py
1.76
KB
-rw-rw-rw-
test_codecmaps_kr.py
1.2
KB
-rw-rw-rw-
test_codecmaps_tw.py
732
B
-rw-rw-rw-
test_codecs.py
136.49
KB
-rw-rw-rw-
test_codeop.py
8.65
KB
-rw-rw-rw-
test_collections.py
94.1
KB
-rw-rw-rw-
test_colorsys.py
3.93
KB
-rw-rw-rw-
test_compare.py
3.85
KB
-rw-rw-rw-
test_compile.py
45.9
KB
-rw-rw-rw-
test_compileall.py
47.1
KB
-rw-rw-rw-
test_complex.py
33.54
KB
-rw-rw-rw-
test_concurrent_futures.py
57.2
KB
-rw-rw-rw-
test_configparser.py
87.49
KB
-rw-rw-rw-
test_contains.py
3.46
KB
-rw-rw-rw-
test_context.py
31.7
KB
-rw-rw-rw-
test_contextlib.py
36.33
KB
-rw-rw-rw-
test_contextlib_async.py
19.36
KB
-rw-rw-rw-
test_copy.py
27.28
KB
-rw-rw-rw-
test_copyreg.py
4.52
KB
-rw-rw-rw-
test_coroutines.py
65.27
KB
-rw-rw-rw-
test_cprofile.py
6.45
KB
-rw-rw-rw-
test_crashers.py
1.21
KB
-rw-rw-rw-
test_crypt.py
4.25
KB
-rw-rw-rw-
test_csv.py
52.95
KB
-rw-rw-rw-
test_ctypes.py
209
B
-rw-rw-rw-
test_curses.py
47.87
KB
-rw-rw-rw-
test_dataclasses.py
129.65
KB
-rw-rw-rw-
test_datetime.py
2.37
KB
-rw-rw-rw-
test_dbm.py
6.3
KB
-rw-rw-rw-
test_dbm_dumb.py
10.97
KB
-rw-rw-rw-
test_dbm_gnu.py
6.68
KB
-rw-rw-rw-
test_dbm_ndbm.py
5.24
KB
-rw-rw-rw-
test_decimal.py
214.93
KB
-rw-rw-rw-
test_decorators.py
14.87
KB
-rw-rw-rw-
test_defaultdict.py
6.31
KB
-rw-rw-rw-
test_deque.py
34.67
KB
-rw-rw-rw-
test_descr.py
198.27
KB
-rw-rw-rw-
test_descrtut.py
12.03
KB
-rw-rw-rw-
test_devpoll.py
4.58
KB
-rw-rw-rw-
test_dict.py
52.3
KB
-rw-rw-rw-
test_dict_version.py
6.28
KB
-rw-rw-rw-
test_dictcomps.py
5.28
KB
-rw-rw-rw-
test_dictviews.py
13.81
KB
-rw-rw-rw-
test_difflib.py
22.02
KB
-rw-rw-rw-
test_difflib_expect.html
101.36
KB
-rw-rw-rw-
test_dis.py
57.74
KB
-rw-rw-rw-
test_distutils.py
615
B
-rw-rw-rw-
test_doctest.py
104.21
KB
-rw-rw-rw-
test_doctest.txt
317
B
-rw-rw-rw-
test_doctest2.py
2.48
KB
-rw-rw-rw-
test_doctest2.txt
406
B
-rw-rw-rw-
test_doctest3.txt
87
B
-rw-rw-rw-
test_doctest4.txt
255
B
-rw-rw-rw-
test_docxmlrpc.py
8.88
KB
-rw-rw-rw-
test_dtrace.py
5.31
KB
-rw-rw-rw-
test_dynamic.py
4.43
KB
-rw-rw-rw-
test_dynamicclassattribute.py
9.86
KB
-rw-rw-rw-
test_eintr.py
604
B
-rw-rw-rw-
test_embed.py
57.38
KB
-rw-rw-rw-
test_ensurepip.py
12.55
KB
-rw-rw-rw-
test_enum.py
124.47
KB
-rw-rw-rw-
test_enumerate.py
8.74
KB
-rw-rw-rw-
test_eof.py
3.1
KB
-rw-rw-rw-
test_epoll.py
9.39
KB
-rw-rw-rw-
test_errno.py
1.08
KB
-rw-rw-rw-
test_exception_hierarchy.py
7.63
KB
-rw-rw-rw-
test_exception_variations.py
4.03
KB
-rw-rw-rw-
test_exceptions.py
93.28
KB
-rw-rw-rw-
test_extcall.py
14.57
KB
-rw-rw-rw-
test_faulthandler.py
30.98
KB
-rw-rw-rw-
test_fcntl.py
7.64
KB
-rw-rw-rw-
test_file.py
12.12
KB
-rw-rw-rw-
test_file_eintr.py
10.86
KB
-rw-rw-rw-
test_filecmp.py
10.57
KB
-rw-rw-rw-
test_fileinput.py
40.5
KB
-rw-rw-rw-
test_fileio.py
20.53
KB
-rw-rw-rw-
test_finalization.py
15.18
KB
-rw-rw-rw-
test_float.py
67.75
KB
-rw-rw-rw-
test_flufl.py
1.59
KB
-rw-rw-rw-
test_fnmatch.py
11.38
KB
-rw-rw-rw-
test_fork1.py
3.34
KB
-rw-rw-rw-
test_format.py
24.42
KB
-rw-rw-rw-
test_fractions.py
30.41
KB
-rw-rw-rw-
test_frame.py
6.44
KB
-rw-rw-rw-
test_frozen.py
972
B
-rw-rw-rw-
test_fstring.py
53.85
KB
-rw-rw-rw-
test_ftplib.py
43.12
KB
-rw-rw-rw-
test_funcattrs.py
15.29
KB
-rw-rw-rw-
test_functools.py
105.51
KB
-rw-rw-rw-
test_future.py
15.27
KB
-rw-rw-rw-
test_future3.py
516
B
-rw-rw-rw-
test_future4.py
233
B
-rw-rw-rw-
test_future5.py
531
B
-rw-rw-rw-
test_gc.py
47.3
KB
-rw-rw-rw-
test_gdb.py
42.7
KB
-rw-rw-rw-
test_generator_stop.py
977
B
-rw-rw-rw-
test_generators.py
66.11
KB
-rw-rw-rw-
test_genericalias.py
13.1
KB
-rw-rw-rw-
test_genericclass.py
9.56
KB
-rw-rw-rw-
test_genericpath.py
22.4
KB
-rw-rw-rw-
test_genexps.py
7.92
KB
-rw-rw-rw-
test_getargs2.py
55.19
KB
-rw-rw-rw-
test_getopt.py
6.96
KB
-rw-rw-rw-
test_getpass.py
6.45
KB
-rw-rw-rw-
test_gettext.py
42.36
KB
-rw-rw-rw-
test_glob.py
15.72
KB
-rw-rw-rw-
test_global.py
1.44
KB
-rw-rw-rw-
test_grammar.py
64.47
KB
-rw-rw-rw-
test_graphlib.py
8.59
KB
-rw-rw-rw-
test_grp.py
3.65
KB
-rw-rw-rw-
test_gzip.py
31.45
KB
-rw-rw-rw-
test_hash.py
11.79
KB
-rw-rw-rw-
test_hashlib.py
45.59
KB
-rw-rw-rw-
test_heapq.py
16.91
KB
-rw-rw-rw-
test_hmac.py
26.05
KB
-rw-rw-rw-
test_html.py
4.33
KB
-rw-rw-rw-
test_htmlparser.py
33.7
KB
-rw-rw-rw-
test_http_cookiejar.py
80.28
KB
-rw-rw-rw-
test_http_cookies.py
19.18
KB
-rw-rw-rw-
test_httplib.py
81.2
KB
-rw-rw-rw-
test_httpservers.py
54.65
KB
-rw-rw-rw-
test_idle.py
1.02
KB
-rw-rw-rw-
test_imaplib.py
43.19
KB
-rw-rw-rw-
test_imghdr.py
4.83
KB
-rw-rw-rw-
test_imp.py
18.38
KB
-rw-rw-rw-
test_index.py
8.64
KB
-rw-rw-rw-
test_inspect.py
175.5
KB
-rw-rw-rw-
test_int.py
21.27
KB
-rw-rw-rw-
test_int_literal.py
7.03
KB
-rw-rw-rw-
test_interpreters.py
23.21
KB
-rw-rw-rw-
test_io.py
175.17
KB
-rw-rw-rw-
test_ioctl.py
3.33
KB
-rw-rw-rw-
test_ipaddress.py
119.32
KB
-rw-rw-rw-
test_isinstance.py
13.31
KB
-rw-rw-rw-
test_iter.py
33.93
KB
-rw-rw-rw-
test_iterlen.py
7.32
KB
-rw-rw-rw-
test_itertools.py
108.41
KB
-rw-rw-rw-
test_keyword.py
1.27
KB
-rw-rw-rw-
test_keywordonlyarg.py
7.07
KB
-rw-rw-rw-
test_kqueue.py
9.01
KB
-rw-rw-rw-
test_largefile.py
10.26
KB
-rw-rw-rw-
test_lib2to3.py
327
B
-rw-rw-rw-
test_linecache.py
9.92
KB
-rw-rw-rw-
test_list.py
7.76
KB
-rw-rw-rw-
test_listcomps.py
4.33
KB
-rw-rw-rw-
test_lltrace.py
3.22
KB
-rw-rw-rw-
test_locale.py
25.29
KB
-rw-rw-rw-
test_logging.py
200.75
KB
-rw-rw-rw-
test_long.py
55.19
KB
-rw-rw-rw-
test_longexp.py
243
B
-rw-rw-rw-
test_lzma.py
90.07
KB
-rw-rw-rw-
test_mailbox.py
94.04
KB
-rw-rw-rw-
test_mailcap.py
10.25
KB
-rw-rw-rw-
test_marshal.py
21.04
KB
-rw-rw-rw-
test_math.py
92.69
KB
-rw-rw-rw-
test_memoryio.py
32.33
KB
-rw-rw-rw-
test_memoryview.py
22.01
KB
-rw-rw-rw-
test_metaclass.py
6.47
KB
-rw-rw-rw-
test_mimetypes.py
14.17
KB
-rw-rw-rw-
test_minidom.py
69.82
KB
-rw-rw-rw-
test_mmap.py
31.71
KB
-rw-rw-rw-
test_module.py
12.71
KB
-rw-rw-rw-
test_modulefinder.py
12.63
KB
-rw-rw-rw-
test_msilib.py
5.57
KB
-rw-rw-rw-
test_multibytecodec.py
16.15
KB
-rw-rw-rw-
test_multiprocessing_fork.py
496
B
-rw-rw-rw-
test_multiprocessing_forkserve...
408
B
-rw-rw-rw-
test_multiprocessing_main_hand...
11.86
KB
-rw-rw-rw-
test_multiprocessing_spawn.py
289
B
-rw-rw-rw-
test_named_expressions.py
21.21
KB
-rw-rw-rw-
test_netrc.py
6.17
KB
-rw-rw-rw-
test_nis.py
1.21
KB
-rw-rw-rw-
test_nntplib.py
64.29
KB
-rw-rw-rw-
test_ntpath.py
39.52
KB
-rw-rw-rw-
test_numeric_tower.py
7.38
KB
-rw-rw-rw-
test_opcache.py
552
B
-rw-rw-rw-
test_opcodes.py
3.72
KB
-rw-rw-rw-
test_openpty.py
621
B
-rw-rw-rw-
test_operator.py
24.67
KB
-rw-rw-rw-
test_optparse.py
62.64
KB
-rw-rw-rw-
test_ordered_dict.py
32.49
KB
-rw-rw-rw-
test_os.py
171.84
KB
-rw-rw-rw-
test_ossaudiodev.py
7.27
KB
-rw-rw-rw-
test_osx_env.py
1.34
KB
-rw-rw-rw-
test_pathlib.py
112.53
KB
-rw-rw-rw-
test_patma.py
87.9
KB
-rw-rw-rw-
test_pdb.py
64.45
KB
-rw-rw-rw-
test_peepholer.py
20.29
KB
-rw-rw-rw-
test_pickle.py
20.25
KB
-rw-rw-rw-
test_picklebuffer.py
5.14
KB
-rw-rw-rw-
test_pickletools.py
4.23
KB
-rw-rw-rw-
test_pipes.py
6.91
KB
-rw-rw-rw-
test_pkg.py
9.88
KB
-rw-rw-rw-
test_pkgutil.py
21.79
KB
-rw-rw-rw-
test_platform.py
20.25
KB
-rw-rw-rw-
test_plistlib.py
39.71
KB
-rw-rw-rw-
test_poll.py
7.5
KB
-rw-rw-rw-
test_popen.py
2.14
KB
-rw-rw-rw-
test_poplib.py
18.07
KB
-rw-rw-rw-
test_positional_only_arg.py
18.2
KB
-rw-rw-rw-
test_posix.py
88.67
KB
-rw-rw-rw-
test_posixpath.py
32.73
KB
-rw-rw-rw-
test_pow.py
5.58
KB
-rw-rw-rw-
test_pprint.py
51.51
KB
-rw-rw-rw-
test_print.py
7.94
KB
-rw-rw-rw-
test_profile.py
8.9
KB
-rw-rw-rw-
test_property.py
11.15
KB
-rw-rw-rw-
test_pstats.py
3.4
KB
-rw-rw-rw-
test_pty.py
17.29
KB
-rw-rw-rw-
test_pulldom.py
13.01
KB
-rw-rw-rw-
test_pwd.py
4.3
KB
-rw-rw-rw-
test_py_compile.py
11.72
KB
-rw-rw-rw-
test_pyclbr.py
10.09
KB
-rw-rw-rw-
test_pydoc.py
62.14
KB
-rw-rw-rw-
test_pyexpat.py
27.41
KB
-rw-rw-rw-
test_queue.py
21.15
KB
-rw-rw-rw-
test_quopri.py
7.98
KB
-rw-rw-rw-
test_raise.py
13.94
KB
-rw-rw-rw-
test_random.py
56.48
KB
-rw-rw-rw-
test_range.py
25.32
KB
-rw-rw-rw-
test_re.py
115.07
KB
-rw-rw-rw-
test_readline.py
14.59
KB
-rw-rw-rw-
test_regrtest.py
50.82
KB
-rw-rw-rw-
test_repl.py
4.06
KB
-rw-rw-rw-
test_reprlib.py
15.53
KB
-rw-rw-rw-
test_resource.py
7.21
KB
-rw-rw-rw-
test_richcmp.py
12.26
KB
-rw-rw-rw-
test_rlcompleter.py
7.26
KB
-rw-rw-rw-
test_robotparser.py
11.26
KB
-rw-rw-rw-
test_runpy.py
34.68
KB
-rw-rw-rw-
test_sax.py
54.48
KB
-rw-rw-rw-
test_sched.py
7.04
KB
-rw-rw-rw-
test_scope.py
20.58
KB
-rw-rw-rw-
test_script_helper.py
5.9
KB
-rw-rw-rw-
test_secrets.py
4.4
KB
-rw-rw-rw-
test_select.py
3.42
KB
-rw-rw-rw-
test_selectors.py
18.83
KB
-rw-rw-rw-
test_set.py
71.11
KB
-rw-rw-rw-
test_setcomps.py
4.31
KB
-rw-rw-rw-
test_shelve.py
6.23
KB
-rw-rw-rw-
test_shlex.py
13.84
KB
-rw-rw-rw-
test_shutil.py
107.56
KB
-rw-rw-rw-
test_signal.py
49.74
KB
-rw-rw-rw-
test_site.py
26.96
KB
-rw-rw-rw-
test_slice.py
8.5
KB
-rw-rw-rw-
test_smtpd.py
41.65
KB
-rw-rw-rw-
test_smtplib.py
61.57
KB
-rw-rw-rw-
test_smtpnet.py
3.07
KB
-rw-rw-rw-
test_sndhdr.py
1.46
KB
-rw-rw-rw-
test_socket.py
252.04
KB
-rw-rw-rw-
test_socketserver.py
18.4
KB
-rw-rw-rw-
test_sort.py
13.8
KB
-rw-rw-rw-
test_source_encoding.py
8.87
KB
-rw-rw-rw-
test_spwd.py
2.8
KB
-rw-rw-rw-
test_sqlite.py
1014
B
-rw-rw-rw-
test_ssl.py
210.65
KB
-rw-rw-rw-
test_startfile.py
1.74
KB
-rw-rw-rw-
test_stat.py
8.82
KB
-rw-rw-rw-
test_statistics.py
115.88
KB
-rw-rw-rw-
test_strftime.py
7.74
KB
-rw-rw-rw-
test_string.py
20.27
KB
-rw-rw-rw-
test_string_literals.py
10.11
KB
-rw-rw-rw-
test_stringprep.py
3.13
KB
-rw-rw-rw-
test_strptime.py
35.14
KB
-rw-rw-rw-
test_strtod.py
20.48
KB
-rw-rw-rw-
test_struct.py
37.06
KB
-rw-rw-rw-
test_structmembers.py
4.95
KB
-rw-rw-rw-
test_structseq.py
4.55
KB
-rw-rw-rw-
test_subclassinit.py
8.39
KB
-rw-rw-rw-
test_subprocess.py
159.59
KB
-rw-rw-rw-
test_sunau.py
6.14
KB
-rw-rw-rw-
test_sundry.py
2.16
KB
-rw-rw-rw-
test_super.py
9.91
KB
-rw-rw-rw-
test_support.py
26.03
KB
-rw-rw-rw-
test_symtable.py
9.61
KB
-rw-rw-rw-
test_syntax.py
53.26
KB
-rw-rw-rw-
test_sys.py
59.63
KB
-rw-rw-rw-
test_sys_setprofile.py
13.63
KB
-rw-rw-rw-
test_sys_settrace.py
64.46
KB
-rw-rw-rw-
test_sysconfig.py
19.37
KB
-rw-rw-rw-
test_syslog.py
1.21
KB
-rw-rw-rw-
test_tabnanny.py
13.78
KB
-rw-rw-rw-
test_tarfile.py
109.76
KB
-rw-rw-rw-
test_tcl.py
32.33
KB
-rw-rw-rw-
test_telnetlib.py
13.14
KB
-rw-rw-rw-
test_tempfile.py
62.68
KB
-rw-rw-rw-
test_textwrap.py
42.94
KB
-rw-rw-rw-
test_thread.py
8.81
KB
-rw-rw-rw-
test_threadedtempfile.py
1.94
KB
-rw-rw-rw-
test_threading.py
61.15
KB
-rw-rw-rw-
test_threading_local.py
6.5
KB
-rw-rw-rw-
test_threadsignals.py
10.35
KB
-rw-rw-rw-
test_time.py
40.99
KB
-rw-rw-rw-
test_timeit.py
15.59
KB
-rw-rw-rw-
test_timeout.py
11.29
KB
-rw-rw-rw-
test_tix.py
1.09
KB
-rw-rw-rw-
test_tk.py
566
B
-rw-rw-rw-
test_tokenize.py
65.47
KB
-rw-rw-rw-
test_trace.py
20.52
KB
-rw-rw-rw-
test_traceback.py
55.98
KB
-rw-rw-rw-
test_tracemalloc.py
40.23
KB
-rw-rw-rw-
test_ttk_guionly.py
1
KB
-rw-rw-rw-
test_ttk_textonly.py
17.15
KB
-rw-rw-rw-
test_tuple.py
19.33
KB
-rw-rw-rw-
test_turtle.py
13.18
KB
-rw-rw-rw-
test_type_annotations.py
3.8
KB
-rw-rw-rw-
test_type_comments.py
10.94
KB
-rw-rw-rw-
test_typechecks.py
2.62
KB
-rw-rw-rw-
test_types.py
77.73
KB
-rw-rw-rw-
test_typing.py
180.27
KB
-rw-rw-rw-
test_ucn.py
9.75
KB
-rw-rw-rw-
test_unary.py
1.68
KB
-rw-rw-rw-
test_unicode.py
137.87
KB
-rw-rw-rw-
test_unicode_file.py
5.84
KB
-rw-rw-rw-
test_unicode_file_functions.py
6.92
KB
-rw-rw-rw-
test_unicode_identifiers.py
1016
B
-rw-rw-rw-
test_unicodedata.py
16.3
KB
-rw-rw-rw-
test_unittest.py
242
B
-rw-rw-rw-
test_univnewlines.py
4
KB
-rw-rw-rw-
test_unpack.py
3.16
KB
-rw-rw-rw-
test_unpack_ex.py
10.3
KB
-rw-rw-rw-
test_unparse.py
18.82
KB
-rw-rw-rw-
test_urllib.py
71.74
KB
-rw-rw-rw-
test_urllib2.py
79.4
KB
-rw-rw-rw-
test_urllib2_localnet.py
26.18
KB
-rw-rw-rw-
test_urllib2net.py
14.44
KB
-rw-rw-rw-
test_urllib_response.py
1.95
KB
-rw-rw-rw-
test_urllibnet.py
9.55
KB
-rw-rw-rw-
test_urlparse.py
65.64
KB
-rw-rw-rw-
test_userdict.py
7.78
KB
-rw-rw-rw-
test_userlist.py
2.04
KB
-rw-rw-rw-
test_userstring.py
2.47
KB
-rw-rw-rw-
test_utf8_mode.py
10.56
KB
-rw-rw-rw-
test_utf8source.py
1.19
KB
-rw-rw-rw-
test_uu.py
8.35
KB
-rw-rw-rw-
test_uuid.py
40.87
KB
-rw-rw-rw-
test_venv.py
23.15
KB
-rw-rw-rw-
test_wait3.py
1.86
KB
-rw-rw-rw-
test_wait4.py
1.2
KB
-rw-rw-rw-
test_wave.py
6.67
KB
-rw-rw-rw-
test_weakref.py
76.97
KB
-rw-rw-rw-
test_weakset.py
15.86
KB
-rw-rw-rw-
test_webbrowser.py
10.92
KB
-rw-rw-rw-
test_winconsoleio.py
6.77
KB
-rw-rw-rw-
test_winreg.py
21.77
KB
-rw-rw-rw-
test_winsound.py
4.76
KB
-rw-rw-rw-
test_with.py
26.73
KB
-rw-rw-rw-
test_wsgiref.py
31.04
KB
-rw-rw-rw-
test_xdrlib.py
2.25
KB
-rw-rw-rw-
test_xml_dom_minicompat.py
4.32
KB
-rw-rw-rw-
test_xml_etree.py
163.5
KB
-rw-rw-rw-
test_xml_etree_c.py
8.72
KB
-rw-rw-rw-
test_xmlrpc.py
58.75
KB
-rw-rw-rw-
test_xmlrpc_net.py
985
B
-rw-rw-rw-
test_xxlimited.py
2.21
KB
-rw-rw-rw-
test_xxtestfuzz.py
715
B
-rw-rw-rw-
test_yield_from.py
31.12
KB
-rw-rw-rw-
test_zipapp.py
16.32
KB
-rw-rw-rw-
test_zipfile.py
125.43
KB
-rw-rw-rw-
test_zipfile64.py
6
KB
-rw-rw-rw-
test_zipimport.py
34.41
KB
-rw-rw-rw-
test_zipimport_support.py
10.7
KB
-rw-rw-rw-
test_zlib.py
35.2
KB
-rw-rw-rw-
testcodec.py
1.07
KB
-rw-rw-rw-
testtar.tar
425
KB
-rw-rw-rw-
testtar.tar.xz
172
B
-rw-rw-rw-
tf_inherit_check.py
741
B
-rw-rw-rw-
time_hashlib.py
2.96
KB
-rw-rw-rw-
tokenize_tests-latin1-coding-c...
456
B
-rw-rw-rw-
tokenize_tests-no-coding-cooki...
313
B
-rw-rw-rw-
tokenize_tests-utf8-coding-coo...
434
B
-rw-rw-rw-
tokenize_tests-utf8-coding-coo...
338
B
-rw-rw-rw-
tokenize_tests.txt
2.84
KB
-rw-rw-rw-
win_console_handler.py
1.43
KB
-rw-rw-rw-
xmltests.py
520
B
-rw-rw-rw-
zip_cp437_header.zip
270
B
-rw-rw-rw-
zipdir.zip
374
B
-rw-rw-rw-
Delete
Unzip
Zip
${this.title}
Close
Code Editor : clinic.test
/*[clinic input] output preset block [clinic start generated code]*/ /*[clinic end generated code: output=da39a3ee5e6b4b0d input=3c81ac2402d06a8b]*/ /*[clinic input] test_object_converter a: object b: object(converter="PyUnicode_FSConverter") c: object(subclass_of="&PyUnicode_Type") d: object(type="PyUnicode_Object *") / [clinic start generated code]*/ PyDoc_STRVAR(test_object_converter__doc__, "test_object_converter($module, a, b, c, d, /)\n" "--\n" "\n"); #define TEST_OBJECT_CONVERTER_METHODDEF \ {"test_object_converter", (PyCFunction)(void(*)(void))test_object_converter, METH_FASTCALL, test_object_converter__doc__}, static PyObject * test_object_converter_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c, PyUnicode_Object *d); static PyObject * test_object_converter(PyObject *module, PyObject *const *args, Py_ssize_t nargs) { PyObject *return_value = NULL; PyObject *a; PyObject *b; PyObject *c; PyUnicode_Object *d; if (!_PyArg_CheckPositional("test_object_converter", nargs, 4, 4)) { goto exit; } a = args[0]; if (!PyUnicode_FSConverter(args[1], &b)) { goto exit; } if (!PyUnicode_Check(args[2])) { _PyArg_BadArgument("test_object_converter", "argument 3", "str", args[2]); goto exit; } c = args[2]; d = (PyUnicode_Object *)args[3]; return_value = test_object_converter_impl(module, a, b, c, d); exit: return return_value; } static PyObject * test_object_converter_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c, PyUnicode_Object *d) /*[clinic end generated code: output=a78312d933df9ea1 input=005e6a8a711a869b]*/ /*[clinic input] test_object_converter_one_arg a: object / [clinic start generated code]*/ PyDoc_STRVAR(test_object_converter_one_arg__doc__, "test_object_converter_one_arg($module, a, /)\n" "--\n" "\n"); #define TEST_OBJECT_CONVERTER_ONE_ARG_METHODDEF \ {"test_object_converter_one_arg", (PyCFunction)test_object_converter_one_arg, METH_O, test_object_converter_one_arg__doc__}, static PyObject * test_object_converter_one_arg(PyObject *module, PyObject *a) /*[clinic end generated code: output=6da755f8502139df input=d635d92a421f1ca3]*/ /*[clinic input] test_objects_converter a: object b: object = NULL / [clinic start generated code]*/ PyDoc_STRVAR(test_objects_converter__doc__, "test_objects_converter($module, a, b=<unrepresentable>, /)\n" "--\n" "\n"); #define TEST_OBJECTS_CONVERTER_METHODDEF \ {"test_objects_converter", (PyCFunction)(void(*)(void))test_objects_converter, METH_FASTCALL, test_objects_converter__doc__}, static PyObject * test_objects_converter_impl(PyObject *module, PyObject *a, PyObject *b); static PyObject * test_objects_converter(PyObject *module, PyObject *const *args, Py_ssize_t nargs) { PyObject *return_value = NULL; PyObject *a; PyObject *b = NULL; if (!_PyArg_CheckPositional("test_objects_converter", nargs, 1, 2)) { goto exit; } a = args[0]; if (nargs < 2) { goto skip_optional; } b = args[1]; skip_optional: return_value = test_objects_converter_impl(module, a, b); exit: return return_value; } static PyObject * test_objects_converter_impl(PyObject *module, PyObject *a, PyObject *b) /*[clinic end generated code: output=0e461f38d3b2bd08 input=4cbb3d9edd2a36f3]*/ /*[clinic input] test_object_converter_subclass_of a: object(subclass_of="&PyLong_Type") b: object(subclass_of="&PyTuple_Type") c: object(subclass_of="&PyList_Type") d: object(subclass_of="&PySet_Type") e: object(subclass_of="&PyFrozenSet_Type") f: object(subclass_of="&PyDict_Type") g: object(subclass_of="&PyUnicode_Type") h: object(subclass_of="&PyBytes_Type") i: object(subclass_of="&PyByteArray_Type") j: object(subclass_of="&MyType") / [clinic start generated code]*/ PyDoc_STRVAR(test_object_converter_subclass_of__doc__, "test_object_converter_subclass_of($module, a, b, c, d, e, f, g, h, i,\n" " j, /)\n" "--\n" "\n"); #define TEST_OBJECT_CONVERTER_SUBCLASS_OF_METHODDEF \ {"test_object_converter_subclass_of", (PyCFunction)(void(*)(void))test_object_converter_subclass_of, METH_FASTCALL, test_object_converter_subclass_of__doc__}, static PyObject * test_object_converter_subclass_of_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c, PyObject *d, PyObject *e, PyObject *f, PyObject *g, PyObject *h, PyObject *i, PyObject *j); static PyObject * test_object_converter_subclass_of(PyObject *module, PyObject *const *args, Py_ssize_t nargs) { PyObject *return_value = NULL; PyObject *a; PyObject *b; PyObject *c; PyObject *d; PyObject *e; PyObject *f; PyObject *g; PyObject *h; PyObject *i; PyObject *j; if (!_PyArg_CheckPositional("test_object_converter_subclass_of", nargs, 10, 10)) { goto exit; } if (!PyLong_Check(args[0])) { _PyArg_BadArgument("test_object_converter_subclass_of", "argument 1", "int", args[0]); goto exit; } a = args[0]; if (!PyTuple_Check(args[1])) { _PyArg_BadArgument("test_object_converter_subclass_of", "argument 2", "tuple", args[1]); goto exit; } b = args[1]; if (!PyList_Check(args[2])) { _PyArg_BadArgument("test_object_converter_subclass_of", "argument 3", "list", args[2]); goto exit; } c = args[2]; if (!PySet_Check(args[3])) { _PyArg_BadArgument("test_object_converter_subclass_of", "argument 4", "set", args[3]); goto exit; } d = args[3]; if (!PyFrozenSet_Check(args[4])) { _PyArg_BadArgument("test_object_converter_subclass_of", "argument 5", "frozenset", args[4]); goto exit; } e = args[4]; if (!PyDict_Check(args[5])) { _PyArg_BadArgument("test_object_converter_subclass_of", "argument 6", "dict", args[5]); goto exit; } f = args[5]; if (!PyUnicode_Check(args[6])) { _PyArg_BadArgument("test_object_converter_subclass_of", "argument 7", "str", args[6]); goto exit; } g = args[6]; if (!PyBytes_Check(args[7])) { _PyArg_BadArgument("test_object_converter_subclass_of", "argument 8", "bytes", args[7]); goto exit; } h = args[7]; if (!PyByteArray_Check(args[8])) { _PyArg_BadArgument("test_object_converter_subclass_of", "argument 9", "bytearray", args[8]); goto exit; } i = args[8]; if (!PyObject_TypeCheck(args[9], &MyType)) { _PyArg_BadArgument("test_object_converter_subclass_of", "argument 10", (&MyType)->tp_name, args[9]); goto exit; } j = args[9]; return_value = test_object_converter_subclass_of_impl(module, a, b, c, d, e, f, g, h, i, j); exit: return return_value; } static PyObject * test_object_converter_subclass_of_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c, PyObject *d, PyObject *e, PyObject *f, PyObject *g, PyObject *h, PyObject *i, PyObject *j) /*[clinic end generated code: output=dcf7772bf0c876dd input=31b06b772d5f983e]*/ /*[clinic input] test_PyBytesObject_converter a: PyBytesObject / [clinic start generated code]*/ PyDoc_STRVAR(test_PyBytesObject_converter__doc__, "test_PyBytesObject_converter($module, a, /)\n" "--\n" "\n"); #define TEST_PYBYTESOBJECT_CONVERTER_METHODDEF \ {"test_PyBytesObject_converter", (PyCFunction)test_PyBytesObject_converter, METH_O, test_PyBytesObject_converter__doc__}, static PyObject * test_PyBytesObject_converter_impl(PyObject *module, PyBytesObject *a); static PyObject * test_PyBytesObject_converter(PyObject *module, PyObject *arg) { PyObject *return_value = NULL; PyBytesObject *a; if (!PyBytes_Check(arg)) { _PyArg_BadArgument("test_PyBytesObject_converter", "argument", "bytes", arg); goto exit; } a = (PyBytesObject *)arg; return_value = test_PyBytesObject_converter_impl(module, a); exit: return return_value; } static PyObject * test_PyBytesObject_converter_impl(PyObject *module, PyBytesObject *a) /*[clinic end generated code: output=7539d628e6fceace input=12b10c7cb5750400]*/ /*[clinic input] test_PyByteArrayObject_converter a: PyByteArrayObject / [clinic start generated code]*/ PyDoc_STRVAR(test_PyByteArrayObject_converter__doc__, "test_PyByteArrayObject_converter($module, a, /)\n" "--\n" "\n"); #define TEST_PYBYTEARRAYOBJECT_CONVERTER_METHODDEF \ {"test_PyByteArrayObject_converter", (PyCFunction)test_PyByteArrayObject_converter, METH_O, test_PyByteArrayObject_converter__doc__}, static PyObject * test_PyByteArrayObject_converter_impl(PyObject *module, PyByteArrayObject *a); static PyObject * test_PyByteArrayObject_converter(PyObject *module, PyObject *arg) { PyObject *return_value = NULL; PyByteArrayObject *a; if (!PyByteArray_Check(arg)) { _PyArg_BadArgument("test_PyByteArrayObject_converter", "argument", "bytearray", arg); goto exit; } a = (PyByteArrayObject *)arg; return_value = test_PyByteArrayObject_converter_impl(module, a); exit: return return_value; } static PyObject * test_PyByteArrayObject_converter_impl(PyObject *module, PyByteArrayObject *a) /*[clinic end generated code: output=1245af9f5b3e355e input=5a657da535d194ae]*/ /*[clinic input] test_unicode_converter a: unicode / [clinic start generated code]*/ PyDoc_STRVAR(test_unicode_converter__doc__, "test_unicode_converter($module, a, /)\n" "--\n" "\n"); #define TEST_UNICODE_CONVERTER_METHODDEF \ {"test_unicode_converter", (PyCFunction)test_unicode_converter, METH_O, test_unicode_converter__doc__}, static PyObject * test_unicode_converter_impl(PyObject *module, PyObject *a); static PyObject * test_unicode_converter(PyObject *module, PyObject *arg) { PyObject *return_value = NULL; PyObject *a; if (!PyUnicode_Check(arg)) { _PyArg_BadArgument("test_unicode_converter", "argument", "str", arg); goto exit; } if (PyUnicode_READY(arg) == -1) { goto exit; } a = arg; return_value = test_unicode_converter_impl(module, a); exit: return return_value; } static PyObject * test_unicode_converter_impl(PyObject *module, PyObject *a) /*[clinic end generated code: output=18f1e3880c862611 input=aa33612df92aa9c5]*/ /*[clinic input] test_bool_converter a: bool = True b: bool(accept={object}) = True c: bool(accept={int}) = True / [clinic start generated code]*/ PyDoc_STRVAR(test_bool_converter__doc__, "test_bool_converter($module, a=True, b=True, c=True, /)\n" "--\n" "\n"); #define TEST_BOOL_CONVERTER_METHODDEF \ {"test_bool_converter", (PyCFunction)(void(*)(void))test_bool_converter, METH_FASTCALL, test_bool_converter__doc__}, static PyObject * test_bool_converter_impl(PyObject *module, int a, int b, int c); static PyObject * test_bool_converter(PyObject *module, PyObject *const *args, Py_ssize_t nargs) { PyObject *return_value = NULL; int a = 1; int b = 1; int c = 1; if (!_PyArg_CheckPositional("test_bool_converter", nargs, 0, 3)) { goto exit; } if (nargs < 1) { goto skip_optional; } a = PyObject_IsTrue(args[0]); if (a < 0) { goto exit; } if (nargs < 2) { goto skip_optional; } b = PyObject_IsTrue(args[1]); if (b < 0) { goto exit; } if (nargs < 3) { goto skip_optional; } c = _PyLong_AsInt(args[2]); if (c == -1 && PyErr_Occurred()) { goto exit; } skip_optional: return_value = test_bool_converter_impl(module, a, b, c); exit: return return_value; } static PyObject * test_bool_converter_impl(PyObject *module, int a, int b, int c) /*[clinic end generated code: output=b5ec6409d942e0f9 input=939854fa9f248c60]*/ /*[clinic input] test_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]*/ PyDoc_STRVAR(test_char_converter__doc__, "test_char_converter($module, a=b\'A\', b=b\'\\x07\', c=b\'\\x08\', d=b\'\\t\',\n" " e=b\'\\n\', f=b\'\\x0b\', g=b\'\\x0c\', h=b\'\\r\', i=b\'\"\',\n" " j=b\"\'\", k=b\'?\', l=b\'\\\\\', m=b\'\\x00\', n=b\'\\xff\', /)\n" "--\n" "\n"); #define TEST_CHAR_CONVERTER_METHODDEF \ {"test_char_converter", (PyCFunction)(void(*)(void))test_char_converter, METH_FASTCALL, test_char_converter__doc__}, static PyObject * test_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); static PyObject * test_char_converter(PyObject *module, PyObject *const *args, Py_ssize_t nargs) { PyObject *return_value = NULL; char a = 'A'; char b = '\x07'; char c = '\x08'; char d = '\t'; char e = '\n'; char f = '\x0b'; char g = '\x0c'; char h = '\r'; char i = '"'; char j = '\''; char k = '?'; char l = '\\'; char m = '\x00'; char n = '\xff'; if (!_PyArg_CheckPositional("test_char_converter", nargs, 0, 14)) { goto exit; } if (nargs < 1) { goto skip_optional; } if (PyBytes_Check(args[0]) && PyBytes_GET_SIZE(args[0]) == 1) { a = PyBytes_AS_STRING(args[0])[0]; } else if (PyByteArray_Check(args[0]) && PyByteArray_GET_SIZE(args[0]) == 1) { a = PyByteArray_AS_STRING(args[0])[0]; } else { _PyArg_BadArgument("test_char_converter", "argument 1", "a byte string of length 1", args[0]); goto exit; } if (nargs < 2) { goto skip_optional; } if (PyBytes_Check(args[1]) && PyBytes_GET_SIZE(args[1]) == 1) { b = PyBytes_AS_STRING(args[1])[0]; } else if (PyByteArray_Check(args[1]) && PyByteArray_GET_SIZE(args[1]) == 1) { b = PyByteArray_AS_STRING(args[1])[0]; } else { _PyArg_BadArgument("test_char_converter", "argument 2", "a byte string of length 1", args[1]); goto exit; } if (nargs < 3) { goto skip_optional; } if (PyBytes_Check(args[2]) && PyBytes_GET_SIZE(args[2]) == 1) { c = PyBytes_AS_STRING(args[2])[0]; } else if (PyByteArray_Check(args[2]) && PyByteArray_GET_SIZE(args[2]) == 1) { c = PyByteArray_AS_STRING(args[2])[0]; } else { _PyArg_BadArgument("test_char_converter", "argument 3", "a byte string of length 1", args[2]); goto exit; } if (nargs < 4) { goto skip_optional; } if (PyBytes_Check(args[3]) && PyBytes_GET_SIZE(args[3]) == 1) { d = PyBytes_AS_STRING(args[3])[0]; } else if (PyByteArray_Check(args[3]) && PyByteArray_GET_SIZE(args[3]) == 1) { d = PyByteArray_AS_STRING(args[3])[0]; } else { _PyArg_BadArgument("test_char_converter", "argument 4", "a byte string of length 1", args[3]); goto exit; } if (nargs < 5) { goto skip_optional; } if (PyBytes_Check(args[4]) && PyBytes_GET_SIZE(args[4]) == 1) { e = PyBytes_AS_STRING(args[4])[0]; } else if (PyByteArray_Check(args[4]) && PyByteArray_GET_SIZE(args[4]) == 1) { e = PyByteArray_AS_STRING(args[4])[0]; } else { _PyArg_BadArgument("test_char_converter", "argument 5", "a byte string of length 1", args[4]); goto exit; } if (nargs < 6) { goto skip_optional; } if (PyBytes_Check(args[5]) && PyBytes_GET_SIZE(args[5]) == 1) { f = PyBytes_AS_STRING(args[5])[0]; } else if (PyByteArray_Check(args[5]) && PyByteArray_GET_SIZE(args[5]) == 1) { f = PyByteArray_AS_STRING(args[5])[0]; } else { _PyArg_BadArgument("test_char_converter", "argument 6", "a byte string of length 1", args[5]); goto exit; } if (nargs < 7) { goto skip_optional; } if (PyBytes_Check(args[6]) && PyBytes_GET_SIZE(args[6]) == 1) { g = PyBytes_AS_STRING(args[6])[0]; } else if (PyByteArray_Check(args[6]) && PyByteArray_GET_SIZE(args[6]) == 1) { g = PyByteArray_AS_STRING(args[6])[0]; } else { _PyArg_BadArgument("test_char_converter", "argument 7", "a byte string of length 1", args[6]); goto exit; } if (nargs < 8) { goto skip_optional; } if (PyBytes_Check(args[7]) && PyBytes_GET_SIZE(args[7]) == 1) { h = PyBytes_AS_STRING(args[7])[0]; } else if (PyByteArray_Check(args[7]) && PyByteArray_GET_SIZE(args[7]) == 1) { h = PyByteArray_AS_STRING(args[7])[0]; } else { _PyArg_BadArgument("test_char_converter", "argument 8", "a byte string of length 1", args[7]); goto exit; } if (nargs < 9) { goto skip_optional; } if (PyBytes_Check(args[8]) && PyBytes_GET_SIZE(args[8]) == 1) { i = PyBytes_AS_STRING(args[8])[0]; } else if (PyByteArray_Check(args[8]) && PyByteArray_GET_SIZE(args[8]) == 1) { i = PyByteArray_AS_STRING(args[8])[0]; } else { _PyArg_BadArgument("test_char_converter", "argument 9", "a byte string of length 1", args[8]); goto exit; } if (nargs < 10) { goto skip_optional; } if (PyBytes_Check(args[9]) && PyBytes_GET_SIZE(args[9]) == 1) { j = PyBytes_AS_STRING(args[9])[0]; } else if (PyByteArray_Check(args[9]) && PyByteArray_GET_SIZE(args[9]) == 1) { j = PyByteArray_AS_STRING(args[9])[0]; } else { _PyArg_BadArgument("test_char_converter", "argument 10", "a byte string of length 1", args[9]); goto exit; } if (nargs < 11) { goto skip_optional; } if (PyBytes_Check(args[10]) && PyBytes_GET_SIZE(args[10]) == 1) { k = PyBytes_AS_STRING(args[10])[0]; } else if (PyByteArray_Check(args[10]) && PyByteArray_GET_SIZE(args[10]) == 1) { k = PyByteArray_AS_STRING(args[10])[0]; } else { _PyArg_BadArgument("test_char_converter", "argument 11", "a byte string of length 1", args[10]); goto exit; } if (nargs < 12) { goto skip_optional; } if (PyBytes_Check(args[11]) && PyBytes_GET_SIZE(args[11]) == 1) { l = PyBytes_AS_STRING(args[11])[0]; } else if (PyByteArray_Check(args[11]) && PyByteArray_GET_SIZE(args[11]) == 1) { l = PyByteArray_AS_STRING(args[11])[0]; } else { _PyArg_BadArgument("test_char_converter", "argument 12", "a byte string of length 1", args[11]); goto exit; } if (nargs < 13) { goto skip_optional; } if (PyBytes_Check(args[12]) && PyBytes_GET_SIZE(args[12]) == 1) { m = PyBytes_AS_STRING(args[12])[0]; } else if (PyByteArray_Check(args[12]) && PyByteArray_GET_SIZE(args[12]) == 1) { m = PyByteArray_AS_STRING(args[12])[0]; } else { _PyArg_BadArgument("test_char_converter", "argument 13", "a byte string of length 1", args[12]); goto exit; } if (nargs < 14) { goto skip_optional; } if (PyBytes_Check(args[13]) && PyBytes_GET_SIZE(args[13]) == 1) { n = PyBytes_AS_STRING(args[13])[0]; } else if (PyByteArray_Check(args[13]) && PyByteArray_GET_SIZE(args[13]) == 1) { n = PyByteArray_AS_STRING(args[13])[0]; } else { _PyArg_BadArgument("test_char_converter", "argument 14", "a byte string of length 1", args[13]); goto exit; } skip_optional: return_value = test_char_converter_impl(module, a, b, c, d, e, f, g, h, i, j, k, l, m, n); exit: return return_value; } static PyObject * test_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=9d3aaf5d6857ec9e input=e42330417a44feac]*/ /*[clinic input] test_unsigned_char_converter a: unsigned_char = 12 b: unsigned_char(bitwise=False) = 34 c: unsigned_char(bitwise=True) = 56 / [clinic start generated code]*/ PyDoc_STRVAR(test_unsigned_char_converter__doc__, "test_unsigned_char_converter($module, a=12, b=34, c=56, /)\n" "--\n" "\n"); #define TEST_UNSIGNED_CHAR_CONVERTER_METHODDEF \ {"test_unsigned_char_converter", (PyCFunction)(void(*)(void))test_unsigned_char_converter, METH_FASTCALL, test_unsigned_char_converter__doc__}, static PyObject * test_unsigned_char_converter_impl(PyObject *module, unsigned char a, unsigned char b, unsigned char c); static PyObject * test_unsigned_char_converter(PyObject *module, PyObject *const *args, Py_ssize_t nargs) { PyObject *return_value = NULL; unsigned char a = 12; unsigned char b = 34; unsigned char c = 56; if (!_PyArg_CheckPositional("test_unsigned_char_converter", nargs, 0, 3)) { goto exit; } if (nargs < 1) { goto skip_optional; } { long ival = PyLong_AsLong(args[0]); if (ival == -1 && PyErr_Occurred()) { goto exit; } else if (ival < 0) { PyErr_SetString(PyExc_OverflowError, "unsigned byte integer is less than minimum"); goto exit; } else if (ival > UCHAR_MAX) { PyErr_SetString(PyExc_OverflowError, "unsigned byte integer is greater than maximum"); goto exit; } else { a = (unsigned char) ival; } } if (nargs < 2) { goto skip_optional; } { long ival = PyLong_AsLong(args[1]); if (ival == -1 && PyErr_Occurred()) { goto exit; } else if (ival < 0) { PyErr_SetString(PyExc_OverflowError, "unsigned byte integer is less than minimum"); goto exit; } else if (ival > UCHAR_MAX) { PyErr_SetString(PyExc_OverflowError, "unsigned byte integer is greater than maximum"); goto exit; } else { b = (unsigned char) ival; } } if (nargs < 3) { goto skip_optional; } { unsigned long ival = PyLong_AsUnsignedLongMask(args[2]); if (ival == (unsigned long)-1 && PyErr_Occurred()) { goto exit; } else { c = (unsigned char) ival; } } skip_optional: return_value = test_unsigned_char_converter_impl(module, a, b, c); exit: return return_value; } static PyObject * test_unsigned_char_converter_impl(PyObject *module, unsigned char a, unsigned char b, unsigned char c) /*[clinic end generated code: output=c0a6ab3144481466 input=021414060993e289]*/ /*[clinic input] test_short_converter a: short = 12 / [clinic start generated code]*/ PyDoc_STRVAR(test_short_converter__doc__, "test_short_converter($module, a=12, /)\n" "--\n" "\n"); #define TEST_SHORT_CONVERTER_METHODDEF \ {"test_short_converter", (PyCFunction)(void(*)(void))test_short_converter, METH_FASTCALL, test_short_converter__doc__}, static PyObject * test_short_converter_impl(PyObject *module, short a); static PyObject * test_short_converter(PyObject *module, PyObject *const *args, Py_ssize_t nargs) { PyObject *return_value = NULL; short a = 12; if (!_PyArg_CheckPositional("test_short_converter", nargs, 0, 1)) { goto exit; } if (nargs < 1) { goto skip_optional; } { long ival = PyLong_AsLong(args[0]); if (ival == -1 && PyErr_Occurred()) { goto exit; } else if (ival < SHRT_MIN) { PyErr_SetString(PyExc_OverflowError, "signed short integer is less than minimum"); goto exit; } else if (ival > SHRT_MAX) { PyErr_SetString(PyExc_OverflowError, "signed short integer is greater than maximum"); goto exit; } else { a = (short) ival; } } skip_optional: return_value = test_short_converter_impl(module, a); exit: return return_value; } static PyObject * test_short_converter_impl(PyObject *module, short a) /*[clinic end generated code: output=3ccda4bd08b6e4b4 input=6a8a7a509a498ff4]*/ /*[clinic input] test_unsigned_short_converter a: unsigned_short = 12 b: unsigned_short(bitwise=False) = 34 c: unsigned_short(bitwise=True) = 56 / [clinic start generated code]*/ PyDoc_STRVAR(test_unsigned_short_converter__doc__, "test_unsigned_short_converter($module, a=12, b=34, c=56, /)\n" "--\n" "\n"); #define TEST_UNSIGNED_SHORT_CONVERTER_METHODDEF \ {"test_unsigned_short_converter", (PyCFunction)(void(*)(void))test_unsigned_short_converter, METH_FASTCALL, test_unsigned_short_converter__doc__}, static PyObject * test_unsigned_short_converter_impl(PyObject *module, unsigned short a, unsigned short b, unsigned short c); static PyObject * test_unsigned_short_converter(PyObject *module, PyObject *const *args, Py_ssize_t nargs) { PyObject *return_value = NULL; unsigned short a = 12; unsigned short b = 34; unsigned short c = 56; if (!_PyArg_CheckPositional("test_unsigned_short_converter", nargs, 0, 3)) { goto exit; } if (nargs < 1) { goto skip_optional; } if (!_PyLong_UnsignedShort_Converter(args[0], &a)) { goto exit; } if (nargs < 2) { goto skip_optional; } if (!_PyLong_UnsignedShort_Converter(args[1], &b)) { goto exit; } if (nargs < 3) { goto skip_optional; } c = (unsigned short)PyLong_AsUnsignedLongMask(args[2]); if (c == (unsigned short)-1 && PyErr_Occurred()) { goto exit; } skip_optional: return_value = test_unsigned_short_converter_impl(module, a, b, c); exit: return return_value; } static PyObject * test_unsigned_short_converter_impl(PyObject *module, unsigned short a, unsigned short b, unsigned short c) /*[clinic end generated code: output=576b5ce48424f351 input=cdfd8eff3d9176b4]*/ /*[clinic input] test_int_converter a: int = 12 b: int(accept={int}) = 34 c: int(accept={str}) = 45 d: int(type='myenum') = 67 / [clinic start generated code]*/ PyDoc_STRVAR(test_int_converter__doc__, "test_int_converter($module, a=12, b=34, c=45, d=67, /)\n" "--\n" "\n"); #define TEST_INT_CONVERTER_METHODDEF \ {"test_int_converter", (PyCFunction)(void(*)(void))test_int_converter, METH_FASTCALL, test_int_converter__doc__}, static PyObject * test_int_converter_impl(PyObject *module, int a, int b, int c, myenum d); static PyObject * test_int_converter(PyObject *module, PyObject *const *args, Py_ssize_t nargs) { PyObject *return_value = NULL; int a = 12; int b = 34; int c = 45; myenum d = 67; if (!_PyArg_CheckPositional("test_int_converter", nargs, 0, 4)) { goto exit; } if (nargs < 1) { goto skip_optional; } a = _PyLong_AsInt(args[0]); if (a == -1 && PyErr_Occurred()) { goto exit; } if (nargs < 2) { goto skip_optional; } b = _PyLong_AsInt(args[1]); if (b == -1 && PyErr_Occurred()) { goto exit; } if (nargs < 3) { goto skip_optional; } if (!PyUnicode_Check(args[2])) { _PyArg_BadArgument("test_int_converter", "argument 3", "a unicode character", args[2]); goto exit; } if (PyUnicode_READY(args[2])) { goto exit; } if (PyUnicode_GET_LENGTH(args[2]) != 1) { _PyArg_BadArgument("test_int_converter", "argument 3", "a unicode character", args[2]); goto exit; } c = PyUnicode_READ_CHAR(args[2], 0); if (nargs < 4) { goto skip_optional; } d = _PyLong_AsInt(args[3]); if (d == -1 && PyErr_Occurred()) { goto exit; } skip_optional: return_value = test_int_converter_impl(module, a, b, c, d); exit: return return_value; } static PyObject * test_int_converter_impl(PyObject *module, int a, int b, int c, myenum d) /*[clinic end generated code: output=8a1a7b02ebe9eeac input=d20541fc1ca0553e]*/ /*[clinic input] test_unsigned_int_converter a: unsigned_int = 12 b: unsigned_int(bitwise=False) = 34 c: unsigned_int(bitwise=True) = 56 / [clinic start generated code]*/ PyDoc_STRVAR(test_unsigned_int_converter__doc__, "test_unsigned_int_converter($module, a=12, b=34, c=56, /)\n" "--\n" "\n"); #define TEST_UNSIGNED_INT_CONVERTER_METHODDEF \ {"test_unsigned_int_converter", (PyCFunction)(void(*)(void))test_unsigned_int_converter, METH_FASTCALL, test_unsigned_int_converter__doc__}, static PyObject * test_unsigned_int_converter_impl(PyObject *module, unsigned int a, unsigned int b, unsigned int c); static PyObject * test_unsigned_int_converter(PyObject *module, PyObject *const *args, Py_ssize_t nargs) { PyObject *return_value = NULL; unsigned int a = 12; unsigned int b = 34; unsigned int c = 56; if (!_PyArg_CheckPositional("test_unsigned_int_converter", nargs, 0, 3)) { goto exit; } if (nargs < 1) { goto skip_optional; } if (!_PyLong_UnsignedInt_Converter(args[0], &a)) { goto exit; } if (nargs < 2) { goto skip_optional; } if (!_PyLong_UnsignedInt_Converter(args[1], &b)) { goto exit; } if (nargs < 3) { goto skip_optional; } c = (unsigned int)PyLong_AsUnsignedLongMask(args[2]); if (c == (unsigned int)-1 && PyErr_Occurred()) { goto exit; } skip_optional: return_value = test_unsigned_int_converter_impl(module, a, b, c); exit: return return_value; } static PyObject * test_unsigned_int_converter_impl(PyObject *module, unsigned int a, unsigned int b, unsigned int c) /*[clinic end generated code: output=4f53904bfa1a0250 input=5533534828b62fc0]*/ /*[clinic input] test_long_converter a: long = 12 / [clinic start generated code]*/ PyDoc_STRVAR(test_long_converter__doc__, "test_long_converter($module, a=12, /)\n" "--\n" "\n"); #define TEST_LONG_CONVERTER_METHODDEF \ {"test_long_converter", (PyCFunction)(void(*)(void))test_long_converter, METH_FASTCALL, test_long_converter__doc__}, static PyObject * test_long_converter_impl(PyObject *module, long a); static PyObject * test_long_converter(PyObject *module, PyObject *const *args, Py_ssize_t nargs) { PyObject *return_value = NULL; long a = 12; if (!_PyArg_CheckPositional("test_long_converter", nargs, 0, 1)) { goto exit; } if (nargs < 1) { goto skip_optional; } a = PyLong_AsLong(args[0]); if (a == -1 && PyErr_Occurred()) { goto exit; } skip_optional: return_value = test_long_converter_impl(module, a); exit: return return_value; } static PyObject * test_long_converter_impl(PyObject *module, long a) /*[clinic end generated code: output=e5e7883fddcf4218 input=d2179e3c9cdcde89]*/ /*[clinic input] test_unsigned_long_converter a: unsigned_long = 12 b: unsigned_long(bitwise=False) = 34 c: unsigned_long(bitwise=True) = 56 / [clinic start generated code]*/ PyDoc_STRVAR(test_unsigned_long_converter__doc__, "test_unsigned_long_converter($module, a=12, b=34, c=56, /)\n" "--\n" "\n"); #define TEST_UNSIGNED_LONG_CONVERTER_METHODDEF \ {"test_unsigned_long_converter", (PyCFunction)(void(*)(void))test_unsigned_long_converter, METH_FASTCALL, test_unsigned_long_converter__doc__}, static PyObject * test_unsigned_long_converter_impl(PyObject *module, unsigned long a, unsigned long b, unsigned long c); static PyObject * test_unsigned_long_converter(PyObject *module, PyObject *const *args, Py_ssize_t nargs) { PyObject *return_value = NULL; unsigned long a = 12; unsigned long b = 34; unsigned long c = 56; if (!_PyArg_CheckPositional("test_unsigned_long_converter", nargs, 0, 3)) { goto exit; } if (nargs < 1) { goto skip_optional; } if (!_PyLong_UnsignedLong_Converter(args[0], &a)) { goto exit; } if (nargs < 2) { goto skip_optional; } if (!_PyLong_UnsignedLong_Converter(args[1], &b)) { goto exit; } if (nargs < 3) { goto skip_optional; } if (!PyLong_Check(args[2])) { _PyArg_BadArgument("test_unsigned_long_converter", "argument 3", "int", args[2]); goto exit; } c = PyLong_AsUnsignedLongMask(args[2]); skip_optional: return_value = test_unsigned_long_converter_impl(module, a, b, c); exit: return return_value; } static PyObject * test_unsigned_long_converter_impl(PyObject *module, unsigned long a, unsigned long b, unsigned long c) /*[clinic end generated code: output=87c6b29fa217026e input=f450d94cae1ef73b]*/ /*[clinic input] test_long_long_converter a: long_long = 12 / [clinic start generated code]*/ PyDoc_STRVAR(test_long_long_converter__doc__, "test_long_long_converter($module, a=12, /)\n" "--\n" "\n"); #define TEST_LONG_LONG_CONVERTER_METHODDEF \ {"test_long_long_converter", (PyCFunction)(void(*)(void))test_long_long_converter, METH_FASTCALL, test_long_long_converter__doc__}, static PyObject * test_long_long_converter_impl(PyObject *module, long long a); static PyObject * test_long_long_converter(PyObject *module, PyObject *const *args, Py_ssize_t nargs) { PyObject *return_value = NULL; long long a = 12; if (!_PyArg_CheckPositional("test_long_long_converter", nargs, 0, 1)) { goto exit; } if (nargs < 1) { goto skip_optional; } a = PyLong_AsLongLong(args[0]); if (a == -1 && PyErr_Occurred()) { goto exit; } skip_optional: return_value = test_long_long_converter_impl(module, a); exit: return return_value; } static PyObject * test_long_long_converter_impl(PyObject *module, long long a) /*[clinic end generated code: output=0488ac9e8c1d77bb input=d5fc81577ff4dd02]*/ /*[clinic input] test_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]*/ PyDoc_STRVAR(test_unsigned_long_long_converter__doc__, "test_unsigned_long_long_converter($module, a=12, b=34, c=56, /)\n" "--\n" "\n"); #define TEST_UNSIGNED_LONG_LONG_CONVERTER_METHODDEF \ {"test_unsigned_long_long_converter", (PyCFunction)(void(*)(void))test_unsigned_long_long_converter, METH_FASTCALL, test_unsigned_long_long_converter__doc__}, static PyObject * test_unsigned_long_long_converter_impl(PyObject *module, unsigned long long a, unsigned long long b, unsigned long long c); static PyObject * test_unsigned_long_long_converter(PyObject *module, PyObject *const *args, Py_ssize_t nargs) { PyObject *return_value = NULL; unsigned long long a = 12; unsigned long long b = 34; unsigned long long c = 56; if (!_PyArg_CheckPositional("test_unsigned_long_long_converter", nargs, 0, 3)) { goto exit; } if (nargs < 1) { goto skip_optional; } if (!_PyLong_UnsignedLongLong_Converter(args[0], &a)) { goto exit; } if (nargs < 2) { goto skip_optional; } if (!_PyLong_UnsignedLongLong_Converter(args[1], &b)) { goto exit; } if (nargs < 3) { goto skip_optional; } if (!PyLong_Check(args[2])) { _PyArg_BadArgument("test_unsigned_long_long_converter", "argument 3", "int", args[2]); goto exit; } c = PyLong_AsUnsignedLongLongMask(args[2]); skip_optional: return_value = test_unsigned_long_long_converter_impl(module, a, b, c); exit: return return_value; } static PyObject * test_unsigned_long_long_converter_impl(PyObject *module, unsigned long long a, unsigned long long b, unsigned long long c) /*[clinic end generated code: output=aad2c7b43db2f190 input=a15115dc41866ff4]*/ /*[clinic input] test_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]*/ PyDoc_STRVAR(test_Py_ssize_t_converter__doc__, "test_Py_ssize_t_converter($module, a=12, b=34, c=56, /)\n" "--\n" "\n"); #define TEST_PY_SSIZE_T_CONVERTER_METHODDEF \ {"test_Py_ssize_t_converter", (PyCFunction)(void(*)(void))test_Py_ssize_t_converter, METH_FASTCALL, test_Py_ssize_t_converter__doc__}, static PyObject * test_Py_ssize_t_converter_impl(PyObject *module, Py_ssize_t a, Py_ssize_t b, Py_ssize_t c); static PyObject * test_Py_ssize_t_converter(PyObject *module, PyObject *const *args, Py_ssize_t nargs) { PyObject *return_value = NULL; Py_ssize_t a = 12; Py_ssize_t b = 34; Py_ssize_t c = 56; if (!_PyArg_CheckPositional("test_Py_ssize_t_converter", nargs, 0, 3)) { goto exit; } if (nargs < 1) { goto skip_optional; } { Py_ssize_t ival = -1; PyObject *iobj = _PyNumber_Index(args[0]); if (iobj != NULL) { ival = PyLong_AsSsize_t(iobj); Py_DECREF(iobj); } if (ival == -1 && PyErr_Occurred()) { goto exit; } a = ival; } if (nargs < 2) { goto skip_optional; } { Py_ssize_t ival = -1; PyObject *iobj = _PyNumber_Index(args[1]); if (iobj != NULL) { ival = PyLong_AsSsize_t(iobj); Py_DECREF(iobj); } if (ival == -1 && PyErr_Occurred()) { goto exit; } b = ival; } if (nargs < 3) { goto skip_optional; } if (!_Py_convert_optional_to_ssize_t(args[2], &c)) { goto exit; } skip_optional: return_value = test_Py_ssize_t_converter_impl(module, a, b, c); exit: return return_value; } static PyObject * test_Py_ssize_t_converter_impl(PyObject *module, Py_ssize_t a, Py_ssize_t b, Py_ssize_t c) /*[clinic end generated code: output=3bf73f9fdfeab468 input=3855f184bb3f299d]*/ /*[clinic input] test_slice_index_converter a: slice_index = 12 b: slice_index(accept={int}) = 34 c: slice_index(accept={int, NoneType}) = 56 / [clinic start generated code]*/ PyDoc_STRVAR(test_slice_index_converter__doc__, "test_slice_index_converter($module, a=12, b=34, c=56, /)\n" "--\n" "\n"); #define TEST_SLICE_INDEX_CONVERTER_METHODDEF \ {"test_slice_index_converter", (PyCFunction)(void(*)(void))test_slice_index_converter, METH_FASTCALL, test_slice_index_converter__doc__}, static PyObject * test_slice_index_converter_impl(PyObject *module, Py_ssize_t a, Py_ssize_t b, Py_ssize_t c); static PyObject * test_slice_index_converter(PyObject *module, PyObject *const *args, Py_ssize_t nargs) { PyObject *return_value = NULL; Py_ssize_t a = 12; Py_ssize_t b = 34; Py_ssize_t c = 56; if (!_PyArg_CheckPositional("test_slice_index_converter", nargs, 0, 3)) { goto exit; } if (nargs < 1) { goto skip_optional; } if (!_PyEval_SliceIndex(args[0], &a)) { goto exit; } if (nargs < 2) { goto skip_optional; } if (!_PyEval_SliceIndexNotNone(args[1], &b)) { goto exit; } if (nargs < 3) { goto skip_optional; } if (!_PyEval_SliceIndex(args[2], &c)) { goto exit; } skip_optional: return_value = test_slice_index_converter_impl(module, a, b, c); exit: return return_value; } static PyObject * test_slice_index_converter_impl(PyObject *module, Py_ssize_t a, Py_ssize_t b, Py_ssize_t c) /*[clinic end generated code: output=2148703cd3c6e941 input=edeadb0ee126f531]*/ /*[clinic input] test_size_t_converter a: size_t = 12 / [clinic start generated code]*/ PyDoc_STRVAR(test_size_t_converter__doc__, "test_size_t_converter($module, a=12, /)\n" "--\n" "\n"); #define TEST_SIZE_T_CONVERTER_METHODDEF \ {"test_size_t_converter", (PyCFunction)(void(*)(void))test_size_t_converter, METH_FASTCALL, test_size_t_converter__doc__}, static PyObject * test_size_t_converter_impl(PyObject *module, size_t a); static PyObject * test_size_t_converter(PyObject *module, PyObject *const *args, Py_ssize_t nargs) { PyObject *return_value = NULL; size_t a = 12; if (!_PyArg_CheckPositional("test_size_t_converter", nargs, 0, 1)) { goto exit; } if (nargs < 1) { goto skip_optional; } if (!_PyLong_Size_t_Converter(args[0], &a)) { goto exit; } skip_optional: return_value = test_size_t_converter_impl(module, a); exit: return return_value; } static PyObject * test_size_t_converter_impl(PyObject *module, size_t a) /*[clinic end generated code: output=8a91a9ca8a92dabb input=52e93a0fed0f1fb3]*/ /*[clinic input] test_float_converter a: float = 12.5 / [clinic start generated code]*/ PyDoc_STRVAR(test_float_converter__doc__, "test_float_converter($module, a=12.5, /)\n" "--\n" "\n"); #define TEST_FLOAT_CONVERTER_METHODDEF \ {"test_float_converter", (PyCFunction)(void(*)(void))test_float_converter, METH_FASTCALL, test_float_converter__doc__}, static PyObject * test_float_converter_impl(PyObject *module, float a); static PyObject * test_float_converter(PyObject *module, PyObject *const *args, Py_ssize_t nargs) { PyObject *return_value = NULL; float a = 12.5; if (!_PyArg_CheckPositional("test_float_converter", nargs, 0, 1)) { goto exit; } if (nargs < 1) { goto skip_optional; } if (PyFloat_CheckExact(args[0])) { a = (float) (PyFloat_AS_DOUBLE(args[0])); } else { a = (float) PyFloat_AsDouble(args[0]); if (a == -1.0 && PyErr_Occurred()) { goto exit; } } skip_optional: return_value = test_float_converter_impl(module, a); exit: return return_value; } static PyObject * test_float_converter_impl(PyObject *module, float a) /*[clinic end generated code: output=6b9c7443d2601cea input=259c0d98eca35034]*/ /*[clinic input] test_double_converter a: double = 12.5 / [clinic start generated code]*/ PyDoc_STRVAR(test_double_converter__doc__, "test_double_converter($module, a=12.5, /)\n" "--\n" "\n"); #define TEST_DOUBLE_CONVERTER_METHODDEF \ {"test_double_converter", (PyCFunction)(void(*)(void))test_double_converter, METH_FASTCALL, test_double_converter__doc__}, static PyObject * test_double_converter_impl(PyObject *module, double a); static PyObject * test_double_converter(PyObject *module, PyObject *const *args, Py_ssize_t nargs) { PyObject *return_value = NULL; double a = 12.5; if (!_PyArg_CheckPositional("test_double_converter", nargs, 0, 1)) { goto exit; } if (nargs < 1) { goto skip_optional; } if (PyFloat_CheckExact(args[0])) { a = PyFloat_AS_DOUBLE(args[0]); } else { a = PyFloat_AsDouble(args[0]); if (a == -1.0 && PyErr_Occurred()) { goto exit; } } skip_optional: return_value = test_double_converter_impl(module, a); exit: return return_value; } static PyObject * test_double_converter_impl(PyObject *module, double a) /*[clinic end generated code: output=5b7b9a0f0791b2cc input=c6a9945706a41c27]*/ /*[clinic input] test_Py_complex_converter a: Py_complex / [clinic start generated code]*/ PyDoc_STRVAR(test_Py_complex_converter__doc__, "test_Py_complex_converter($module, a, /)\n" "--\n" "\n"); #define TEST_PY_COMPLEX_CONVERTER_METHODDEF \ {"test_Py_complex_converter", (PyCFunction)test_Py_complex_converter, METH_O, test_Py_complex_converter__doc__}, static PyObject * test_Py_complex_converter_impl(PyObject *module, Py_complex a); static PyObject * test_Py_complex_converter(PyObject *module, PyObject *arg) { PyObject *return_value = NULL; Py_complex a; a = PyComplex_AsCComplex(arg); if (PyErr_Occurred()) { goto exit; } return_value = test_Py_complex_converter_impl(module, a); exit: return return_value; } static PyObject * test_Py_complex_converter_impl(PyObject *module, Py_complex a) /*[clinic end generated code: output=c2ecbec2144ca540 input=070f216a515beb79]*/ /*[clinic input] test_str_converter a: str = NULL b: str = "ab" c: str(accept={str}) = "cd" d: str(accept={robuffer}) = "cef" e: str(accept={str, NoneType}) = "gh" f: str(accept={robuffer}, zeroes=True) = "ij" g: str(accept={robuffer, str}, zeroes=True) = "kl" h: str(accept={robuffer, str, NoneType}, zeroes=True) = "mn" / [clinic start generated code]*/ PyDoc_STRVAR(test_str_converter__doc__, "test_str_converter($module, a=<unrepresentable>, b=\'ab\', c=\'cd\',\n" " d=\'cef\', e=\'gh\', f=\'ij\', g=\'kl\', h=\'mn\', /)\n" "--\n" "\n"); #define TEST_STR_CONVERTER_METHODDEF \ {"test_str_converter", (PyCFunction)(void(*)(void))test_str_converter, METH_FASTCALL, test_str_converter__doc__}, static PyObject * test_str_converter_impl(PyObject *module, const char *a, const char *b, const char *c, const char *d, const char *e, const char *f, Py_ssize_clean_t f_length, const char *g, Py_ssize_clean_t g_length, const char *h, Py_ssize_clean_t h_length); static PyObject * test_str_converter(PyObject *module, PyObject *const *args, Py_ssize_t nargs) { PyObject *return_value = NULL; const char *a = NULL; const char *b = "ab"; const char *c = "cd"; const char *d = "cef"; const char *e = "gh"; const char *f = "ij"; Py_ssize_clean_t f_length; const char *g = "kl"; Py_ssize_clean_t g_length; const char *h = "mn"; Py_ssize_clean_t h_length; if (!_PyArg_ParseStack(args, nargs, "|sssyzy#s#z#:test_str_converter", &a, &b, &c, &d, &e, &f, &f_length, &g, &g_length, &h, &h_length)) { goto exit; } return_value = test_str_converter_impl(module, a, b, c, d, e, f, f_length, g, g_length, h, h_length); exit: return return_value; } static PyObject * test_str_converter_impl(PyObject *module, const char *a, const char *b, const char *c, const char *d, const char *e, const char *f, Py_ssize_clean_t f_length, const char *g, Py_ssize_clean_t g_length, const char *h, Py_ssize_clean_t h_length) /*[clinic end generated code: output=ad868ad94a488e32 input=8afe9da8185cd38c]*/ /*[clinic input] test_str_converter_encoding a: str(encoding="idna") b: str(encoding="idna", accept={str}) c: str(encoding="idna", accept={bytes, bytearray, str}) d: str(encoding="idna", zeroes=True) e: str(encoding="idna", accept={bytes, bytearray, str}, zeroes=True) / [clinic start generated code]*/ PyDoc_STRVAR(test_str_converter_encoding__doc__, "test_str_converter_encoding($module, a, b, c, d, e, /)\n" "--\n" "\n"); #define TEST_STR_CONVERTER_ENCODING_METHODDEF \ {"test_str_converter_encoding", (PyCFunction)(void(*)(void))test_str_converter_encoding, METH_FASTCALL, test_str_converter_encoding__doc__}, static PyObject * test_str_converter_encoding_impl(PyObject *module, char *a, char *b, char *c, char *d, Py_ssize_clean_t d_length, char *e, Py_ssize_clean_t e_length); static PyObject * test_str_converter_encoding(PyObject *module, PyObject *const *args, Py_ssize_t nargs) { PyObject *return_value = NULL; char *a = NULL; char *b = NULL; char *c = NULL; char *d = NULL; Py_ssize_clean_t d_length; char *e = NULL; Py_ssize_clean_t e_length; if (!_PyArg_ParseStack(args, nargs, "esesetes#et#:test_str_converter_encoding", "idna", &a, "idna", &b, "idna", &c, "idna", &d, &d_length, "idna", &e, &e_length)) { goto exit; } return_value = test_str_converter_encoding_impl(module, a, b, c, d, d_length, e, e_length); exit: /* Cleanup for a */ if (a) { PyMem_FREE(a); } /* Cleanup for b */ if (b) { PyMem_FREE(b); } /* Cleanup for c */ if (c) { PyMem_FREE(c); } /* Cleanup for d */ if (d) { PyMem_FREE(d); } /* Cleanup for e */ if (e) { PyMem_FREE(e); } return return_value; } static PyObject * test_str_converter_encoding_impl(PyObject *module, char *a, char *b, char *c, char *d, Py_ssize_clean_t d_length, char *e, Py_ssize_clean_t e_length) /*[clinic end generated code: output=f579dd9e795a364e input=eb4c38e1f898f402]*/ /*[clinic input] test_Py_UNICODE_converter a: Py_UNICODE b: Py_UNICODE(accept={str}) c: Py_UNICODE(accept={str, NoneType}) d: Py_UNICODE(zeroes=True) e: Py_UNICODE(accept={str, NoneType}, zeroes=True) / [clinic start generated code]*/ PyDoc_STRVAR(test_Py_UNICODE_converter__doc__, "test_Py_UNICODE_converter($module, a, b, c, d, e, /)\n" "--\n" "\n"); #define TEST_PY_UNICODE_CONVERTER_METHODDEF \ {"test_Py_UNICODE_converter", (PyCFunction)(void(*)(void))test_Py_UNICODE_converter, METH_FASTCALL, test_Py_UNICODE_converter__doc__}, static PyObject * test_Py_UNICODE_converter_impl(PyObject *module, const Py_UNICODE *a, const Py_UNICODE *b, const Py_UNICODE *c, const Py_UNICODE *d, Py_ssize_clean_t d_length, const Py_UNICODE *e, Py_ssize_clean_t e_length); static PyObject * test_Py_UNICODE_converter(PyObject *module, PyObject *const *args, Py_ssize_t nargs) { PyObject *return_value = NULL; const Py_UNICODE *a; const Py_UNICODE *b; const Py_UNICODE *c; const Py_UNICODE *d; Py_ssize_clean_t d_length; const Py_UNICODE *e; Py_ssize_clean_t e_length; if (!_PyArg_ParseStack(args, nargs, "O&O&O&u#Z#:test_Py_UNICODE_converter", _PyUnicode_WideCharString_Converter, &a, _PyUnicode_WideCharString_Converter, &b, _PyUnicode_WideCharString_Opt_Converter, &c, &d, &d_length, &e, &e_length)) { goto exit; } return_value = test_Py_UNICODE_converter_impl(module, a, b, c, d, d_length, e, e_length); exit: /* Cleanup for a */ #if !USE_UNICODE_WCHAR_CACHE PyMem_Free((void *)a); #endif /* USE_UNICODE_WCHAR_CACHE */ /* Cleanup for b */ #if !USE_UNICODE_WCHAR_CACHE PyMem_Free((void *)b); #endif /* USE_UNICODE_WCHAR_CACHE */ /* Cleanup for c */ #if !USE_UNICODE_WCHAR_CACHE PyMem_Free((void *)c); #endif /* USE_UNICODE_WCHAR_CACHE */ return return_value; } static PyObject * test_Py_UNICODE_converter_impl(PyObject *module, const Py_UNICODE *a, const Py_UNICODE *b, const Py_UNICODE *c, const Py_UNICODE *d, Py_ssize_clean_t d_length, const Py_UNICODE *e, Py_ssize_clean_t e_length) /*[clinic end generated code: output=ef45e982fedf0b3d input=064a3b68ad7f04b0]*/ /*[clinic input] test_Py_buffer_converter a: Py_buffer b: Py_buffer(accept={buffer}) c: Py_buffer(accept={str, buffer}) d: Py_buffer(accept={str, buffer, NoneType}) e: Py_buffer(accept={rwbuffer}) / [clinic start generated code]*/ PyDoc_STRVAR(test_Py_buffer_converter__doc__, "test_Py_buffer_converter($module, a, b, c, d, e, /)\n" "--\n" "\n"); #define TEST_PY_BUFFER_CONVERTER_METHODDEF \ {"test_Py_buffer_converter", (PyCFunction)(void(*)(void))test_Py_buffer_converter, METH_FASTCALL, test_Py_buffer_converter__doc__}, static PyObject * test_Py_buffer_converter_impl(PyObject *module, Py_buffer *a, Py_buffer *b, Py_buffer *c, Py_buffer *d, Py_buffer *e); static PyObject * test_Py_buffer_converter(PyObject *module, PyObject *const *args, Py_ssize_t nargs) { PyObject *return_value = NULL; Py_buffer a = {NULL, NULL}; Py_buffer b = {NULL, NULL}; Py_buffer c = {NULL, NULL}; Py_buffer d = {NULL, NULL}; Py_buffer e = {NULL, NULL}; if (!_PyArg_ParseStack(args, nargs, "y*y*s*z*w*:test_Py_buffer_converter", &a, &b, &c, &d, &e)) { goto exit; } return_value = test_Py_buffer_converter_impl(module, &a, &b, &c, &d, &e); exit: /* Cleanup for a */ if (a.obj) { PyBuffer_Release(&a); } /* Cleanup for b */ if (b.obj) { PyBuffer_Release(&b); } /* Cleanup for c */ if (c.obj) { PyBuffer_Release(&c); } /* Cleanup for d */ if (d.obj) { PyBuffer_Release(&d); } /* Cleanup for e */ if (e.obj) { PyBuffer_Release(&e); } return return_value; } static PyObject * test_Py_buffer_converter_impl(PyObject *module, Py_buffer *a, Py_buffer *b, Py_buffer *c, Py_buffer *d, Py_buffer *e) /*[clinic end generated code: output=5760c82faa2ed61f input=6a9da0f56f9525fd]*/ /*[clinic input] test_keywords a: object b: object [clinic start generated code]*/ PyDoc_STRVAR(test_keywords__doc__, "test_keywords($module, /, a, b)\n" "--\n" "\n"); #define TEST_KEYWORDS_METHODDEF \ {"test_keywords", (PyCFunction)(void(*)(void))test_keywords, METH_FASTCALL|METH_KEYWORDS, test_keywords__doc__}, static PyObject * test_keywords_impl(PyObject *module, PyObject *a, PyObject *b); static PyObject * test_keywords(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) { PyObject *return_value = NULL; static const char * const _keywords[] = {"a", "b", NULL}; static _PyArg_Parser _parser = {NULL, _keywords, "test_keywords", 0}; PyObject *argsbuf[2]; PyObject *a; PyObject *b; args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 2, 2, 0, argsbuf); if (!args) { goto exit; } a = args[0]; b = args[1]; return_value = test_keywords_impl(module, a, b); exit: return return_value; } static PyObject * test_keywords_impl(PyObject *module, PyObject *a, PyObject *b) /*[clinic end generated code: output=4be6cf045ea8242e input=0d3484844749c05b]*/ /*[clinic input] test_keywords_kwonly a: object * b: object [clinic start generated code]*/ PyDoc_STRVAR(test_keywords_kwonly__doc__, "test_keywords_kwonly($module, /, a, *, b)\n" "--\n" "\n"); #define TEST_KEYWORDS_KWONLY_METHODDEF \ {"test_keywords_kwonly", (PyCFunction)(void(*)(void))test_keywords_kwonly, METH_FASTCALL|METH_KEYWORDS, test_keywords_kwonly__doc__}, static PyObject * test_keywords_kwonly_impl(PyObject *module, PyObject *a, PyObject *b); static PyObject * test_keywords_kwonly(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) { PyObject *return_value = NULL; static const char * const _keywords[] = {"a", "b", NULL}; static _PyArg_Parser _parser = {NULL, _keywords, "test_keywords_kwonly", 0}; PyObject *argsbuf[2]; PyObject *a; PyObject *b; args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 1, 1, 1, argsbuf); if (!args) { goto exit; } a = args[0]; b = args[1]; return_value = test_keywords_kwonly_impl(module, a, b); exit: return return_value; } static PyObject * test_keywords_kwonly_impl(PyObject *module, PyObject *a, PyObject *b) /*[clinic end generated code: output=d63c4977a7a80713 input=384adc78bfa0bff7]*/ /*[clinic input] test_keywords_opt a: object b: object = None c: object = None [clinic start generated code]*/ PyDoc_STRVAR(test_keywords_opt__doc__, "test_keywords_opt($module, /, a, b=None, c=None)\n" "--\n" "\n"); #define TEST_KEYWORDS_OPT_METHODDEF \ {"test_keywords_opt", (PyCFunction)(void(*)(void))test_keywords_opt, METH_FASTCALL|METH_KEYWORDS, test_keywords_opt__doc__}, static PyObject * test_keywords_opt_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c); static PyObject * test_keywords_opt(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) { PyObject *return_value = NULL; static const char * const _keywords[] = {"a", "b", "c", NULL}; static _PyArg_Parser _parser = {NULL, _keywords, "test_keywords_opt", 0}; PyObject *argsbuf[3]; Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; PyObject *a; PyObject *b = Py_None; PyObject *c = Py_None; args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 1, 3, 0, argsbuf); if (!args) { goto exit; } a = args[0]; if (!noptargs) { goto skip_optional_pos; } if (args[1]) { b = args[1]; if (!--noptargs) { goto skip_optional_pos; } } c = args[2]; skip_optional_pos: return_value = test_keywords_opt_impl(module, a, b, c); exit: return return_value; } static PyObject * test_keywords_opt_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c) /*[clinic end generated code: output=e5e50d114d8fc10a input=eda7964f784f4607]*/ /*[clinic input] test_keywords_opt_kwonly a: object b: object = None * c: object = None d: object = None [clinic start generated code]*/ PyDoc_STRVAR(test_keywords_opt_kwonly__doc__, "test_keywords_opt_kwonly($module, /, a, b=None, *, c=None, d=None)\n" "--\n" "\n"); #define TEST_KEYWORDS_OPT_KWONLY_METHODDEF \ {"test_keywords_opt_kwonly", (PyCFunction)(void(*)(void))test_keywords_opt_kwonly, METH_FASTCALL|METH_KEYWORDS, test_keywords_opt_kwonly__doc__}, static PyObject * test_keywords_opt_kwonly_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c, PyObject *d); static PyObject * test_keywords_opt_kwonly(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) { PyObject *return_value = NULL; static const char * const _keywords[] = {"a", "b", "c", "d", NULL}; static _PyArg_Parser _parser = {NULL, _keywords, "test_keywords_opt_kwonly", 0}; PyObject *argsbuf[4]; Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; PyObject *a; PyObject *b = Py_None; PyObject *c = Py_None; PyObject *d = Py_None; args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 1, 2, 0, argsbuf); if (!args) { goto exit; } a = args[0]; if (!noptargs) { goto skip_optional_pos; } if (args[1]) { b = args[1]; if (!--noptargs) { goto skip_optional_pos; } } skip_optional_pos: if (!noptargs) { goto skip_optional_kwonly; } if (args[2]) { c = args[2]; if (!--noptargs) { goto skip_optional_kwonly; } } d = args[3]; skip_optional_kwonly: return_value = test_keywords_opt_kwonly_impl(module, a, b, c, d); exit: return return_value; } static PyObject * test_keywords_opt_kwonly_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c, PyObject *d) /*[clinic end generated code: output=3f065cb8309b9317 input=209387a4815e5082]*/ /*[clinic input] test_keywords_kwonly_opt a: object * b: object = None c: object = None [clinic start generated code]*/ PyDoc_STRVAR(test_keywords_kwonly_opt__doc__, "test_keywords_kwonly_opt($module, /, a, *, b=None, c=None)\n" "--\n" "\n"); #define TEST_KEYWORDS_KWONLY_OPT_METHODDEF \ {"test_keywords_kwonly_opt", (PyCFunction)(void(*)(void))test_keywords_kwonly_opt, METH_FASTCALL|METH_KEYWORDS, test_keywords_kwonly_opt__doc__}, static PyObject * test_keywords_kwonly_opt_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c); static PyObject * test_keywords_kwonly_opt(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) { PyObject *return_value = NULL; static const char * const _keywords[] = {"a", "b", "c", NULL}; static _PyArg_Parser _parser = {NULL, _keywords, "test_keywords_kwonly_opt", 0}; PyObject *argsbuf[3]; Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; PyObject *a; PyObject *b = Py_None; PyObject *c = Py_None; args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 1, 1, 0, argsbuf); if (!args) { goto exit; } a = args[0]; if (!noptargs) { goto skip_optional_kwonly; } if (args[1]) { b = args[1]; if (!--noptargs) { goto skip_optional_kwonly; } } c = args[2]; skip_optional_kwonly: return_value = test_keywords_kwonly_opt_impl(module, a, b, c); exit: return return_value; } static PyObject * test_keywords_kwonly_opt_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c) /*[clinic end generated code: output=94edba5484e1681e input=18393cc64fa000f4]*/ /*[clinic input] test_posonly_keywords a: object / b: object [clinic start generated code]*/ PyDoc_STRVAR(test_posonly_keywords__doc__, "test_posonly_keywords($module, a, /, b)\n" "--\n" "\n"); #define TEST_POSONLY_KEYWORDS_METHODDEF \ {"test_posonly_keywords", (PyCFunction)(void(*)(void))test_posonly_keywords, METH_FASTCALL|METH_KEYWORDS, test_posonly_keywords__doc__}, static PyObject * test_posonly_keywords_impl(PyObject *module, PyObject *a, PyObject *b); static PyObject * test_posonly_keywords(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) { PyObject *return_value = NULL; static const char * const _keywords[] = {"", "b", NULL}; static _PyArg_Parser _parser = {NULL, _keywords, "test_posonly_keywords", 0}; PyObject *argsbuf[2]; PyObject *a; PyObject *b; args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 2, 2, 0, argsbuf); if (!args) { goto exit; } a = args[0]; b = args[1]; return_value = test_posonly_keywords_impl(module, a, b); exit: return return_value; } static PyObject * test_posonly_keywords_impl(PyObject *module, PyObject *a, PyObject *b) /*[clinic end generated code: output=eca1507f0182ffb0 input=1767b0ebdf06060e]*/ /*[clinic input] test_posonly_kwonly a: object / * c: object [clinic start generated code]*/ PyDoc_STRVAR(test_posonly_kwonly__doc__, "test_posonly_kwonly($module, a, /, *, c)\n" "--\n" "\n"); #define TEST_POSONLY_KWONLY_METHODDEF \ {"test_posonly_kwonly", (PyCFunction)(void(*)(void))test_posonly_kwonly, METH_FASTCALL|METH_KEYWORDS, test_posonly_kwonly__doc__}, static PyObject * test_posonly_kwonly_impl(PyObject *module, PyObject *a, PyObject *c); static PyObject * test_posonly_kwonly(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) { PyObject *return_value = NULL; static const char * const _keywords[] = {"", "c", NULL}; static _PyArg_Parser _parser = {NULL, _keywords, "test_posonly_kwonly", 0}; PyObject *argsbuf[2]; PyObject *a; PyObject *c; args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 1, 1, 1, argsbuf); if (!args) { goto exit; } a = args[0]; c = args[1]; return_value = test_posonly_kwonly_impl(module, a, c); exit: return return_value; } static PyObject * test_posonly_kwonly_impl(PyObject *module, PyObject *a, PyObject *c) /*[clinic end generated code: output=3e14655646b66e9a input=9042f2818f664839]*/ /*[clinic input] test_posonly_keywords_kwonly a: object / b: object * c: object [clinic start generated code]*/ PyDoc_STRVAR(test_posonly_keywords_kwonly__doc__, "test_posonly_keywords_kwonly($module, a, /, b, *, c)\n" "--\n" "\n"); #define TEST_POSONLY_KEYWORDS_KWONLY_METHODDEF \ {"test_posonly_keywords_kwonly", (PyCFunction)(void(*)(void))test_posonly_keywords_kwonly, METH_FASTCALL|METH_KEYWORDS, test_posonly_keywords_kwonly__doc__}, static PyObject * test_posonly_keywords_kwonly_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c); static PyObject * test_posonly_keywords_kwonly(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) { PyObject *return_value = NULL; static const char * const _keywords[] = {"", "b", "c", NULL}; static _PyArg_Parser _parser = {NULL, _keywords, "test_posonly_keywords_kwonly", 0}; PyObject *argsbuf[3]; PyObject *a; PyObject *b; PyObject *c; args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 2, 2, 1, argsbuf); if (!args) { goto exit; } a = args[0]; b = args[1]; c = args[2]; return_value = test_posonly_keywords_kwonly_impl(module, a, b, c); exit: return return_value; } static PyObject * test_posonly_keywords_kwonly_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c) /*[clinic end generated code: output=de57172fc97a626e input=29546ebdca492fea]*/ /*[clinic input] test_posonly_keywords_opt a: object / b: object c: object = None d: object = None [clinic start generated code]*/ PyDoc_STRVAR(test_posonly_keywords_opt__doc__, "test_posonly_keywords_opt($module, a, /, b, c=None, d=None)\n" "--\n" "\n"); #define TEST_POSONLY_KEYWORDS_OPT_METHODDEF \ {"test_posonly_keywords_opt", (PyCFunction)(void(*)(void))test_posonly_keywords_opt, METH_FASTCALL|METH_KEYWORDS, test_posonly_keywords_opt__doc__}, static PyObject * test_posonly_keywords_opt_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c, PyObject *d); static PyObject * test_posonly_keywords_opt(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) { PyObject *return_value = NULL; static const char * const _keywords[] = {"", "b", "c", "d", NULL}; static _PyArg_Parser _parser = {NULL, _keywords, "test_posonly_keywords_opt", 0}; PyObject *argsbuf[4]; Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 2; PyObject *a; PyObject *b; PyObject *c = Py_None; PyObject *d = Py_None; args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 2, 4, 0, argsbuf); if (!args) { goto exit; } a = args[0]; b = args[1]; if (!noptargs) { goto skip_optional_pos; } if (args[2]) { c = args[2]; if (!--noptargs) { goto skip_optional_pos; } } d = args[3]; skip_optional_pos: return_value = test_posonly_keywords_opt_impl(module, a, b, c, d); exit: return return_value; } static PyObject * test_posonly_keywords_opt_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c, PyObject *d) /*[clinic end generated code: output=8bc6b44a25d4b716 input=cdf5a9625e554e9b]*/ /*[clinic input] test_posonly_keywords_opt2 a: object / b: object = None c: object = None [clinic start generated code]*/ PyDoc_STRVAR(test_posonly_keywords_opt2__doc__, "test_posonly_keywords_opt2($module, a, /, b=None, c=None)\n" "--\n" "\n"); #define TEST_POSONLY_KEYWORDS_OPT2_METHODDEF \ {"test_posonly_keywords_opt2", (PyCFunction)(void(*)(void))test_posonly_keywords_opt2, METH_FASTCALL|METH_KEYWORDS, test_posonly_keywords_opt2__doc__}, static PyObject * test_posonly_keywords_opt2_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c); static PyObject * test_posonly_keywords_opt2(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) { PyObject *return_value = NULL; static const char * const _keywords[] = {"", "b", "c", NULL}; static _PyArg_Parser _parser = {NULL, _keywords, "test_posonly_keywords_opt2", 0}; PyObject *argsbuf[3]; Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; PyObject *a; PyObject *b = Py_None; PyObject *c = Py_None; args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 1, 3, 0, argsbuf); if (!args) { goto exit; } a = args[0]; if (!noptargs) { goto skip_optional_pos; } if (args[1]) { b = args[1]; if (!--noptargs) { goto skip_optional_pos; } } c = args[2]; skip_optional_pos: return_value = test_posonly_keywords_opt2_impl(module, a, b, c); exit: return return_value; } static PyObject * test_posonly_keywords_opt2_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c) /*[clinic end generated code: output=a870c45a6510ba91 input=1581299d21d16f14]*/ /*[clinic input] test_posonly_opt_keywords_opt a: object b: object = None / c: object = None d: object = None [clinic start generated code]*/ PyDoc_STRVAR(test_posonly_opt_keywords_opt__doc__, "test_posonly_opt_keywords_opt($module, a, b=None, /, c=None, d=None)\n" "--\n" "\n"); #define TEST_POSONLY_OPT_KEYWORDS_OPT_METHODDEF \ {"test_posonly_opt_keywords_opt", (PyCFunction)(void(*)(void))test_posonly_opt_keywords_opt, METH_FASTCALL|METH_KEYWORDS, test_posonly_opt_keywords_opt__doc__}, static PyObject * test_posonly_opt_keywords_opt_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c, PyObject *d); static PyObject * test_posonly_opt_keywords_opt(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) { PyObject *return_value = NULL; static const char * const _keywords[] = {"", "", "c", "d", NULL}; static _PyArg_Parser _parser = {NULL, _keywords, "test_posonly_opt_keywords_opt", 0}; PyObject *argsbuf[4]; Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; PyObject *a; PyObject *b = Py_None; PyObject *c = Py_None; PyObject *d = Py_None; args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 1, 4, 0, argsbuf); if (!args) { goto exit; } a = args[0]; if (nargs < 2) { goto skip_optional_posonly; } noptargs--; b = args[1]; skip_optional_posonly: if (!noptargs) { goto skip_optional_pos; } if (args[2]) { c = args[2]; if (!--noptargs) { goto skip_optional_pos; } } d = args[3]; skip_optional_pos: return_value = test_posonly_opt_keywords_opt_impl(module, a, b, c, d); exit: return return_value; } static PyObject * test_posonly_opt_keywords_opt_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c, PyObject *d) /*[clinic end generated code: output=9ae3d52e071d3b7f input=408798ec3d42949f]*/ /*[clinic input] test_posonly_kwonly_opt a: object / * b: object c: object = None d: object = None [clinic start generated code]*/ PyDoc_STRVAR(test_posonly_kwonly_opt__doc__, "test_posonly_kwonly_opt($module, a, /, *, b, c=None, d=None)\n" "--\n" "\n"); #define TEST_POSONLY_KWONLY_OPT_METHODDEF \ {"test_posonly_kwonly_opt", (PyCFunction)(void(*)(void))test_posonly_kwonly_opt, METH_FASTCALL|METH_KEYWORDS, test_posonly_kwonly_opt__doc__}, static PyObject * test_posonly_kwonly_opt_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c, PyObject *d); static PyObject * test_posonly_kwonly_opt(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) { PyObject *return_value = NULL; static const char * const _keywords[] = {"", "b", "c", "d", NULL}; static _PyArg_Parser _parser = {NULL, _keywords, "test_posonly_kwonly_opt", 0}; PyObject *argsbuf[4]; Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 2; PyObject *a; PyObject *b; PyObject *c = Py_None; PyObject *d = Py_None; args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 1, 1, 1, argsbuf); if (!args) { goto exit; } a = args[0]; b = args[1]; if (!noptargs) { goto skip_optional_kwonly; } if (args[2]) { c = args[2]; if (!--noptargs) { goto skip_optional_kwonly; } } d = args[3]; skip_optional_kwonly: return_value = test_posonly_kwonly_opt_impl(module, a, b, c, d); exit: return return_value; } static PyObject * test_posonly_kwonly_opt_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c, PyObject *d) /*[clinic end generated code: output=fb001f586ba68549 input=8d8e5643bbbc2309]*/ /*[clinic input] test_posonly_kwonly_opt2 a: object / * b: object = None c: object = None [clinic start generated code]*/ PyDoc_STRVAR(test_posonly_kwonly_opt2__doc__, "test_posonly_kwonly_opt2($module, a, /, *, b=None, c=None)\n" "--\n" "\n"); #define TEST_POSONLY_KWONLY_OPT2_METHODDEF \ {"test_posonly_kwonly_opt2", (PyCFunction)(void(*)(void))test_posonly_kwonly_opt2, METH_FASTCALL|METH_KEYWORDS, test_posonly_kwonly_opt2__doc__}, static PyObject * test_posonly_kwonly_opt2_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c); static PyObject * test_posonly_kwonly_opt2(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) { PyObject *return_value = NULL; static const char * const _keywords[] = {"", "b", "c", NULL}; static _PyArg_Parser _parser = {NULL, _keywords, "test_posonly_kwonly_opt2", 0}; PyObject *argsbuf[3]; Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; PyObject *a; PyObject *b = Py_None; PyObject *c = Py_None; args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 1, 1, 0, argsbuf); if (!args) { goto exit; } a = args[0]; if (!noptargs) { goto skip_optional_kwonly; } if (args[1]) { b = args[1]; if (!--noptargs) { goto skip_optional_kwonly; } } c = args[2]; skip_optional_kwonly: return_value = test_posonly_kwonly_opt2_impl(module, a, b, c); exit: return return_value; } static PyObject * test_posonly_kwonly_opt2_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c) /*[clinic end generated code: output=51aae7cac77b458a input=f7e5eed94f75fff0]*/ /*[clinic input] test_posonly_opt_kwonly_opt a: object b: object = None / * c: object = None d: object = None [clinic start generated code]*/ PyDoc_STRVAR(test_posonly_opt_kwonly_opt__doc__, "test_posonly_opt_kwonly_opt($module, a, b=None, /, *, c=None, d=None)\n" "--\n" "\n"); #define TEST_POSONLY_OPT_KWONLY_OPT_METHODDEF \ {"test_posonly_opt_kwonly_opt", (PyCFunction)(void(*)(void))test_posonly_opt_kwonly_opt, METH_FASTCALL|METH_KEYWORDS, test_posonly_opt_kwonly_opt__doc__}, static PyObject * test_posonly_opt_kwonly_opt_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c, PyObject *d); static PyObject * test_posonly_opt_kwonly_opt(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) { PyObject *return_value = NULL; static const char * const _keywords[] = {"", "", "c", "d", NULL}; static _PyArg_Parser _parser = {NULL, _keywords, "test_posonly_opt_kwonly_opt", 0}; PyObject *argsbuf[4]; Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; PyObject *a; PyObject *b = Py_None; PyObject *c = Py_None; PyObject *d = Py_None; args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 1, 2, 0, argsbuf); if (!args) { goto exit; } a = args[0]; if (nargs < 2) { goto skip_optional_posonly; } noptargs--; b = args[1]; skip_optional_posonly: if (!noptargs) { goto skip_optional_kwonly; } if (args[2]) { c = args[2]; if (!--noptargs) { goto skip_optional_kwonly; } } d = args[3]; skip_optional_kwonly: return_value = test_posonly_opt_kwonly_opt_impl(module, a, b, c, d); exit: return return_value; } static PyObject * test_posonly_opt_kwonly_opt_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c, PyObject *d) /*[clinic end generated code: output=68844c45143d1668 input=1e557dc979d120fd]*/ /*[clinic input] test_posonly_keywords_kwonly_opt a: object / b: object * c: object d: object = None e: object = None [clinic start generated code]*/ PyDoc_STRVAR(test_posonly_keywords_kwonly_opt__doc__, "test_posonly_keywords_kwonly_opt($module, a, /, b, *, c, d=None, e=None)\n" "--\n" "\n"); #define TEST_POSONLY_KEYWORDS_KWONLY_OPT_METHODDEF \ {"test_posonly_keywords_kwonly_opt", (PyCFunction)(void(*)(void))test_posonly_keywords_kwonly_opt, METH_FASTCALL|METH_KEYWORDS, test_posonly_keywords_kwonly_opt__doc__}, static PyObject * test_posonly_keywords_kwonly_opt_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c, PyObject *d, PyObject *e); static PyObject * test_posonly_keywords_kwonly_opt(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) { PyObject *return_value = NULL; static const char * const _keywords[] = {"", "b", "c", "d", "e", NULL}; static _PyArg_Parser _parser = {NULL, _keywords, "test_posonly_keywords_kwonly_opt", 0}; PyObject *argsbuf[5]; Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 3; PyObject *a; PyObject *b; PyObject *c; PyObject *d = Py_None; PyObject *e = Py_None; args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 2, 2, 1, argsbuf); if (!args) { goto exit; } a = args[0]; b = args[1]; c = args[2]; if (!noptargs) { goto skip_optional_kwonly; } if (args[3]) { d = args[3]; if (!--noptargs) { goto skip_optional_kwonly; } } e = args[4]; skip_optional_kwonly: return_value = test_posonly_keywords_kwonly_opt_impl(module, a, b, c, d, e); exit: return return_value; } static PyObject * test_posonly_keywords_kwonly_opt_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c, PyObject *d, PyObject *e) /*[clinic end generated code: output=996ff645551897ac input=c3884a4f956fdc89]*/ /*[clinic input] test_posonly_keywords_kwonly_opt2 a: object / b: object * c: object = None d: object = None [clinic start generated code]*/ PyDoc_STRVAR(test_posonly_keywords_kwonly_opt2__doc__, "test_posonly_keywords_kwonly_opt2($module, a, /, b, *, c=None, d=None)\n" "--\n" "\n"); #define TEST_POSONLY_KEYWORDS_KWONLY_OPT2_METHODDEF \ {"test_posonly_keywords_kwonly_opt2", (PyCFunction)(void(*)(void))test_posonly_keywords_kwonly_opt2, METH_FASTCALL|METH_KEYWORDS, test_posonly_keywords_kwonly_opt2__doc__}, static PyObject * test_posonly_keywords_kwonly_opt2_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c, PyObject *d); static PyObject * test_posonly_keywords_kwonly_opt2(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) { PyObject *return_value = NULL; static const char * const _keywords[] = {"", "b", "c", "d", NULL}; static _PyArg_Parser _parser = {NULL, _keywords, "test_posonly_keywords_kwonly_opt2", 0}; PyObject *argsbuf[4]; Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 2; PyObject *a; PyObject *b; PyObject *c = Py_None; PyObject *d = Py_None; args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 2, 2, 0, argsbuf); if (!args) { goto exit; } a = args[0]; b = args[1]; if (!noptargs) { goto skip_optional_kwonly; } if (args[2]) { c = args[2]; if (!--noptargs) { goto skip_optional_kwonly; } } d = args[3]; skip_optional_kwonly: return_value = test_posonly_keywords_kwonly_opt2_impl(module, a, b, c, d); exit: return return_value; } static PyObject * test_posonly_keywords_kwonly_opt2_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c, PyObject *d) /*[clinic end generated code: output=e5a3e992fd4b28b3 input=68d01d7c0f6dafb0]*/ /*[clinic input] test_posonly_keywords_opt_kwonly_opt a: object / b: object c: object = None * d: object = None e: object = None [clinic start generated code]*/ PyDoc_STRVAR(test_posonly_keywords_opt_kwonly_opt__doc__, "test_posonly_keywords_opt_kwonly_opt($module, a, /, b, c=None, *,\n" " d=None, e=None)\n" "--\n" "\n"); #define TEST_POSONLY_KEYWORDS_OPT_KWONLY_OPT_METHODDEF \ {"test_posonly_keywords_opt_kwonly_opt", (PyCFunction)(void(*)(void))test_posonly_keywords_opt_kwonly_opt, METH_FASTCALL|METH_KEYWORDS, test_posonly_keywords_opt_kwonly_opt__doc__}, static PyObject * test_posonly_keywords_opt_kwonly_opt_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c, PyObject *d, PyObject *e); static PyObject * test_posonly_keywords_opt_kwonly_opt(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) { PyObject *return_value = NULL; static const char * const _keywords[] = {"", "b", "c", "d", "e", NULL}; static _PyArg_Parser _parser = {NULL, _keywords, "test_posonly_keywords_opt_kwonly_opt", 0}; PyObject *argsbuf[5]; Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 2; PyObject *a; PyObject *b; PyObject *c = Py_None; PyObject *d = Py_None; PyObject *e = Py_None; args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 2, 3, 0, argsbuf); if (!args) { goto exit; } a = args[0]; b = args[1]; if (!noptargs) { goto skip_optional_pos; } if (args[2]) { c = args[2]; if (!--noptargs) { goto skip_optional_pos; } } skip_optional_pos: if (!noptargs) { goto skip_optional_kwonly; } if (args[3]) { d = args[3]; if (!--noptargs) { goto skip_optional_kwonly; } } e = args[4]; skip_optional_kwonly: return_value = test_posonly_keywords_opt_kwonly_opt_impl(module, a, b, c, d, e); exit: return return_value; } static PyObject * test_posonly_keywords_opt_kwonly_opt_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c, PyObject *d, PyObject *e) /*[clinic end generated code: output=ff9fb6c3d2cbbaa4 input=d0883d45876f186c]*/ /*[clinic input] test_posonly_keywords_opt2_kwonly_opt a: object / b: object = None c: object = None * d: object = None e: object = None [clinic start generated code]*/ PyDoc_STRVAR(test_posonly_keywords_opt2_kwonly_opt__doc__, "test_posonly_keywords_opt2_kwonly_opt($module, a, /, b=None, c=None, *,\n" " d=None, e=None)\n" "--\n" "\n"); #define TEST_POSONLY_KEYWORDS_OPT2_KWONLY_OPT_METHODDEF \ {"test_posonly_keywords_opt2_kwonly_opt", (PyCFunction)(void(*)(void))test_posonly_keywords_opt2_kwonly_opt, METH_FASTCALL|METH_KEYWORDS, test_posonly_keywords_opt2_kwonly_opt__doc__}, static PyObject * test_posonly_keywords_opt2_kwonly_opt_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c, PyObject *d, PyObject *e); static PyObject * test_posonly_keywords_opt2_kwonly_opt(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) { PyObject *return_value = NULL; static const char * const _keywords[] = {"", "b", "c", "d", "e", NULL}; static _PyArg_Parser _parser = {NULL, _keywords, "test_posonly_keywords_opt2_kwonly_opt", 0}; PyObject *argsbuf[5]; Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; PyObject *a; PyObject *b = Py_None; PyObject *c = Py_None; PyObject *d = Py_None; PyObject *e = Py_None; args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 1, 3, 0, argsbuf); if (!args) { goto exit; } a = args[0]; if (!noptargs) { goto skip_optional_pos; } if (args[1]) { b = args[1]; if (!--noptargs) { goto skip_optional_pos; } } if (args[2]) { c = args[2]; if (!--noptargs) { goto skip_optional_pos; } } skip_optional_pos: if (!noptargs) { goto skip_optional_kwonly; } if (args[3]) { d = args[3]; if (!--noptargs) { goto skip_optional_kwonly; } } e = args[4]; skip_optional_kwonly: return_value = test_posonly_keywords_opt2_kwonly_opt_impl(module, a, b, c, d, e); exit: return return_value; } static PyObject * test_posonly_keywords_opt2_kwonly_opt_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c, PyObject *d, PyObject *e) /*[clinic end generated code: output=c809d7a84a2205e1 input=c95e2e1ec93035ad]*/ /*[clinic input] test_posonly_opt_keywords_opt_kwonly_opt a: object b: object = None / c: object = None d: object = None * e: object = None f: object = None [clinic start generated code]*/ PyDoc_STRVAR(test_posonly_opt_keywords_opt_kwonly_opt__doc__, "test_posonly_opt_keywords_opt_kwonly_opt($module, a, b=None, /, c=None,\n" " d=None, *, e=None, f=None)\n" "--\n" "\n"); #define TEST_POSONLY_OPT_KEYWORDS_OPT_KWONLY_OPT_METHODDEF \ {"test_posonly_opt_keywords_opt_kwonly_opt", (PyCFunction)(void(*)(void))test_posonly_opt_keywords_opt_kwonly_opt, METH_FASTCALL|METH_KEYWORDS, test_posonly_opt_keywords_opt_kwonly_opt__doc__}, static PyObject * test_posonly_opt_keywords_opt_kwonly_opt_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c, PyObject *d, PyObject *e, PyObject *f); static PyObject * test_posonly_opt_keywords_opt_kwonly_opt(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) { PyObject *return_value = NULL; static const char * const _keywords[] = {"", "", "c", "d", "e", "f", NULL}; static _PyArg_Parser _parser = {NULL, _keywords, "test_posonly_opt_keywords_opt_kwonly_opt", 0}; PyObject *argsbuf[6]; Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; PyObject *a; PyObject *b = Py_None; PyObject *c = Py_None; PyObject *d = Py_None; PyObject *e = Py_None; PyObject *f = Py_None; args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 1, 4, 0, argsbuf); if (!args) { goto exit; } a = args[0]; if (nargs < 2) { goto skip_optional_posonly; } noptargs--; b = args[1]; skip_optional_posonly: if (!noptargs) { goto skip_optional_pos; } if (args[2]) { c = args[2]; if (!--noptargs) { goto skip_optional_pos; } } if (args[3]) { d = args[3]; if (!--noptargs) { goto skip_optional_pos; } } skip_optional_pos: if (!noptargs) { goto skip_optional_kwonly; } if (args[4]) { e = args[4]; if (!--noptargs) { goto skip_optional_kwonly; } } f = args[5]; skip_optional_kwonly: return_value = test_posonly_opt_keywords_opt_kwonly_opt_impl(module, a, b, c, d, e, f); exit: return return_value; } static PyObject * test_posonly_opt_keywords_opt_kwonly_opt_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c, PyObject *d, PyObject *e, PyObject *f) /*[clinic end generated code: output=719e4f6c224402d4 input=9914857713c5bbf8]*/ /*[clinic input] test_keyword_only_parameter * co_lnotab: PyBytesObject(c_default="(PyBytesObject *)self->co_lnotab") = None [clinic start generated code]*/ PyDoc_STRVAR(test_keyword_only_parameter__doc__, "test_keyword_only_parameter($module, /, *, co_lnotab=None)\n" "--\n" "\n"); #define TEST_KEYWORD_ONLY_PARAMETER_METHODDEF \ {"test_keyword_only_parameter", (PyCFunction)(void(*)(void))test_keyword_only_parameter, METH_FASTCALL|METH_KEYWORDS, test_keyword_only_parameter__doc__}, static PyObject * test_keyword_only_parameter_impl(PyObject *module, PyBytesObject *co_lnotab); static PyObject * test_keyword_only_parameter(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) { PyObject *return_value = NULL; static const char * const _keywords[] = {"co_lnotab", NULL}; static _PyArg_Parser _parser = {NULL, _keywords, "test_keyword_only_parameter", 0}; PyObject *argsbuf[1]; Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; PyBytesObject *co_lnotab = (PyBytesObject *)self->co_lnotab; args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 0, 0, 0, argsbuf); if (!args) { goto exit; } if (!noptargs) { goto skip_optional_kwonly; } if (!PyBytes_Check(args[0])) { _PyArg_BadArgument("test_keyword_only_parameter", "argument 'co_lnotab'", "bytes", args[0]); goto exit; } co_lnotab = (PyBytesObject *)args[0]; skip_optional_kwonly: return_value = test_keyword_only_parameter_impl(module, co_lnotab); exit: return return_value; } static PyObject * test_keyword_only_parameter_impl(PyObject *module, PyBytesObject *co_lnotab) /*[clinic end generated code: output=f25914b402039493 input=303df5046c7e37a3]*/ /*[clinic input] output push output preset buffer [clinic start generated code]*/ /*[clinic end generated code: output=da39a3ee5e6b4b0d input=5bff3376ee0df0b5]*/ #ifdef CONDITION_A /*[clinic input] test_preprocessor_guarded_condition_a [clinic start generated code]*/ static PyObject * test_preprocessor_guarded_condition_a_impl(PyObject *module) /*[clinic end generated code: output=ad012af18085add6 input=8edb8706a98cda7e]*/ #elif CONDITION_B /*[clinic input] test_preprocessor_guarded_elif_condition_b [clinic start generated code]*/ static PyObject * test_preprocessor_guarded_elif_condition_b_impl(PyObject *module) /*[clinic end generated code: output=615f2dee82b138d1 input=53777cebbf7fee32]*/ #else /*[clinic input] test_preprocessor_guarded_else [clinic start generated code]*/ static PyObject * test_preprocessor_guarded_else_impl(PyObject *module) /*[clinic end generated code: output=13af7670aac51b12 input=6657ab31d74c29fc]*/ #endif /*[clinic input] dump buffer output pop [clinic start generated code]*/ #if defined(CONDITION_A) PyDoc_STRVAR(test_preprocessor_guarded_condition_a__doc__, "test_preprocessor_guarded_condition_a($module, /)\n" "--\n" "\n"); #define TEST_PREPROCESSOR_GUARDED_CONDITION_A_METHODDEF \ {"test_preprocessor_guarded_condition_a", (PyCFunction)test_preprocessor_guarded_condition_a, METH_NOARGS, test_preprocessor_guarded_condition_a__doc__}, static PyObject * test_preprocessor_guarded_condition_a(PyObject *module, PyObject *Py_UNUSED(ignored)) { return test_preprocessor_guarded_condition_a_impl(module); } #endif /* defined(CONDITION_A) */ #if !defined(CONDITION_A) && (CONDITION_B) PyDoc_STRVAR(test_preprocessor_guarded_elif_condition_b__doc__, "test_preprocessor_guarded_elif_condition_b($module, /)\n" "--\n" "\n"); #define TEST_PREPROCESSOR_GUARDED_ELIF_CONDITION_B_METHODDEF \ {"test_preprocessor_guarded_elif_condition_b", (PyCFunction)test_preprocessor_guarded_elif_condition_b, METH_NOARGS, test_preprocessor_guarded_elif_condition_b__doc__}, static PyObject * test_preprocessor_guarded_elif_condition_b(PyObject *module, PyObject *Py_UNUSED(ignored)) { return test_preprocessor_guarded_elif_condition_b_impl(module); } #endif /* !defined(CONDITION_A) && (CONDITION_B) */ #if !defined(CONDITION_A) && !(CONDITION_B) PyDoc_STRVAR(test_preprocessor_guarded_else__doc__, "test_preprocessor_guarded_else($module, /)\n" "--\n" "\n"); #define TEST_PREPROCESSOR_GUARDED_ELSE_METHODDEF \ {"test_preprocessor_guarded_else", (PyCFunction)test_preprocessor_guarded_else, METH_NOARGS, test_preprocessor_guarded_else__doc__}, static PyObject * test_preprocessor_guarded_else(PyObject *module, PyObject *Py_UNUSED(ignored)) { return test_preprocessor_guarded_else_impl(module); } #endif /* !defined(CONDITION_A) && !(CONDITION_B) */ #ifndef TEST_PREPROCESSOR_GUARDED_CONDITION_A_METHODDEF #define TEST_PREPROCESSOR_GUARDED_CONDITION_A_METHODDEF #endif /* !defined(TEST_PREPROCESSOR_GUARDED_CONDITION_A_METHODDEF) */ #ifndef TEST_PREPROCESSOR_GUARDED_ELIF_CONDITION_B_METHODDEF #define TEST_PREPROCESSOR_GUARDED_ELIF_CONDITION_B_METHODDEF #endif /* !defined(TEST_PREPROCESSOR_GUARDED_ELIF_CONDITION_B_METHODDEF) */ #ifndef TEST_PREPROCESSOR_GUARDED_ELSE_METHODDEF #define TEST_PREPROCESSOR_GUARDED_ELSE_METHODDEF #endif /* !defined(TEST_PREPROCESSOR_GUARDED_ELSE_METHODDEF) */ /*[clinic end generated code: output=3804bb18d454038c input=3fc80c9989d2f2e1]*/ /*[clinic input] test_paramname_module module as mod: object [clinic start generated code]*/ PyDoc_STRVAR(test_paramname_module__doc__, "test_paramname_module($module, /, module)\n" "--\n" "\n"); #define TEST_PARAMNAME_MODULE_METHODDEF \ {"test_paramname_module", (PyCFunction)(void(*)(void))test_paramname_module, METH_FASTCALL|METH_KEYWORDS, test_paramname_module__doc__}, static PyObject * test_paramname_module_impl(PyObject *module, PyObject *mod); static PyObject * test_paramname_module(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) { PyObject *return_value = NULL; static const char * const _keywords[] = {"module", NULL}; static _PyArg_Parser _parser = {NULL, _keywords, "test_paramname_module", 0}; PyObject *argsbuf[1]; PyObject *mod; args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 1, 1, 0, argsbuf); if (!args) { goto exit; } mod = args[0]; return_value = test_paramname_module_impl(module, mod); exit: return return_value; } static PyObject * test_paramname_module_impl(PyObject *module, PyObject *mod) /*[clinic end generated code: output=2a6769d34d1b2be0 input=afefe259667f13ba]*/
Close