003 File Manager
Current Path:
/usr/local/lib/python3.8/test
usr
/
local
/
lib
/
python3.8
/
test
/
📁
..
📄
Sine-1000Hz-300ms.aif
(60.25 KB)
📄
__init__.py
(47 B)
📄
__main__.py
(41 B)
📁
__pycache__
📄
_test_multiprocessing.py
(183.09 KB)
📄
allsans.pem
(9.87 KB)
📄
ann_module.py
(1.08 KB)
📄
ann_module2.py
(519 B)
📄
ann_module3.py
(448 B)
📁
audiodata
📄
audiotest.au
(27.48 KB)
📄
audiotests.py
(12.46 KB)
📄
audit-tests.py
(8.9 KB)
📄
autotest.py
(209 B)
📄
bad_coding.py
(24 B)
📄
bad_coding2.py
(30 B)
📄
bad_getattr.py
(61 B)
📄
bad_getattr2.py
(77 B)
📄
bad_getattr3.py
(139 B)
📄
badcert.pem
(1.88 KB)
📄
badkey.pem
(2.11 KB)
📄
badsyntax_3131.py
(32 B)
📄
badsyntax_future10.py
(95 B)
📄
badsyntax_future3.py
(172 B)
📄
badsyntax_future4.py
(153 B)
📄
badsyntax_future5.py
(184 B)
📄
badsyntax_future6.py
(161 B)
📄
badsyntax_future7.py
(196 B)
📄
badsyntax_future8.py
(122 B)
📄
badsyntax_future9.py
(142 B)
📄
badsyntax_pep3120.py
(14 B)
📄
bisect_cmd.py
(4.85 KB)
📄
bytecode_helper.py
(1.56 KB)
📁
capath
📄
cfgparser.1
(67 B)
📄
cfgparser.2
(19.02 KB)
📄
cfgparser.3
(1.55 KB)
📁
cjkencodings
📄
clinic.test
(94.65 KB)
📄
cmath_testcases.txt
(141.05 KB)
📄
coding20731.py
(22 B)
📄
curses_tests.py
(1.22 KB)
📁
data
📄
dataclass_module_1.py
(837 B)
📄
dataclass_module_1_str.py
(835 B)
📄
dataclass_module_2.py
(756 B)
📄
dataclass_module_2_str.py
(754 B)
📄
dataclass_textanno.py
(126 B)
📄
datetimetester.py
(239.84 KB)
📁
decimaltestdata
📄
dis_module.py
(76 B)
📄
doctest_aliases.py
(240 B)
📄
double_const.py
(1.18 KB)
📁
dtracedata
📁
eintrdata
📄
empty.vbs
(70 B)
📁
encoded_modules
📄
exception_hierarchy.txt
(1.78 KB)
📄
ffdh3072.pem
(2.16 KB)
📄
final_a.py
(411 B)
📄
final_b.py
(411 B)
📄
floating_points.txt
(15.92 KB)
📄
fork_wait.py
(2.53 KB)
📄
formatfloat_testcases.txt
(7.45 KB)
📄
future_test1.py
(229 B)
📄
future_test2.py
(149 B)
📄
gdb_sample.py
(153 B)
📄
good_getattr.py
(198 B)
📄
idnsans.pem
(9.71 KB)
📄
ieee754.txt
(3.21 KB)
📁
imghdrdata
📄
imp_dummy.py
(63 B)
📄
inspect_fodder.py
(1.88 KB)
📄
inspect_fodder2.py
(2.06 KB)
📄
keycert.passwd.pem
(4.13 KB)
📄
keycert.pem
(3.96 KB)
📄
keycert2.pem
(3.98 KB)
📄
keycert3.pem
(9.23 KB)
📄
keycert4.pem
(9.24 KB)
📄
keycertecc.pem
(5.5 KB)
📁
libregrtest
📄
list_tests.py
(16.54 KB)
📄
lock_tests.py
(28.26 KB)
📄
mailcap.txt
(1.24 KB)
📄
make_ssl_certs.py
(9.25 KB)
📄
mapping_tests.py
(21.75 KB)
📄
math_testcases.txt
(23.19 KB)
📄
memory_watchdog.py
(859 B)
📄
mime.types
(47.37 KB)
📄
mock_socket.py
(3.53 KB)
📄
mod_generics_cache.py
(1.13 KB)
📄
mp_fork_bomb.py
(448 B)
📄
mp_preload.py
(351 B)
📄
multibytecodec_support.py
(14.17 KB)
📄
nokia.pem
(1.88 KB)
📄
nosan.pem
(7.54 KB)
📄
nullbytecert.pem
(5.31 KB)
📄
nullcert.pem
(0 B)
📄
outstanding_bugs.py
(370 B)
📄
pickletester.py
(135.99 KB)
📄
profilee.py
(2.97 KB)
📄
pstats.pck
(65.05 KB)
📄
pycacert.pem
(5.53 KB)
📄
pycakey.pem
(2.43 KB)
📄
pyclbr_input.py
(648 B)
📄
pydoc_mod.py
(713 B)
📄
pydocfodder.py
(6.18 KB)
📄
pythoninfo.py
(20.34 KB)
📄
randv2_32.pck
(7.34 KB)
📄
randv2_64.pck
(7.19 KB)
📄
randv3.pck
(7.82 KB)
📄
re_tests.py
(25.93 KB)
📄
recursion.tar
(516 B)
📄
regrtest.py
(1.34 KB)
📄
relimport.py
(27 B)
📄
reperf.py
(538 B)
📄
revocation.crl
(800 B)
📄
sample_doctest.py
(1.02 KB)
📄
sample_doctest_no_docstrings.py
(227 B)
📄
sample_doctest_no_doctests.py
(269 B)
📄
secp384r1.pem
(256 B)
📄
selfsigned_pythontestdotnet.pem
(2.08 KB)
📄
seq_tests.py
(14.18 KB)
📄
sgml_input.html
(8.1 KB)
📄
signalinterproctester.py
(2.7 KB)
📁
sndhdrdata
📄
sortperf.py
(4.69 KB)
📄
ssl_cert.pem
(1.53 KB)
📄
ssl_key.passwd.pem
(2.59 KB)
📄
ssl_key.pem
(2.43 KB)
📄
ssl_servers.py
(7.04 KB)
📄
ssltests.py
(1.03 KB)
📄
string_tests.py
(64.65 KB)
📁
subprocessdata
📁
support
📄
talos-2019-0758.pem
(1.3 KB)
📄
test___all__.py
(4.12 KB)
📄
test___future__.py
(2.36 KB)
📄
test__locale.py
(7.83 KB)
📄
test__opcode.py
(3.03 KB)
📄
test__osx_support.py
(13.66 KB)
📄
test__xxsubinterpreters.py
(68.7 KB)
📄
test_abc.py
(18 KB)
📄
test_abstract_numbers.py
(1.49 KB)
📄
test_aifc.py
(17.68 KB)
📄
test_argparse.py
(172.67 KB)
📄
test_array.py
(52.57 KB)
📄
test_asdl_parser.py
(4.15 KB)
📄
test_ast.py
(88.53 KB)
📄
test_asyncgen.py
(31.44 KB)
📄
test_asynchat.py
(9.28 KB)
📁
test_asyncio
📄
test_asyncore.py
(25.81 KB)
📄
test_atexit.py
(5.81 KB)
📄
test_audioop.py
(28.24 KB)
📄
test_audit.py
(4.05 KB)
📄
test_augassign.py
(7.68 KB)
📄
test_base64.py
(30.17 KB)
📄
test_baseexception.py
(6.86 KB)
📄
test_bdb.py
(41.55 KB)
📄
test_bigaddrspace.py
(2.92 KB)
📄
test_bigmem.py
(44.88 KB)
📄
test_binascii.py
(18 KB)
📄
test_binhex.py
(1.79 KB)
📄
test_binop.py
(14.14 KB)
📄
test_bisect.py
(13.63 KB)
📄
test_bool.py
(12.48 KB)
📄
test_buffer.py
(160.04 KB)
📄
test_bufio.py
(2.54 KB)
📄
test_builtin.py
(78.38 KB)
📄
test_bytes.py
(72.23 KB)
📄
test_bz2.py
(36.76 KB)
📄
test_c_locale_coercion.py
(18.82 KB)
📄
test_calendar.py
(48.71 KB)
📄
test_call.py
(20.88 KB)
📄
test_capi.py
(30.46 KB)
📄
test_cgi.py
(22.15 KB)
📄
test_cgitb.py
(2.5 KB)
📄
test_charmapcodec.py
(1.68 KB)
📄
test_class.py
(17.42 KB)
📄
test_clinic.py
(21.71 KB)
📄
test_cmath.py
(24.07 KB)
📄
test_cmd.py
(6.1 KB)
📄
test_cmd_line.py
(33.72 KB)
📄
test_cmd_line_script.py
(31.46 KB)
📄
test_code.py
(13.66 KB)
📄
test_code_module.py
(5.51 KB)
📄
test_codeccallbacks.py
(40.97 KB)
📄
test_codecencodings_cn.py
(3.86 KB)
📄
test_codecencodings_hk.py
(701 B)
📄
test_codecencodings_iso2022.py
(1.36 KB)
📄
test_codecencodings_jp.py
(4.79 KB)
📄
test_codecencodings_kr.py
(2.96 KB)
📄
test_codecencodings_tw.py
(681 B)
📄
test_codecmaps_cn.py
(746 B)
📄
test_codecmaps_hk.py
(386 B)
📄
test_codecmaps_jp.py
(1.7 KB)
📄
test_codecmaps_kr.py
(1.16 KB)
📄
test_codecmaps_tw.py
(705 B)
📄
test_codecs.py
(129.38 KB)
📄
test_codeop.py
(7.97 KB)
📄
test_collections.py
(83.93 KB)
📄
test_colorsys.py
(3.83 KB)
📄
test_compare.py
(3.82 KB)
📄
test_compile.py
(36.48 KB)
📄
test_compileall.py
(26.7 KB)
📄
test_complex.py
(30.24 KB)
📄
test_concurrent_futures.py
(44.93 KB)
📄
test_configparser.py
(84.93 KB)
📄
test_contains.py
(3.49 KB)
📄
test_context.py
(29.33 KB)
📄
test_contextlib.py
(32.54 KB)
📄
test_contextlib_async.py
(14.82 KB)
📄
test_copy.py
(25.81 KB)
📄
test_copyreg.py
(4.39 KB)
📄
test_coroutines.py
(62.52 KB)
📄
test_cprofile.py
(6.33 KB)
📄
test_crashers.py
(1.17 KB)
📄
test_crypt.py
(3.97 KB)
📄
test_csv.py
(47.77 KB)
📄
test_ctypes.py
(184 B)
📄
test_curses.py
(45.47 KB)
📄
test_dataclasses.py
(108.8 KB)
📄
test_datetime.py
(2.15 KB)
📄
test_dbm.py
(6.45 KB)
📄
test_dbm_dumb.py
(10.61 KB)
📄
test_dbm_gnu.py
(6.22 KB)
📄
test_dbm_ndbm.py
(5.05 KB)
📄
test_decimal.py
(206.63 KB)
📄
test_decorators.py
(9.48 KB)
📄
test_defaultdict.py
(5.88 KB)
📄
test_deque.py
(34.46 KB)
📄
test_descr.py
(190.58 KB)
📄
test_descrtut.py
(11.53 KB)
📄
test_devpoll.py
(4.5 KB)
📄
test_dict.py
(45 KB)
📄
test_dict_version.py
(5.88 KB)
📄
test_dictcomps.py
(4.42 KB)
📄
test_dictviews.py
(11.68 KB)
📄
test_difflib.py
(19.64 KB)
📄
test_difflib_expect.html
(100.85 KB)
📄
test_dis.py
(48.4 KB)
📄
test_distutils.py
(375 B)
📄
test_doctest.py
(98.67 KB)
📄
test_doctest.txt
(300 B)
📄
test_doctest2.py
(2.3 KB)
📄
test_doctest2.txt
(392 B)
📄
test_doctest3.txt
(82 B)
📄
test_doctest4.txt
(244 B)
📄
test_docxmlrpc.py
(8.67 KB)
📄
test_dtrace.py
(5.23 KB)
📄
test_dummy_thread.py
(9.69 KB)
📄
test_dummy_threading.py
(1.7 KB)
📄
test_dynamic.py
(4.29 KB)
📄
test_dynamicclassattribute.py
(9.57 KB)
📄
test_eintr.py
(1.32 KB)
📁
test_email
📄
test_embed.py
(49.23 KB)
📄
test_ensurepip.py
(9.83 KB)
📄
test_enum.py
(113.68 KB)
📄
test_enumerate.py
(8.46 KB)
📄
test_eof.py
(1.94 KB)
📄
test_epoll.py
(9.03 KB)
📄
test_errno.py
(1.04 KB)
📄
test_exception_hierarchy.py
(7.43 KB)
📄
test_exception_variations.py
(3.86 KB)
📄
test_exceptions.py
(49.81 KB)
📄
test_extcall.py
(13.49 KB)
📄
test_faulthandler.py
(28.13 KB)
📄
test_fcntl.py
(6.21 KB)
📄
test_file.py
(11.02 KB)
📄
test_file_eintr.py
(10.6 KB)
📄
test_filecmp.py
(8.69 KB)
📄
test_fileinput.py
(37.33 KB)
📄
test_fileio.py
(19.96 KB)
📄
test_finalization.py
(14.66 KB)
📄
test_float.py
(63.41 KB)
📄
test_flufl.py
(1.32 KB)
📄
test_fnmatch.py
(5.07 KB)
📄
test_fork1.py
(3.67 KB)
📄
test_format.py
(22.58 KB)
📄
test_fractions.py
(29.83 KB)
📄
test_frame.py
(5.67 KB)
📄
test_frozen.py
(943 B)
📄
test_fstring.py
(46.16 KB)
📄
test_ftplib.py
(39.71 KB)
📄
test_funcattrs.py
(13.54 KB)
📄
test_functools.py
(90.59 KB)
📄
test_future.py
(11.9 KB)
📄
test_future3.py
(490 B)
📄
test_future4.py
(222 B)
📄
test_future5.py
(510 B)
📄
test_gc.py
(40.49 KB)
📄
test_gdb.py
(40.88 KB)
📄
test_generator_stop.py
(943 B)
📄
test_generators.py
(58.51 KB)
📄
test_genericclass.py
(9.28 KB)
📄
test_genericpath.py
(21.7 KB)
📄
test_genexps.py
(7.12 KB)
📄
test_getargs2.py
(50 KB)
📄
test_getopt.py
(6.75 KB)
📄
test_getpass.py
(6.29 KB)
📄
test_gettext.py
(41.38 KB)
📄
test_glob.py
(13.03 KB)
📄
test_global.py
(1.31 KB)
📄
test_grammar.py
(57.5 KB)
📄
test_grp.py
(3.54 KB)
📄
test_gzip.py
(29.9 KB)
📄
test_hash.py
(11.45 KB)
📄
test_hashlib.py
(39.43 KB)
📄
test_heapq.py
(16.4 KB)
📄
test_hmac.py
(22.24 KB)
📄
test_html.py
(4.23 KB)
📄
test_htmlparser.py
(33.19 KB)
📄
test_http_cookiejar.py
(78.36 KB)
📄
test_http_cookies.py
(18.71 KB)
📄
test_httplib.py
(76.98 KB)
📄
test_httpservers.py
(45.24 KB)
📄
test_idle.py
(825 B)
📄
test_imaplib.py
(38.95 KB)
📄
test_imghdr.py
(4.66 KB)
📄
test_imp.py
(17.73 KB)
📁
test_import
📁
test_importlib
📄
test_index.py
(8.37 KB)
📄
test_inspect.py
(151.79 KB)
📄
test_int.py
(20.8 KB)
📄
test_int_literal.py
(6.89 KB)
📄
test_io.py
(163.94 KB)
📄
test_ioctl.py
(3.2 KB)
📄
test_ipaddress.py
(90.98 KB)
📄
test_isinstance.py
(10.25 KB)
📄
test_iter.py
(31.81 KB)
📄
test_iterlen.py
(7.1 KB)
📄
test_itertools.py
(101.41 KB)
📁
test_json
📄
test_keyword.py
(1.23 KB)
📄
test_keywordonlyarg.py
(6.85 KB)
📄
test_kqueue.py
(8.76 KB)
📄
test_largefile.py
(6.83 KB)
📄
test_lib2to3.py
(101 B)
📄
test_linecache.py
(7.79 KB)
📄
test_list.py
(7.4 KB)
📄
test_listcomps.py
(3.76 KB)
📄
test_lltrace.py
(1012 B)
📄
test_locale.py
(23.87 KB)
📄
test_logging.py
(182.43 KB)
📄
test_long.py
(53.21 KB)
📄
test_longexp.py
(233 B)
📄
test_lzma.py
(87.92 KB)
📄
test_mailbox.py
(91.92 KB)
📄
test_mailcap.py
(9.88 KB)
📄
test_marshal.py
(20.57 KB)
📄
test_math.py
(82.18 KB)
📄
test_memoryio.py
(31.48 KB)
📄
test_memoryview.py
(17.78 KB)
📄
test_metaclass.py
(6.2 KB)
📄
test_mimetypes.py
(12.14 KB)
📄
test_minidom.py
(66.95 KB)
📄
test_mmap.py
(29.04 KB)
📄
test_module.py
(10.3 KB)
📄
test_modulefinder.py
(12.2 KB)
📄
test_msilib.py
(5.06 KB)
📄
test_multibytecodec.py
(15.04 KB)
📄
test_multiprocessing_fork.py
(477 B)
📄
test_multiprocessing_forkserver.py
(392 B)
📄
test_multiprocessing_main_handling.py
(11.45 KB)
📄
test_multiprocessing_spawn.py
(277 B)
📄
test_named_expressions.py
(16.51 KB)
📄
test_netrc.py
(5.96 KB)
📄
test_nis.py
(1.13 KB)
📄
test_nntplib.py
(61.7 KB)
📄
test_normalization.py
(3.66 KB)
📄
test_ntpath.py
(35.08 KB)
📄
test_numeric_tower.py
(7.18 KB)
📄
test_opcodes.py
(3.61 KB)
📄
test_openpty.py
(600 B)
📄
test_operator.py
(23.54 KB)
📄
test_optparse.py
(60.99 KB)
📄
test_ordered_dict.py
(30.22 KB)
📄
test_os.py
(150.53 KB)
📄
test_ossaudiodev.py
(7.06 KB)
📄
test_osx_env.py
(1.3 KB)
📄
test_parser.py
(35.72 KB)
📄
test_pathlib.py
(97.12 KB)
📄
test_pdb.py
(55.36 KB)
📄
test_peepholer.py
(19.41 KB)
📄
test_pickle.py
(19.16 KB)
📄
test_picklebuffer.py
(4.96 KB)
📄
test_pickletools.py
(4.33 KB)
📄
test_pipes.py
(6.59 KB)
📄
test_pkg.py
(9.59 KB)
📄
test_pkgimport.py
(2.67 KB)
📄
test_pkgutil.py
(19.25 KB)
📄
test_platform.py
(14.31 KB)
📄
test_plistlib.py
(41.43 KB)
📄
test_poll.py
(7.23 KB)
📄
test_popen.py
(1.98 KB)
📄
test_poplib.py
(16.97 KB)
📄
test_positional_only_arg.py
(17.5 KB)
📄
test_posix.py
(75.76 KB)
📄
test_posixpath.py
(29.19 KB)
📄
test_pow.py
(5.44 KB)
📄
test_pprint.py
(43.85 KB)
📄
test_print.py
(7.37 KB)
📄
test_profile.py
(8.72 KB)
📄
test_property.py
(8.77 KB)
📄
test_pstats.py
(3.04 KB)
📄
test_pty.py
(11.97 KB)
📄
test_pulldom.py
(12.66 KB)
📄
test_pwd.py
(4.17 KB)
📄
test_py_compile.py
(10.78 KB)
📄
test_pyclbr.py
(10 KB)
📄
test_pydoc.py
(56.98 KB)
📄
test_pyexpat.py
(26.54 KB)
📄
test_queue.py
(20.36 KB)
📄
test_quopri.py
(7.78 KB)
📄
test_raise.py
(12.86 KB)
📄
test_random.py
(45.59 KB)
📄
test_range.py
(23.35 KB)
📄
test_re.py
(106.41 KB)
📄
test_readline.py
(12.95 KB)
📄
test_regrtest.py
(46.36 KB)
📄
test_repl.py
(3.96 KB)
📄
test_reprlib.py
(15.12 KB)
📄
test_resource.py
(7.02 KB)
📄
test_richcmp.py
(11.91 KB)
📄
test_rlcompleter.py
(6.3 KB)
📄
test_robotparser.py
(10.69 KB)
📄
test_runpy.py
(33.86 KB)
📄
test_sax.py
(46.9 KB)
📄
test_sched.py
(6.41 KB)
📄
test_scope.py
(19.7 KB)
📄
test_script_helper.py
(5.78 KB)
📄
test_secrets.py
(4.28 KB)
📄
test_select.py
(2.69 KB)
📄
test_selectors.py
(17.79 KB)
📄
test_set.py
(64.41 KB)
📄
test_setcomps.py
(3.7 KB)
📄
test_shelve.py
(6.24 KB)
📄
test_shlex.py
(13.29 KB)
📄
test_shutil.py
(101.55 KB)
📄
test_signal.py
(46.62 KB)
📄
test_site.py
(24.71 KB)
📄
test_slice.py
(8.25 KB)
📄
test_smtpd.py
(40.14 KB)
📄
test_smtplib.py
(56.51 KB)
📄
test_smtpnet.py
(2.87 KB)
📄
test_sndhdr.py
(1.43 KB)
📄
test_socket.py
(232.71 KB)
📄
test_socketserver.py
(17.7 KB)
📄
test_sort.py
(13.42 KB)
📄
test_source_encoding.py
(7.89 KB)
📄
test_spwd.py
(2.71 KB)
📄
test_sqlite.py
(948 B)
📄
test_ssl.py
(203.3 KB)
📄
test_startfile.py
(1.29 KB)
📄
test_stat.py
(8.3 KB)
📄
test_statistics.py
(106.5 KB)
📄
test_strftime.py
(7.54 KB)
📄
test_string.py
(19.8 KB)
📄
test_string_literals.py
(9.88 KB)
📄
test_stringprep.py
(3.04 KB)
📄
test_strptime.py
(34.42 KB)
📄
test_strtod.py
(20.06 KB)
📄
test_struct.py
(34.41 KB)
📄
test_structmembers.py
(4.7 KB)
📄
test_structseq.py
(3.87 KB)
📄
test_subclassinit.py
(8.12 KB)
📄
test_subprocess.py
(142.64 KB)
📄
test_sunau.py
(6.07 KB)
📄
test_sundry.py
(2.07 KB)
📄
test_super.py
(9.6 KB)
📄
test_support.py
(24.12 KB)
📄
test_symbol.py
(2.06 KB)
📄
test_symtable.py
(9.13 KB)
📄
test_syntax.py
(25.75 KB)
📄
test_sys.py
(55.24 KB)
📄
test_sys_setprofile.py
(12.31 KB)
📄
test_sys_settrace.py
(43.08 KB)
📄
test_sysconfig.py
(17.01 KB)
📄
test_syslog.py
(1.15 KB)
📄
test_tabnanny.py
(13.44 KB)
📄
test_tarfile.py
(98.31 KB)
📄
test_tcl.py
(30.74 KB)
📄
test_telnetlib.py
(12.7 KB)
📄
test_tempfile.py
(52.57 KB)
📄
test_textwrap.py
(38.84 KB)
📄
test_thread.py
(8.41 KB)
📄
test_threaded_import.py
(8.9 KB)
📄
test_threadedtempfile.py
(1.85 KB)
📄
test_threading.py
(47.52 KB)
📄
test_threading_local.py
(6.09 KB)
📄
test_threadsignals.py
(10.09 KB)
📄
test_time.py
(38.43 KB)
📄
test_timeit.py
(14.8 KB)
📄
test_timeout.py
(11.19 KB)
📄
test_tix.py
(756 B)
📄
test_tk.py
(362 B)
📄
test_tokenize.py
(63.18 KB)
📁
test_tools
📄
test_trace.py
(19.89 KB)
📄
test_traceback.py
(46.97 KB)
📄
test_tracemalloc.py
(37.41 KB)
📄
test_ttk_guionly.py
(746 B)
📄
test_ttk_textonly.py
(299 B)
📄
test_tuple.py
(18.85 KB)
📄
test_turtle.py
(12.79 KB)
📄
test_type_comments.py
(10.13 KB)
📄
test_typechecks.py
(2.55 KB)
📄
test_types.py
(58 KB)
📄
test_typing.py
(122.05 KB)
📄
test_ucn.py
(9.35 KB)
📄
test_unary.py
(1.63 KB)
📄
test_unicode.py
(129.94 KB)
📄
test_unicode_file.py
(5.74 KB)
📄
test_unicode_file_functions.py
(6.84 KB)
📄
test_unicode_identifiers.py
(891 B)
📄
test_unicodedata.py
(12.7 KB)
📄
test_unittest.py
(286 B)
📄
test_univnewlines.py
(3.83 KB)
📄
test_unpack.py
(3.01 KB)
📄
test_unpack_ex.py
(8.73 KB)
📄
test_urllib.py
(71.24 KB)
📄
test_urllib2.py
(76.95 KB)
📄
test_urllib2_localnet.py
(24.24 KB)
📄
test_urllib2net.py
(12.39 KB)
📄
test_urllib_response.py
(1.69 KB)
📄
test_urllibnet.py
(8.9 KB)
📄
test_urlparse.py
(64.87 KB)
📄
test_userdict.py
(7.64 KB)
📄
test_userlist.py
(1.97 KB)
📄
test_userstring.py
(2.4 KB)
📄
test_utf8_mode.py
(9.22 KB)
📄
test_utf8source.py
(1.15 KB)
📄
test_uu.py
(8.02 KB)
📄
test_uuid.py
(35.74 KB)
📄
test_venv.py
(20.46 KB)
📄
test_wait3.py
(1.16 KB)
📄
test_wait4.py
(1.15 KB)
📁
test_warnings
📄
test_wave.py
(6.57 KB)
📄
test_weakref.py
(69.47 KB)
📄
test_weakset.py
(15.03 KB)
📄
test_webbrowser.py
(10.47 KB)
📄
test_winconsoleio.py
(6.14 KB)
📄
test_winreg.py
(21.38 KB)
📄
test_winsound.py
(4.57 KB)
📄
test_with.py
(25.78 KB)
📄
test_wsgiref.py
(30.1 KB)
📄
test_xdrlib.py
(2.17 KB)
📄
test_xml_dom_minicompat.py
(4.18 KB)
📄
test_xml_etree.py
(147.87 KB)
📄
test_xml_etree_c.py
(8.06 KB)
📄
test_xmlrpc.py
(55.96 KB)
📄
test_xmlrpc_net.py
(1015 B)
📄
test_xxtestfuzz.py
(670 B)
📄
test_yield_from.py
(30.01 KB)
📄
test_zipapp.py
(15.92 KB)
📄
test_zipfile.py
(115.45 KB)
📄
test_zipfile64.py
(5.8 KB)
📄
test_zipimport.py
(29.28 KB)
📄
test_zipimport_support.py
(10.44 KB)
📄
test_zlib.py
(34.48 KB)
📄
testcodec.py
(1.02 KB)
📄
testtar.tar
(425 KB)
📄
tf_inherit_check.py
(714 B)
📄
threaded_import_hangers.py
(1.45 KB)
📄
time_hashlib.py
(2.87 KB)
📄
tokenize_tests-latin1-coding-cookie-and-utf8-bom-sig.txt
(443 B)
📄
tokenize_tests-no-coding-cookie-and-utf8-bom-sig-only.txt
(302 B)
📄
tokenize_tests-utf8-coding-cookie-and-no-utf8-bom-sig.txt
(421 B)
📄
tokenize_tests-utf8-coding-cookie-and-utf8-bom-sig.txt
(326 B)
📄
tokenize_tests.txt
(2.65 KB)
📁
tracedmodules
📄
win_console_handler.py
(1.38 KB)
📁
xmltestdata
📄
xmltests.py
(499 B)
📄
zip_cp437_header.zip
(270 B)
📄
zipdir.zip
(374 B)
📁
ziptestdata
Editing: pythoninfo.py
""" Collect various information about Python to help debugging test failures. """ from __future__ import print_function import errno import re import sys import traceback import warnings def normalize_text(text): if text is None: return None text = str(text) text = re.sub(r'\s+', ' ', text) return text.strip() class PythonInfo: def __init__(self): self.info = {} def add(self, key, value): if key in self.info: raise ValueError("duplicate key: %r" % key) if value is None: return if not isinstance(value, int): if not isinstance(value, str): # convert other objects like sys.flags to string value = str(value) value = value.strip() if not value: return self.info[key] = value def get_infos(self): """ Get information as a key:value dictionary where values are strings. """ return {key: str(value) for key, value in self.info.items()} def copy_attributes(info_add, obj, name_fmt, attributes, *, formatter=None): for attr in attributes: value = getattr(obj, attr, None) if value is None: continue name = name_fmt % attr if formatter is not None: value = formatter(attr, value) info_add(name, value) def copy_attr(info_add, name, mod, attr_name): try: value = getattr(mod, attr_name) except AttributeError: return info_add(name, value) def call_func(info_add, name, mod, func_name, *, formatter=None): try: func = getattr(mod, func_name) except AttributeError: return value = func() if formatter is not None: value = formatter(value) info_add(name, value) def collect_sys(info_add): attributes = ( '_framework', 'abiflags', 'api_version', 'builtin_module_names', 'byteorder', 'dont_write_bytecode', 'executable', 'flags', 'float_info', 'float_repr_style', 'hash_info', 'hexversion', 'implementation', 'int_info', 'maxsize', 'maxunicode', 'path', 'platform', 'prefix', 'thread_info', 'version', 'version_info', 'winver', ) copy_attributes(info_add, sys, 'sys.%s', attributes) call_func(info_add, 'sys.androidapilevel', sys, 'getandroidapilevel') call_func(info_add, 'sys.windowsversion', sys, 'getwindowsversion') encoding = sys.getfilesystemencoding() if hasattr(sys, 'getfilesystemencodeerrors'): encoding = '%s/%s' % (encoding, sys.getfilesystemencodeerrors()) info_add('sys.filesystem_encoding', encoding) for name in ('stdin', 'stdout', 'stderr'): stream = getattr(sys, name) if stream is None: continue encoding = getattr(stream, 'encoding', None) if not encoding: continue errors = getattr(stream, 'errors', None) if errors: encoding = '%s/%s' % (encoding, errors) info_add('sys.%s.encoding' % name, encoding) # Were we compiled --with-pydebug or with #define Py_DEBUG? Py_DEBUG = hasattr(sys, 'gettotalrefcount') if Py_DEBUG: text = 'Yes (sys.gettotalrefcount() present)' else: text = 'No (sys.gettotalrefcount() missing)' info_add('Py_DEBUG', text) def collect_platform(info_add): import platform arch = platform.architecture() arch = ' '.join(filter(bool, arch)) info_add('platform.architecture', arch) info_add('platform.python_implementation', platform.python_implementation()) info_add('platform.platform', platform.platform(aliased=True)) libc_ver = ('%s %s' % platform.libc_ver()).strip() if libc_ver: info_add('platform.libc_ver', libc_ver) def collect_locale(info_add): import locale info_add('locale.encoding', locale.getpreferredencoding(False)) def collect_builtins(info_add): info_add('builtins.float.float_format', float.__getformat__("float")) info_add('builtins.float.double_format', float.__getformat__("double")) def collect_urandom(info_add): import os if hasattr(os, 'getrandom'): # PEP 524: Check if system urandom is initialized try: try: os.getrandom(1, os.GRND_NONBLOCK) state = 'ready (initialized)' except BlockingIOError as exc: state = 'not seeded yet (%s)' % exc info_add('os.getrandom', state) except OSError as exc: # Python was compiled on a more recent Linux version # than the current Linux kernel: ignore OSError(ENOSYS) if exc.errno != errno.ENOSYS: raise def collect_os(info_add): import os def format_attr(attr, value): if attr in ('supports_follow_symlinks', 'supports_fd', 'supports_effective_ids'): return str(sorted(func.__name__ for func in value)) else: return value attributes = ( 'name', 'supports_bytes_environ', 'supports_effective_ids', 'supports_fd', 'supports_follow_symlinks', ) copy_attributes(info_add, os, 'os.%s', attributes, formatter=format_attr) call_func(info_add, 'os.getcwd', os, 'getcwd') call_func(info_add, 'os.getuid', os, 'getuid') call_func(info_add, 'os.getgid', os, 'getgid') call_func(info_add, 'os.uname', os, 'uname') def format_groups(groups): return ', '.join(map(str, groups)) call_func(info_add, 'os.getgroups', os, 'getgroups', formatter=format_groups) if hasattr(os, 'getlogin'): try: login = os.getlogin() except OSError: # getlogin() fails with "OSError: [Errno 25] Inappropriate ioctl # for device" on Travis CI pass else: info_add("os.login", login) call_func(info_add, 'os.cpu_count', os, 'cpu_count') call_func(info_add, 'os.getloadavg', os, 'getloadavg') # Environment variables used by the stdlib and tests. Don't log the full # environment: filter to list to not leak sensitive information. # # HTTP_PROXY is not logged because it can contain a password. ENV_VARS = frozenset(( "APPDATA", "AR", "ARCHFLAGS", "ARFLAGS", "AUDIODEV", "CC", "CFLAGS", "COLUMNS", "COMPUTERNAME", "COMSPEC", "CPP", "CPPFLAGS", "DISPLAY", "DISTUTILS_DEBUG", "DISTUTILS_USE_SDK", "DYLD_LIBRARY_PATH", "ENSUREPIP_OPTIONS", "HISTORY_FILE", "HOME", "HOMEDRIVE", "HOMEPATH", "IDLESTARTUP", "LANG", "LDFLAGS", "LDSHARED", "LD_LIBRARY_PATH", "LINES", "MACOSX_DEPLOYMENT_TARGET", "MAILCAPS", "MAKEFLAGS", "MIXERDEV", "MSSDK", "PATH", "PATHEXT", "PIP_CONFIG_FILE", "PLAT", "POSIXLY_CORRECT", "PY_SAX_PARSER", "ProgramFiles", "ProgramFiles(x86)", "RUNNING_ON_VALGRIND", "SDK_TOOLS_BIN", "SERVER_SOFTWARE", "SHELL", "SOURCE_DATE_EPOCH", "SYSTEMROOT", "TEMP", "TERM", "TILE_LIBRARY", "TIX_LIBRARY", "TMP", "TMPDIR", "TRAVIS", "TZ", "USERPROFILE", "VIRTUAL_ENV", "WAYLAND_DISPLAY", "WINDIR", "_PYTHON_HOST_PLATFORM", "_PYTHON_PROJECT_BASE", "_PYTHON_SYSCONFIGDATA_NAME", "__PYVENV_LAUNCHER__", )) for name, value in os.environ.items(): uname = name.upper() if (uname in ENV_VARS # Copy PYTHON* and LC_* variables or uname.startswith(("PYTHON", "LC_")) # Visual Studio: VS140COMNTOOLS or (uname.startswith("VS") and uname.endswith("COMNTOOLS"))): info_add('os.environ[%s]' % name, value) if hasattr(os, 'umask'): mask = os.umask(0) os.umask(mask) info_add("os.umask", '%03o' % mask) def collect_pwd(info_add): try: import pwd except ImportError: return import os uid = os.getuid() try: entry = pwd.getpwuid(uid) except KeyError: entry = None info_add('pwd.getpwuid(%s)'% uid, entry if entry is not None else '<KeyError>') if entry is None: # there is nothing interesting to read if the current user identifier # is not the password database return if hasattr(os, 'getgrouplist'): groups = os.getgrouplist(entry.pw_name, entry.pw_gid) groups = ', '.join(map(str, groups)) info_add('os.getgrouplist', groups) def collect_readline(info_add): try: import readline except ImportError: return def format_attr(attr, value): if isinstance(value, int): return "%#x" % value else: return value attributes = ( "_READLINE_VERSION", "_READLINE_RUNTIME_VERSION", "_READLINE_LIBRARY_VERSION", ) copy_attributes(info_add, readline, 'readline.%s', attributes, formatter=format_attr) if not hasattr(readline, "_READLINE_LIBRARY_VERSION"): # _READLINE_LIBRARY_VERSION has been added to CPython 3.7 doc = getattr(readline, '__doc__', '') if 'libedit readline' in doc: info_add('readline.library', 'libedit readline') elif 'GNU readline' in doc: info_add('readline.library', 'GNU readline') def collect_gdb(info_add): import subprocess try: proc = subprocess.Popen(["gdb", "-nx", "--version"], stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True) version = proc.communicate()[0] if proc.returncode: # ignore gdb failure: test_gdb will log the error return except OSError: return # Only keep the first line version = version.splitlines()[0] info_add('gdb_version', version) def collect_tkinter(info_add): try: import _tkinter except ImportError: pass else: attributes = ('TK_VERSION', 'TCL_VERSION') copy_attributes(info_add, _tkinter, 'tkinter.%s', attributes) try: import tkinter except ImportError: pass else: tcl = tkinter.Tcl() patchlevel = tcl.call('info', 'patchlevel') info_add('tkinter.info_patchlevel', patchlevel) def collect_time(info_add): import time info_add('time.time', time.time()) attributes = ( 'altzone', 'daylight', 'timezone', 'tzname', ) copy_attributes(info_add, time, 'time.%s', attributes) if hasattr(time, 'get_clock_info'): for clock in ('clock', 'monotonic', 'perf_counter', 'process_time', 'thread_time', 'time'): try: # prevent DeprecatingWarning on get_clock_info('clock') with warnings.catch_warnings(record=True): clock_info = time.get_clock_info(clock) except ValueError: # missing clock like time.thread_time() pass else: info_add('time.get_clock_info(%s)' % clock, clock_info) def collect_datetime(info_add): try: import datetime except ImportError: return info_add('datetime.datetime.now', datetime.datetime.now()) def collect_sysconfig(info_add): import sysconfig for name in ( 'ABIFLAGS', 'ANDROID_API_LEVEL', 'CC', 'CCSHARED', 'CFLAGS', 'CFLAGSFORSHARED', 'CONFIG_ARGS', 'HOST_GNU_TYPE', 'MACHDEP', 'MULTIARCH', 'OPT', 'PY_CFLAGS', 'PY_CFLAGS_NODIST', 'PY_CORE_LDFLAGS', 'PY_LDFLAGS', 'PY_LDFLAGS_NODIST', 'PY_STDMODULE_CFLAGS', 'Py_DEBUG', 'Py_ENABLE_SHARED', 'SHELL', 'SOABI', 'prefix', ): value = sysconfig.get_config_var(name) if name == 'ANDROID_API_LEVEL' and not value: # skip ANDROID_API_LEVEL=0 continue value = normalize_text(value) info_add('sysconfig[%s]' % name, value) def collect_ssl(info_add): import os try: import ssl except ImportError: return try: import _ssl except ImportError: _ssl = None def format_attr(attr, value): if attr.startswith('OP_'): return '%#8x' % value else: return value attributes = ( 'OPENSSL_VERSION', 'OPENSSL_VERSION_INFO', 'HAS_SNI', 'OP_ALL', 'OP_NO_TLSv1_1', ) copy_attributes(info_add, ssl, 'ssl.%s', attributes, formatter=format_attr) for name, ctx in ( ('SSLContext', ssl.SSLContext()), ('default_https_context', ssl._create_default_https_context()), ('stdlib_context', ssl._create_stdlib_context()), ): attributes = ( 'minimum_version', 'maximum_version', 'protocol', 'options', 'verify_mode', ) copy_attributes(info_add, ctx, f'ssl.{name}.%s', attributes) env_names = ["OPENSSL_CONF", "SSLKEYLOGFILE"] if _ssl is not None and hasattr(_ssl, 'get_default_verify_paths'): parts = _ssl.get_default_verify_paths() env_names.extend((parts[0], parts[2])) for name in env_names: try: value = os.environ[name] except KeyError: continue info_add('ssl.environ[%s]' % name, value) def collect_socket(info_add): import socket hostname = socket.gethostname() info_add('socket.hostname', hostname) def collect_sqlite(info_add): try: import sqlite3 except ImportError: return attributes = ('version', 'sqlite_version') copy_attributes(info_add, sqlite3, 'sqlite3.%s', attributes) def collect_zlib(info_add): try: import zlib except ImportError: return attributes = ('ZLIB_VERSION', 'ZLIB_RUNTIME_VERSION') copy_attributes(info_add, zlib, 'zlib.%s', attributes) def collect_expat(info_add): try: from xml.parsers import expat except ImportError: return attributes = ('EXPAT_VERSION',) copy_attributes(info_add, expat, 'expat.%s', attributes) def collect_decimal(info_add): try: import _decimal except ImportError: return attributes = ('__libmpdec_version__',) copy_attributes(info_add, _decimal, '_decimal.%s', attributes) def collect_testcapi(info_add): try: import _testcapi except ImportError: return call_func(info_add, 'pymem.allocator', _testcapi, 'pymem_getallocatorsname') copy_attr(info_add, 'pymem.with_pymalloc', _testcapi, 'WITH_PYMALLOC') def collect_resource(info_add): try: import resource except ImportError: return limits = [attr for attr in dir(resource) if attr.startswith('RLIMIT_')] for name in limits: key = getattr(resource, name) value = resource.getrlimit(key) info_add('resource.%s' % name, value) call_func(info_add, 'resource.pagesize', resource, 'getpagesize') def collect_test_socket(info_add): try: from test import test_socket except ImportError: return # all check attributes like HAVE_SOCKET_CAN attributes = [name for name in dir(test_socket) if name.startswith('HAVE_')] copy_attributes(info_add, test_socket, 'test_socket.%s', attributes) def collect_test_support(info_add): try: from test import support except ImportError: return attributes = ('IPV6_ENABLED',) copy_attributes(info_add, support, 'test_support.%s', attributes) call_func(info_add, 'test_support._is_gui_available', support, '_is_gui_available') call_func(info_add, 'test_support.python_is_optimized', support, 'python_is_optimized') def collect_cc(info_add): import subprocess import sysconfig CC = sysconfig.get_config_var('CC') if not CC: return try: import shlex args = shlex.split(CC) except ImportError: args = CC.split() args.append('--version') try: proc = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, universal_newlines=True) except OSError: # Cannot run the compiler, for example when Python has been # cross-compiled and installed on the target platform where the # compiler is missing. return stdout = proc.communicate()[0] if proc.returncode: # CC --version failed: ignore error return text = stdout.splitlines()[0] text = normalize_text(text) info_add('CC.version', text) def collect_gdbm(info_add): try: from _gdbm import _GDBM_VERSION except ImportError: return info_add('gdbm.GDBM_VERSION', '.'.join(map(str, _GDBM_VERSION))) def collect_get_config(info_add): # Get global configuration variables, _PyPreConfig and _PyCoreConfig try: from _testinternalcapi import get_configs except ImportError: return all_configs = get_configs() for config_type in sorted(all_configs): config = all_configs[config_type] for key in sorted(config): info_add('%s[%s]' % (config_type, key), repr(config[key])) def collect_subprocess(info_add): import subprocess copy_attributes(info_add, subprocess, 'subprocess.%s', ('_USE_POSIX_SPAWN',)) def collect_windows(info_add): try: import ctypes except ImportError: return if not hasattr(ctypes, 'WinDLL'): return ntdll = ctypes.WinDLL('ntdll') BOOLEAN = ctypes.c_ubyte try: RtlAreLongPathsEnabled = ntdll.RtlAreLongPathsEnabled except AttributeError: res = '<function not available>' else: RtlAreLongPathsEnabled.restype = BOOLEAN RtlAreLongPathsEnabled.argtypes = () res = bool(RtlAreLongPathsEnabled()) info_add('windows.RtlAreLongPathsEnabled', res) try: import _winapi dll_path = _winapi.GetModuleFileName(sys.dllhandle) info_add('windows.dll_path', dll_path) except (ImportError, AttributeError): pass def collect_info(info): error = False info_add = info.add for collect_func in ( # collect_urandom() must be the first, to check the getrandom() status. # Other functions may block on os.urandom() indirectly and so change # its state. collect_urandom, collect_builtins, collect_cc, collect_datetime, collect_decimal, collect_expat, collect_gdb, collect_gdbm, collect_get_config, collect_locale, collect_os, collect_platform, collect_pwd, collect_readline, collect_resource, collect_socket, collect_sqlite, collect_ssl, collect_subprocess, collect_sys, collect_sysconfig, collect_testcapi, collect_time, collect_tkinter, collect_windows, collect_zlib, # Collecting from tests should be last as they have side effects. collect_test_socket, collect_test_support, ): try: collect_func(info_add) except Exception as exc: error = True print("ERROR: %s() failed" % (collect_func.__name__), file=sys.stderr) traceback.print_exc(file=sys.stderr) print(file=sys.stderr) sys.stderr.flush() return error def dump_info(info, file=None): title = "Python debug information" print(title) print("=" * len(title)) print() infos = info.get_infos() infos = sorted(infos.items()) for key, value in infos: value = value.replace("\n", " ") print("%s: %s" % (key, value)) print() def main(): info = PythonInfo() error = collect_info(info) dump_info(info) if error: print("Collection failed: exit with error", file=sys.stderr) sys.exit(1) if __name__ == "__main__": main()
Upload File
Create Folder