Linux server1.dn-server.com 4.18.0-553.89.1.lve.el8.x86_64 #1 SMP Wed Dec 10 13:58:50 UTC 2025 x86_64
LiteSpeed
Server IP : 195.201.204.189 & Your IP : 216.73.217.103
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
lib64 /
python2.7 /
test /
Delete
Unzip
Name
Size
Permission
Date
Action
audiodata
[ DIR ]
drwxr-xr-x
2026-05-01 04:20
capath
[ DIR ]
drwxr-xr-x
2026-05-01 04:20
cjkencodings
[ DIR ]
drwxr-xr-x
2026-05-01 04:20
data
[ DIR ]
drwxr-xr-x
2026-05-01 04:20
decimaltestdata
[ DIR ]
drwxr-xr-x
2026-05-01 04:20
imghdrdata
[ DIR ]
drwxr-xr-x
2026-05-01 04:20
subprocessdata
[ DIR ]
drwxr-xr-x
2026-05-01 04:20
support
[ DIR ]
drwxr-xr-x
2026-04-30 23:26
tracedmodules
[ DIR ]
drwxr-xr-x
2026-05-01 04:20
xmltestdata
[ DIR ]
drwxr-xr-x
2026-05-01 04:20
185test.db
16
KB
-rw-r--r--
2024-04-10 08:28
Sine-1000Hz-300ms.aif
60.25
KB
-rw-r--r--
2024-04-10 08:28
__init__.py
47
B
-rw-r--r--
2024-04-10 08:28
__init__.pyc
124
B
-rw-r--r--
2024-04-10 08:28
__init__.pyo
124
B
-rw-r--r--
2024-04-10 08:28
__main__.py
55
B
-rw-r--r--
2024-04-10 08:28
__main__.pyc
210
B
-rw-r--r--
2024-04-10 08:28
__main__.pyo
210
B
-rw-r--r--
2024-04-10 08:28
_mock_backport.py
75.01
KB
-rw-r--r--
2024-04-10 08:28
_mock_backport.pyc
69.02
KB
-rw-r--r--
2024-04-10 08:28
_mock_backport.pyo
69.02
KB
-rw-r--r--
2024-04-10 08:28
allsans.pem
4.92
KB
-rw-r--r--
2024-04-10 08:28
audiotest.au
27.48
KB
-rw-r--r--
2024-04-10 08:28
audiotests.py
9.52
KB
-rw-r--r--
2024-04-10 08:28
audiotests.pyc
11
KB
-rw-r--r--
2024-04-10 08:28
audiotests.pyo
11
KB
-rw-r--r--
2024-04-10 08:28
autotest.py
211
B
-rw-r--r--
2024-04-10 08:28
autotest.pyc
198
B
-rw-r--r--
2024-04-10 08:28
autotest.pyo
198
B
-rw-r--r--
2024-04-10 08:28
bad_coding.py
24
B
-rw-r--r--
2024-04-10 08:28
bad_coding2.py
29
B
-rw-r--r--
2024-04-10 08:28
bad_coding3.py
65
B
-rw-r--r--
2024-04-10 08:28
badcert.pem
1.88
KB
-rw-r--r--
2024-04-10 08:28
badkey.pem
2.11
KB
-rw-r--r--
2024-04-10 08:28
badsyntax_future3.py
172
B
-rw-r--r--
2024-04-10 08:28
badsyntax_future4.py
153
B
-rw-r--r--
2024-04-10 08:28
badsyntax_future5.py
184
B
-rw-r--r--
2024-04-10 08:28
badsyntax_future6.py
161
B
-rw-r--r--
2024-04-10 08:28
badsyntax_future7.py
196
B
-rw-r--r--
2024-04-10 08:28
badsyntax_future8.py
121
B
-rw-r--r--
2024-04-10 08:28
badsyntax_future9.py
141
B
-rw-r--r--
2024-04-10 08:28
badsyntax_nocaret.py
33
B
-rw-r--r--
2024-04-10 08:28
bisect_cmd.py
5.12
KB
-rwxr-xr-x
2024-04-10 08:28
bisect_cmd.pyc
5.42
KB
-rw-r--r--
2024-04-10 08:28
bisect_cmd.pyo
5.42
KB
-rw-r--r--
2024-04-10 08:28
cfgparser.1
21
B
-rw-r--r--
2024-04-10 08:28
cmath_testcases.txt
133.63
KB
-rw-r--r--
2024-04-10 08:28
curses_tests.py
1.21
KB
-rwxr-xr-x
2024-04-10 08:28
curses_tests.pyc
1.45
KB
-rw-r--r--
2024-04-10 08:28
curses_tests.pyo
1.45
KB
-rw-r--r--
2024-04-10 08:28
doctest_aliases.py
239
B
-rw-r--r--
2024-04-10 08:28
doctest_aliases.pyc
607
B
-rw-r--r--
2024-04-10 08:28
doctest_aliases.pyo
607
B
-rw-r--r--
2024-04-10 08:28
double_const.py
1.19
KB
-rw-r--r--
2024-04-10 08:28
double_const.pyc
755
B
-rw-r--r--
2024-04-10 08:28
double_const.pyo
687
B
-rw-r--r--
2024-04-10 08:28
empty.vbs
70
B
-rw-r--r--
2024-04-10 08:28
exception_hierarchy.txt
1.45
KB
-rw-r--r--
2024-04-10 08:28
ffdh3072.pem
2.16
KB
-rw-r--r--
2024-04-10 08:28
floating_points.txt
15.92
KB
-rw-r--r--
2024-04-10 08:28
fork_wait.py
2.51
KB
-rw-r--r--
2024-04-10 08:28
fork_wait.pyc
3.11
KB
-rw-r--r--
2024-04-10 08:28
fork_wait.pyo
3.11
KB
-rw-r--r--
2024-04-10 08:28
formatfloat_testcases.txt
7.83
KB
-rw-r--r--
2024-04-10 08:28
gdb_sample.py
156
B
-rw-r--r--
2024-04-10 08:28
gdb_sample.pyc
644
B
-rw-r--r--
2024-04-10 08:28
gdb_sample.pyo
644
B
-rw-r--r--
2024-04-10 08:28
greyrgb.uue
93.5
KB
-rw-r--r--
2024-04-10 08:28
ieee754.txt
3.21
KB
-rw-r--r--
2024-04-10 08:28
infinite_reload.py
324
B
-rw-r--r--
2024-04-10 08:28
infinite_reload.pyc
216
B
-rw-r--r--
2024-04-10 08:28
infinite_reload.pyo
216
B
-rw-r--r--
2024-04-10 08:28
inspect_fodder.py
967
B
-rw-r--r--
2024-04-10 08:28
inspect_fodder.pyc
2.14
KB
-rw-r--r--
2024-04-10 08:28
inspect_fodder.pyo
2.14
KB
-rw-r--r--
2024-04-10 08:28
inspect_fodder2.py
1.25
KB
-rw-r--r--
2024-04-10 08:28
inspect_fodder2.pyc
4.41
KB
-rw-r--r--
2024-04-10 08:28
inspect_fodder2.pyo
4.41
KB
-rw-r--r--
2024-04-10 08:28
keycert.passwd.pem
4
KB
-rw-r--r--
2024-04-10 08:28
keycert.pem
3.96
KB
-rw-r--r--
2024-04-10 08:28
keycert2.pem
3.97
KB
-rw-r--r--
2024-04-10 08:28
keycert3.pem
9.22
KB
-rw-r--r--
2024-04-10 08:28
keycert4.pem
9.23
KB
-rw-r--r--
2024-04-10 08:28
list_tests.py
16.57
KB
-rw-r--r--
2024-04-10 08:28
list_tests.pyc
18.36
KB
-rw-r--r--
2024-04-10 08:28
list_tests.pyo
18.36
KB
-rw-r--r--
2024-04-10 08:28
lock_tests.py
16.43
KB
-rw-r--r--
2024-04-10 08:28
lock_tests.pyc
19.41
KB
-rw-r--r--
2024-04-10 08:28
lock_tests.pyo
19.41
KB
-rw-r--r--
2024-04-10 08:28
mailcap.txt
1.24
KB
-rw-r--r--
2024-04-10 08:28
make_ssl_certs.py
6.69
KB
-rw-r--r--
2024-04-10 08:28
make_ssl_certs.pyc
6.65
KB
-rw-r--r--
2024-04-10 08:28
make_ssl_certs.pyo
6.65
KB
-rw-r--r--
2024-04-10 08:28
mapping_tests.py
22.57
KB
-rw-r--r--
2024-04-10 08:28
mapping_tests.pyc
29.42
KB
-rw-r--r--
2024-04-10 08:28
mapping_tests.pyo
29.42
KB
-rw-r--r--
2024-04-10 08:28
math_testcases.txt
15.52
KB
-rw-r--r--
2024-04-10 08:28
mp_fork_bomb.py
387
B
-rw-r--r--
2024-04-10 08:28
mp_fork_bomb.pyc
557
B
-rw-r--r--
2024-04-10 08:28
mp_fork_bomb.pyo
557
B
-rw-r--r--
2024-04-10 08:28
multibytecodec_support.py
13.81
KB
-rw-r--r--
2024-04-10 08:28
multibytecodec_support.pyc
14.9
KB
-rw-r--r--
2024-04-10 08:28
multibytecodec_support.pyo
14.9
KB
-rw-r--r--
2024-04-10 08:28
nokia.pem
1.88
KB
-rw-r--r--
2024-04-10 08:28
nullbytecert.pem
5.31
KB
-rw-r--r--
2024-04-10 08:28
nullcert.pem
0
B
-rw-r--r--
2024-04-10 08:28
outstanding_bugs.py
431
B
-rw-r--r--
2024-04-10 08:28
outstanding_bugs.pyc
411
B
-rw-r--r--
2024-04-10 08:28
outstanding_bugs.pyo
411
B
-rw-r--r--
2024-04-10 08:28
pickletester.py
63.15
KB
-rw-r--r--
2024-04-10 08:28
pickletester.pyc
65.95
KB
-rw-r--r--
2024-04-10 08:28
pickletester.pyo
65.8
KB
-rw-r--r--
2024-04-10 08:28
profilee.py
2.97
KB
-rw-r--r--
2024-04-10 08:28
profilee.pyc
2.95
KB
-rw-r--r--
2024-04-10 08:28
profilee.pyo
2.95
KB
-rw-r--r--
2024-04-10 08:28
pycacert.pem
5.52
KB
-rw-r--r--
2024-04-10 08:28
pyclbr_input.py
648
B
-rw-r--r--
2024-04-10 08:28
pyclbr_input.pyc
1.72
KB
-rw-r--r--
2024-04-10 08:28
pyclbr_input.pyo
1.72
KB
-rw-r--r--
2024-04-10 08:28
pydoc_mod.py
686
B
-rw-r--r--
2024-04-10 08:28
pydoc_mod.pyc
1.87
KB
-rw-r--r--
2024-04-10 08:28
pydoc_mod.pyo
1.87
KB
-rw-r--r--
2024-04-10 08:28
pydocfodder.py
6.18
KB
-rw-r--r--
2024-04-10 08:28
pydocfodder.pyc
15.69
KB
-rw-r--r--
2024-04-10 08:28
pydocfodder.pyo
15.69
KB
-rw-r--r--
2024-04-10 08:28
pystone.py
7.19
KB
-rwxr-xr-x
2024-04-10 08:28
pystone.pyc
7.84
KB
-rw-r--r--
2024-04-10 08:28
pystone.pyo
7.84
KB
-rw-r--r--
2024-04-10 08:28
pythoninfo.py
19.72
KB
-rw-r--r--
2024-04-10 08:28
pythoninfo.pyc
20.93
KB
-rw-r--r--
2024-04-10 08:28
pythoninfo.pyo
20.93
KB
-rw-r--r--
2024-04-10 08:28
randv2_32.pck
7.34
KB
-rw-r--r--
2024-04-10 08:28
randv2_64.pck
7.19
KB
-rw-r--r--
2024-04-10 08:28
randv3.pck
7.82
KB
-rw-r--r--
2024-04-10 08:28
re_tests.py
31.12
KB
-rwxr-xr-x
2024-04-10 08:28
re_tests.pyc
18.23
KB
-rw-r--r--
2024-04-10 08:28
re_tests.pyo
18.23
KB
-rw-r--r--
2024-04-10 08:28
recursion.tar
516
B
-rw-r--r--
2024-04-10 08:28
regrtest.py
69.91
KB
-rwxr-xr-x
2024-04-10 08:28
regrtest.pyc
58.12
KB
-rw-r--r--
2024-04-10 08:28
regrtest.pyo
58
KB
-rw-r--r--
2024-04-10 08:28
relimport.py
27
B
-rw-r--r--
2024-04-10 08:28
relimport.pyc
167
B
-rw-r--r--
2024-04-10 08:28
relimport.pyo
167
B
-rw-r--r--
2024-04-10 08:28
reperf.py
514
B
-rw-r--r--
2024-04-10 08:28
reperf.pyc
923
B
-rw-r--r--
2024-04-10 08:28
reperf.pyo
923
B
-rw-r--r--
2024-04-10 08:28
revocation.crl
800
B
-rw-r--r--
2024-04-10 08:28
sample_doctest.py
1.01
KB
-rw-r--r--
2024-04-10 08:28
sample_doctest.pyc
1.96
KB
-rw-r--r--
2024-04-10 08:28
sample_doctest.pyo
1.96
KB
-rw-r--r--
2024-04-10 08:28
sample_doctest_no_docstrings.py
227
B
-rw-r--r--
2024-04-10 08:28
sample_doctest_no_docstrings.pyc
512
B
-rw-r--r--
2024-04-10 08:28
sample_doctest_no_docstrings.pyo
512
B
-rw-r--r--
2024-04-10 08:28
sample_doctest_no_doctests.py
269
B
-rw-r--r--
2024-04-10 08:28
sample_doctest_no_doctests.pyc
741
B
-rw-r--r--
2024-04-10 08:28
sample_doctest_no_doctests.pyo
741
B
-rw-r--r--
2024-04-10 08:28
script_helper.py
41
B
-rw-r--r--
2024-04-10 08:28
script_helper.pyc
186
B
-rw-r--r--
2024-04-10 08:28
script_helper.pyo
186
B
-rw-r--r--
2024-04-10 08:28
selfsigned_pythontestdotnet.pem
2.08
KB
-rw-r--r--
2024-04-10 08:28
seq_tests.py
13.87
KB
-rw-r--r--
2024-04-10 08:28
seq_tests.pyc
19.23
KB
-rw-r--r--
2024-04-10 08:28
seq_tests.pyo
19.23
KB
-rw-r--r--
2024-04-10 08:28
sgml_input.html
8.1
KB
-rw-r--r--
2024-04-10 08:28
sortperf.py
4.63
KB
-rw-r--r--
2024-04-10 08:28
sortperf.pyc
4.17
KB
-rw-r--r--
2024-04-10 08:28
sortperf.pyo
4.12
KB
-rw-r--r--
2024-04-10 08:28
ssl_cert.pem
1.53
KB
-rw-r--r--
2024-04-10 08:28
ssl_key.passwd.pem
2.47
KB
-rw-r--r--
2024-04-10 08:28
ssl_key.pem
2.43
KB
-rw-r--r--
2024-04-10 08:28
ssl_servers.py
7.3
KB
-rw-r--r--
2024-04-10 08:28
ssl_servers.pyc
8.36
KB
-rw-r--r--
2024-04-10 08:28
ssl_servers.pyo
8.36
KB
-rw-r--r--
2024-04-10 08:28
ssltests.py
988
B
-rw-r--r--
2024-04-10 08:28
ssltests.pyc
1.04
KB
-rw-r--r--
2024-04-10 08:28
ssltests.pyo
1.04
KB
-rw-r--r--
2024-04-10 08:28
string_tests.py
65.1
KB
-rw-r--r--
2024-04-10 08:28
string_tests.pyc
49.22
KB
-rw-r--r--
2024-04-10 08:28
string_tests.pyo
49.22
KB
-rw-r--r--
2024-04-10 08:28
symlink_support.py
3.18
KB
-rw-r--r--
2024-04-10 08:28
symlink_support.pyc
3.23
KB
-rw-r--r--
2024-04-10 08:28
symlink_support.pyo
3.23
KB
-rw-r--r--
2024-04-10 08:28
talos-2019-0758.pem
1.3
KB
-rw-r--r--
2024-04-10 08:28
test_MimeWriter.py
7.42
KB
-rw-r--r--
2024-04-10 08:28
test_MimeWriter.pyc
7.71
KB
-rw-r--r--
2024-04-10 08:28
test_MimeWriter.pyo
7.71
KB
-rw-r--r--
2024-04-10 08:28
test_SimpleHTTPServer.py
1.31
KB
-rw-r--r--
2024-04-10 08:28
test_SimpleHTTPServer.pyc
2.23
KB
-rw-r--r--
2024-04-10 08:28
test_SimpleHTTPServer.pyo
2.23
KB
-rw-r--r--
2024-04-10 08:28
test_StringIO.py
6.93
KB
-rw-r--r--
2024-04-10 08:28
test_StringIO.pyc
8.33
KB
-rw-r--r--
2024-04-10 08:28
test_StringIO.pyo
8.33
KB
-rw-r--r--
2024-04-10 08:28
test___all__.py
4.08
KB
-rw-r--r--
2024-04-10 08:28
test___all__.pyc
3.8
KB
-rw-r--r--
2024-04-10 08:28
test___all__.pyo
3.8
KB
-rw-r--r--
2024-04-10 08:28
test___future__.py
2.46
KB
-rw-r--r--
2024-04-10 08:28
test___future__.pyc
2.79
KB
-rw-r--r--
2024-04-10 08:28
test___future__.pyo
2.79
KB
-rw-r--r--
2024-04-10 08:28
test__locale.py
6.48
KB
-rw-r--r--
2024-04-10 08:28
test__locale.pyc
6.14
KB
-rw-r--r--
2024-04-10 08:28
test__locale.pyo
6.14
KB
-rw-r--r--
2024-04-10 08:28
test__osx_support.py
11.55
KB
-rw-r--r--
2024-04-10 08:28
test__osx_support.pyc
11.18
KB
-rw-r--r--
2024-04-10 08:28
test__osx_support.pyo
11.18
KB
-rw-r--r--
2024-04-10 08:28
test_abc.py
7.82
KB
-rw-r--r--
2024-04-10 08:28
test_abc.pyc
13.13
KB
-rw-r--r--
2024-04-10 08:28
test_abc.pyo
13.13
KB
-rw-r--r--
2024-04-10 08:28
test_abstract_numbers.py
1.65
KB
-rw-r--r--
2024-04-10 08:28
test_abstract_numbers.pyc
2.51
KB
-rw-r--r--
2024-04-10 08:28
test_abstract_numbers.pyo
2.51
KB
-rw-r--r--
2024-04-10 08:28
test_aepack.py
2.69
KB
-rw-r--r--
2024-04-10 08:28
test_aepack.pyc
3.71
KB
-rw-r--r--
2024-04-10 08:28
test_aepack.pyo
3.71
KB
-rw-r--r--
2024-04-10 08:28
test_aifc.py
14.27
KB
-rw-r--r--
2024-04-10 08:28
test_aifc.pyc
17.44
KB
-rw-r--r--
2024-04-10 08:28
test_aifc.pyo
17.44
KB
-rw-r--r--
2024-04-10 08:28
test_al.py
752
B
-rw-r--r--
2024-04-10 08:28
test_al.pyc
873
B
-rw-r--r--
2024-04-10 08:28
test_al.pyo
873
B
-rw-r--r--
2024-04-10 08:28
test_anydbm.py
2.21
KB
-rw-r--r--
2024-04-10 08:28
test_anydbm.pyc
3.68
KB
-rw-r--r--
2024-04-10 08:28
test_anydbm.pyo
3.68
KB
-rw-r--r--
2024-04-10 08:28
test_applesingle.py
1.77
KB
-rw-r--r--
2024-04-10 08:28
test_applesingle.pyc
2.56
KB
-rw-r--r--
2024-04-10 08:28
test_applesingle.pyo
2.56
KB
-rw-r--r--
2024-04-10 08:28
test_argparse.py
155.47
KB
-rw-r--r--
2024-04-10 08:28
test_argparse.pyc
178.99
KB
-rw-r--r--
2024-04-10 08:28
test_argparse.pyo
178.66
KB
-rw-r--r--
2024-04-10 08:28
test_array.py
37.16
KB
-rw-r--r--
2024-04-10 08:28
test_array.pyc
37.69
KB
-rw-r--r--
2024-04-10 08:28
test_array.pyo
37.69
KB
-rw-r--r--
2024-04-10 08:28
test_ascii_formatd.py
1.87
KB
-rw-r--r--
2024-04-10 08:28
test_ascii_formatd.pyc
2.3
KB
-rw-r--r--
2024-04-10 08:28
test_ascii_formatd.pyo
2.3
KB
-rw-r--r--
2024-04-10 08:28
test_ast.py
25.3
KB
-rw-r--r--
2024-04-10 08:28
test_ast.pyc
23.67
KB
-rw-r--r--
2024-04-10 08:28
test_ast.pyo
23.67
KB
-rw-r--r--
2024-04-10 08:28
test_asynchat.py
9.74
KB
-rw-r--r--
2024-04-10 08:28
test_asynchat.pyc
12.07
KB
-rw-r--r--
2024-04-10 08:28
test_asynchat.pyo
12.07
KB
-rw-r--r--
2024-04-10 08:28
test_asyncore.py
22.95
KB
-rw-r--r--
2024-04-10 08:28
test_asyncore.pyc
29.53
KB
-rw-r--r--
2024-04-10 08:28
test_asyncore.pyo
29.53
KB
-rw-r--r--
2024-04-10 08:28
test_atexit.py
2.39
KB
-rw-r--r--
2024-04-10 08:28
test_atexit.pyc
4.38
KB
-rw-r--r--
2024-04-10 08:28
test_atexit.pyo
4.38
KB
-rw-r--r--
2024-04-10 08:28
test_audioop.py
19.45
KB
-rw-r--r--
2024-04-10 08:28
test_audioop.pyc
19.68
KB
-rw-r--r--
2024-04-10 08:28
test_audioop.pyo
19.68
KB
-rw-r--r--
2024-04-10 08:28
test_augassign.py
7.99
KB
-rw-r--r--
2024-04-10 08:28
test_augassign.pyc
13.42
KB
-rw-r--r--
2024-04-10 08:28
test_augassign.pyo
13.42
KB
-rw-r--r--
2024-04-10 08:28
test_base64.py
10.25
KB
-rw-r--r--
2024-04-10 08:28
test_base64.pyc
9.03
KB
-rw-r--r--
2024-04-10 08:28
test_base64.pyo
9.03
KB
-rw-r--r--
2024-04-10 08:28
test_bastion.py
38
B
-rw-r--r--
2024-04-10 08:28
test_bastion.pyc
128
B
-rw-r--r--
2024-04-10 08:28
test_bastion.pyo
128
B
-rw-r--r--
2024-04-10 08:28
test_bdb.py
36.68
KB
-rw-r--r--
2024-04-10 08:28
test_bdb.pyc
37.6
KB
-rw-r--r--
2024-04-10 08:28
test_bdb.pyo
37.52
KB
-rw-r--r--
2024-04-10 08:28
test_bigaddrspace.py
1.27
KB
-rw-r--r--
2024-04-10 08:28
test_bigaddrspace.pyc
1.53
KB
-rw-r--r--
2024-04-10 08:28
test_bigaddrspace.pyo
1.53
KB
-rw-r--r--
2024-04-10 08:28
test_bigmem.py
37.65
KB
-rw-r--r--
2024-04-10 08:28
test_bigmem.pyc
37.44
KB
-rw-r--r--
2024-04-10 08:28
test_bigmem.pyo
37.44
KB
-rw-r--r--
2024-04-10 08:28
test_binascii.py
12.45
KB
-rw-r--r--
2024-04-10 08:28
test_binascii.pyc
11.01
KB
-rw-r--r--
2024-04-10 08:28
test_binascii.pyo
11.01
KB
-rw-r--r--
2024-04-10 08:28
test_binhex.py
1004
B
-rw-r--r--
2024-04-10 08:28
test_binhex.pyc
1.77
KB
-rw-r--r--
2024-04-10 08:28
test_binhex.pyo
1.77
KB
-rw-r--r--
2024-04-10 08:28
test_binop.py
10.49
KB
-rw-r--r--
2024-04-10 08:28
test_binop.pyc
12.92
KB
-rw-r--r--
2024-04-10 08:28
test_binop.pyo
12.92
KB
-rw-r--r--
2024-04-10 08:28
test_bisect.py
14.49
KB
-rw-r--r--
2024-04-10 08:28
test_bisect.pyc
15.51
KB
-rw-r--r--
2024-04-10 08:28
test_bisect.pyo
15.51
KB
-rw-r--r--
2024-04-10 08:28
test_bool.py
13.87
KB
-rw-r--r--
2024-04-10 08:28
test_bool.pyc
14.23
KB
-rw-r--r--
2024-04-10 08:28
test_bool.pyo
14.23
KB
-rw-r--r--
2024-04-10 08:28
test_bsddb.py
11.7
KB
-rw-r--r--
2024-04-10 08:28
test_bsddb.pyc
13.17
KB
-rw-r--r--
2024-04-10 08:28
test_bsddb.pyo
13.17
KB
-rw-r--r--
2024-04-10 08:28
test_bsddb185.py
1.23
KB
-rw-r--r--
2024-04-10 08:28
test_bsddb185.pyc
1.91
KB
-rw-r--r--
2024-04-10 08:28
test_bsddb185.pyo
1.91
KB
-rw-r--r--
2024-04-10 08:28
test_bsddb3.py
2.91
KB
-rw-r--r--
2024-04-10 08:28
test_bsddb3.pyc
2.4
KB
-rw-r--r--
2024-04-10 08:28
test_bsddb3.pyo
2.4
KB
-rw-r--r--
2024-04-10 08:28
test_buffer.py
2.02
KB
-rw-r--r--
2024-04-10 08:28
test_buffer.pyc
3.15
KB
-rw-r--r--
2024-04-10 08:28
test_buffer.pyo
3.15
KB
-rw-r--r--
2024-04-10 08:28
test_bufio.py
2.69
KB
-rw-r--r--
2024-04-10 08:28
test_bufio.pyc
2.7
KB
-rw-r--r--
2024-04-10 08:28
test_bufio.pyo
2.7
KB
-rw-r--r--
2024-04-10 08:28
test_builtin.py
65.28
KB
-rw-r--r--
2024-04-10 08:28
test_builtin.pyc
80.33
KB
-rw-r--r--
2024-04-10 08:28
test_builtin.pyo
80.33
KB
-rw-r--r--
2024-04-10 08:28
test_bytes.py
43.97
KB
-rw-r--r--
2024-04-10 08:28
test_bytes.pyc
50.88
KB
-rw-r--r--
2024-04-10 08:28
test_bytes.pyo
50.88
KB
-rw-r--r--
2024-04-10 08:28
test_bz2.py
19.55
KB
-rw-r--r--
2024-04-10 08:28
test_bz2.pyc
20.02
KB
-rw-r--r--
2024-04-10 08:28
test_bz2.pyo
20.02
KB
-rw-r--r--
2024-04-10 08:28
test_calendar.py
33.92
KB
-rw-r--r--
2024-04-10 08:28
test_calendar.pyc
36.43
KB
-rw-r--r--
2024-04-10 08:28
test_calendar.pyo
36.43
KB
-rw-r--r--
2024-04-10 08:28
test_call.py
3.21
KB
-rw-r--r--
2024-04-10 08:28
test_call.pyc
6.08
KB
-rw-r--r--
2024-04-10 08:28
test_call.pyo
6.08
KB
-rw-r--r--
2024-04-10 08:28
test_capi.py
5.42
KB
-rw-r--r--
2024-04-10 08:28
test_capi.pyc
6.15
KB
-rw-r--r--
2024-04-10 08:28
test_capi.pyo
6.15
KB
-rw-r--r--
2024-04-10 08:28
test_cd.py
911
B
-rw-r--r--
2024-04-10 08:28
test_cd.pyc
1007
B
-rw-r--r--
2024-04-10 08:28
test_cd.pyo
1007
B
-rw-r--r--
2024-04-10 08:28
test_cfgparser.py
28.11
KB
-rw-r--r--
2024-04-10 08:28
test_cfgparser.pyc
27.8
KB
-rw-r--r--
2024-04-10 08:28
test_cfgparser.pyo
27.8
KB
-rw-r--r--
2024-04-10 08:28
test_cgi.py
19.09
KB
-rw-r--r--
2024-04-10 08:28
test_cgi.pyc
18.29
KB
-rw-r--r--
2024-04-10 08:28
test_cgi.pyo
18.29
KB
-rw-r--r--
2024-04-10 08:28
test_charmapcodec.py
1.8
KB
-rw-r--r--
2024-04-10 08:28
test_charmapcodec.pyc
2.62
KB
-rw-r--r--
2024-04-10 08:28
test_charmapcodec.pyo
2.62
KB
-rw-r--r--
2024-04-10 08:28
test_cl.py
3.89
KB
-rw-r--r--
2024-04-10 08:28
test_cl.pyc
4.89
KB
-rw-r--r--
2024-04-10 08:28
test_cl.pyo
4.89
KB
-rw-r--r--
2024-04-10 08:28
test_class.py
19.18
KB
-rw-r--r--
2024-04-10 08:28
test_class.pyc
20.33
KB
-rw-r--r--
2024-04-10 08:28
test_class.pyo
20.33
KB
-rw-r--r--
2024-04-10 08:28
test_cmath.py
19.31
KB
-rw-r--r--
2024-04-10 08:28
test_cmath.pyc
19.26
KB
-rw-r--r--
2024-04-10 08:28
test_cmath.pyo
19.26
KB
-rw-r--r--
2024-04-10 08:28
test_cmd.py
6.15
KB
-rw-r--r--
2024-04-10 08:28
test_cmd.pyc
8.19
KB
-rw-r--r--
2024-04-10 08:28
test_cmd.pyo
8.19
KB
-rw-r--r--
2024-04-10 08:28
test_cmd_line.py
5.15
KB
-rw-r--r--
2024-04-10 08:28
test_cmd_line.pyc
5.43
KB
-rw-r--r--
2024-04-10 08:28
test_cmd_line.pyo
5.43
KB
-rw-r--r--
2024-04-10 08:28
test_cmd_line_script.py
11.58
KB
-rw-r--r--
2024-04-10 08:28
test_cmd_line_script.pyc
11.85
KB
-rw-r--r--
2024-04-10 08:28
test_cmd_line_script.pyo
11.85
KB
-rw-r--r--
2024-04-10 08:28
test_code.py
4.5
KB
-rw-r--r--
2024-04-10 08:28
test_code.pyc
6.28
KB
-rw-r--r--
2024-04-10 08:28
test_code.pyo
6.28
KB
-rw-r--r--
2024-04-10 08:28
test_codeccallbacks.py
32.5
KB
-rw-r--r--
2024-04-10 08:28
test_codeccallbacks.pyc
28.07
KB
-rw-r--r--
2024-04-10 08:28
test_codeccallbacks.pyo
28.07
KB
-rw-r--r--
2024-04-10 08:28
test_codecencodings_cn.py
3.53
KB
-rw-r--r--
2024-04-10 08:28
test_codecencodings_cn.pyc
3.9
KB
-rw-r--r--
2024-04-10 08:28
test_codecencodings_cn.pyo
3.9
KB
-rw-r--r--
2024-04-10 08:28
test_codecencodings_hk.py
771
B
-rw-r--r--
2024-04-10 08:28
test_codecencodings_hk.pyc
1.13
KB
-rw-r--r--
2024-04-10 08:28
test_codecencodings_hk.pyo
1.13
KB
-rw-r--r--
2024-04-10 08:28
test_codecencodings_iso2022.py
1.45
KB
-rw-r--r--
2024-04-10 08:28
test_codecencodings_iso2022.pyc
2.18
KB
-rw-r--r--
2024-04-10 08:28
test_codecencodings_iso2022.pyo
2.18
KB
-rw-r--r--
2024-04-10 08:28
test_codecencodings_jp.py
3.77
KB
-rw-r--r--
2024-04-10 08:28
test_codecencodings_jp.pyc
4.33
KB
-rw-r--r--
2024-04-10 08:28
test_codecencodings_jp.pyo
4.33
KB
-rw-r--r--
2024-04-10 08:28
test_codecencodings_kr.py
2.63
KB
-rw-r--r--
2024-04-10 08:28
test_codecencodings_kr.pyc
2.84
KB
-rw-r--r--
2024-04-10 08:28
test_codecencodings_kr.pyo
2.84
KB
-rw-r--r--
2024-04-10 08:28
test_codecencodings_tw.py
751
B
-rw-r--r--
2024-04-10 08:28
test_codecencodings_tw.pyc
1.12
KB
-rw-r--r--
2024-04-10 08:28
test_codecencodings_tw.pyo
1.12
KB
-rw-r--r--
2024-04-10 08:28
test_codecmaps_cn.py
830
B
-rw-r--r--
2024-04-10 08:28
test_codecmaps_cn.pyc
1.36
KB
-rw-r--r--
2024-04-10 08:28
test_codecmaps_cn.pyo
1.36
KB
-rw-r--r--
2024-04-10 08:28
test_codecmaps_hk.py
470
B
-rw-r--r--
2024-04-10 08:28
test_codecmaps_hk.pyc
858
B
-rw-r--r--
2024-04-10 08:28
test_codecmaps_hk.pyo
858
B
-rw-r--r--
2024-04-10 08:28
test_codecmaps_jp.py
1.78
KB
-rw-r--r--
2024-04-10 08:28
test_codecmaps_jp.pyc
2.57
KB
-rw-r--r--
2024-04-10 08:28
test_codecmaps_jp.pyo
2.57
KB
-rw-r--r--
2024-04-10 08:28
test_codecmaps_kr.py
1.25
KB
-rw-r--r--
2024-04-10 08:28
test_codecmaps_kr.pyc
1.54
KB
-rw-r--r--
2024-04-10 08:28
test_codecmaps_kr.pyo
1.54
KB
-rw-r--r--
2024-04-10 08:28
test_codecmaps_tw.py
719
B
-rw-r--r--
2024-04-10 08:28
test_codecmaps_tw.pyc
1.18
KB
-rw-r--r--
2024-04-10 08:28
test_codecmaps_tw.pyo
1.18
KB
-rw-r--r--
2024-04-10 08:28
test_codecs.py
79.55
KB
-rw-r--r--
2024-04-10 08:28
test_codecs.pyc
67.04
KB
-rw-r--r--
2024-04-10 08:28
test_codecs.pyo
67.04
KB
-rw-r--r--
2024-04-10 08:28
test_codeop.py
7.47
KB
-rw-r--r--
2024-04-10 08:28
test_codeop.pyc
7.92
KB
-rw-r--r--
2024-04-10 08:28
test_codeop.pyo
7.92
KB
-rw-r--r--
2024-04-10 08:28
test_coercion.py
11.13
KB
-rw-r--r--
2024-04-10 08:28
test_coercion.pyc
15.63
KB
-rw-r--r--
2024-04-10 08:28
test_coercion.pyo
15.63
KB
-rw-r--r--
2024-04-10 08:28
test_collections.py
39.28
KB
-rw-r--r--
2024-04-10 08:28
test_collections.pyc
43.66
KB
-rw-r--r--
2024-04-10 08:28
test_collections.pyo
43.66
KB
-rw-r--r--
2024-04-10 08:28
test_colorsys.py
2.78
KB
-rw-r--r--
2024-04-10 08:28
test_colorsys.pyc
3.78
KB
-rw-r--r--
2024-04-10 08:28
test_colorsys.pyo
3.78
KB
-rw-r--r--
2024-04-10 08:28
test_commands.py
2.58
KB
-rw-r--r--
2024-04-10 08:28
test_commands.pyc
2.25
KB
-rw-r--r--
2024-04-10 08:28
test_commands.pyo
2.25
KB
-rw-r--r--
2024-04-10 08:28
test_compare.py
1.45
KB
-rw-r--r--
2024-04-10 08:28
test_compare.pyc
3.22
KB
-rw-r--r--
2024-04-10 08:28
test_compare.pyo
3.22
KB
-rw-r--r--
2024-04-10 08:28
test_compile.py
24.22
KB
-rw-r--r--
2024-04-10 08:28
test_compile.pyc
26.35
KB
-rw-r--r--
2024-04-10 08:28
test_compile.pyo
26.35
KB
-rw-r--r--
2024-04-10 08:28
test_compileall.py
2.68
KB
-rw-r--r--
2024-04-10 08:28
test_compileall.pyc
3.62
KB
-rw-r--r--
2024-04-10 08:28
test_compileall.pyo
3.62
KB
-rw-r--r--
2024-04-10 08:28
test_compiler.py
10.96
KB
-rw-r--r--
2024-04-10 08:28
test_compiler.pyc
12.67
KB
-rw-r--r--
2024-04-10 08:28
test_compiler.pyo
12.67
KB
-rw-r--r--
2024-04-10 08:28
test_complex.py
28.36
KB
-rw-r--r--
2024-04-10 08:28
test_complex.pyc
34.68
KB
-rw-r--r--
2024-04-10 08:28
test_complex.pyo
34.68
KB
-rw-r--r--
2024-04-10 08:28
test_complex_args.py
3.42
KB
-rw-r--r--
2024-04-10 08:28
test_complex_args.pyc
4.83
KB
-rw-r--r--
2024-04-10 08:28
test_complex_args.pyo
4.83
KB
-rw-r--r--
2024-04-10 08:28
test_contains.py
3.08
KB
-rw-r--r--
2024-04-10 08:28
test_contains.pyc
4.89
KB
-rw-r--r--
2024-04-10 08:28
test_contains.pyo
4.89
KB
-rw-r--r--
2024-04-10 08:28
test_contextlib.py
9.2
KB
-rw-r--r--
2024-04-10 08:28
test_contextlib.pyc
14.58
KB
-rw-r--r--
2024-04-10 08:28
test_contextlib.pyo
14.58
KB
-rw-r--r--
2024-04-10 08:28
test_cookie.py
6.93
KB
-rw-r--r--
2024-04-10 08:28
test_cookie.pyc
7.29
KB
-rw-r--r--
2024-04-10 08:28
test_cookie.pyo
7.29
KB
-rw-r--r--
2024-04-10 08:28
test_cookielib.py
75.13
KB
-rw-r--r--
2024-04-10 08:28
test_cookielib.pyc
51.7
KB
-rw-r--r--
2024-04-10 08:28
test_cookielib.pyo
51.7
KB
-rw-r--r--
2024-04-10 08:28
test_copy.py
22.47
KB
-rw-r--r--
2024-04-10 08:28
test_copy.pyc
41.2
KB
-rw-r--r--
2024-04-10 08:28
test_copy.pyo
41.2
KB
-rw-r--r--
2024-04-10 08:28
test_copy_reg.py
4.51
KB
-rw-r--r--
2024-04-10 08:28
test_copy_reg.pyc
4.94
KB
-rw-r--r--
2024-04-10 08:28
test_copy_reg.pyo
4.94
KB
-rw-r--r--
2024-04-10 08:28
test_cpickle.py
6.81
KB
-rw-r--r--
2024-04-10 08:28
test_cpickle.pyc
10.62
KB
-rw-r--r--
2024-04-10 08:28
test_cpickle.pyo
10.62
KB
-rw-r--r--
2024-04-10 08:28
test_cprofile.py
7.26
KB
-rw-r--r--
2024-04-10 08:28
test_cprofile.pyc
8.09
KB
-rw-r--r--
2024-04-10 08:28
test_cprofile.pyo
8.09
KB
-rw-r--r--
2024-04-10 08:28
test_crypt.py
1.3
KB
-rw-r--r--
2024-04-10 08:28
test_crypt.pyc
2.06
KB
-rw-r--r--
2024-04-10 08:28
test_crypt.pyo
2.06
KB
-rw-r--r--
2024-04-10 08:28
test_csv.py
44.33
KB
-rw-r--r--
2024-04-10 08:28
test_csv.pyc
46.33
KB
-rw-r--r--
2024-04-10 08:28
test_csv.pyo
46.33
KB
-rw-r--r--
2024-04-10 08:28
test_ctypes.py
418
B
-rw-r--r--
2024-04-10 08:28
test_ctypes.pyc
743
B
-rw-r--r--
2024-04-10 08:28
test_ctypes.pyo
743
B
-rw-r--r--
2024-04-10 08:28
test_curses.py
15.53
KB
-rw-r--r--
2024-04-10 08:28
test_curses.pyc
16.4
KB
-rw-r--r--
2024-04-10 08:28
test_curses.pyo
16.4
KB
-rw-r--r--
2024-04-10 08:28
test_datetime.py
133.72
KB
-rw-r--r--
2024-04-10 08:28
test_datetime.pyc
127.23
KB
-rw-r--r--
2024-04-10 08:28
test_datetime.pyo
126.91
KB
-rw-r--r--
2024-04-10 08:28
test_dbm.py
1.24
KB
-rw-r--r--
2024-04-10 08:28
test_dbm.pyc
2.43
KB
-rw-r--r--
2024-04-10 08:28
test_dbm.pyo
2.43
KB
-rw-r--r--
2024-04-10 08:28
test_decimal.py
83.01
KB
-rw-r--r--
2024-04-10 08:28
test_decimal.pyc
80.03
KB
-rw-r--r--
2024-04-10 08:28
test_decimal.pyo
80.03
KB
-rw-r--r--
2024-04-10 08:28
test_decorators.py
9.62
KB
-rw-r--r--
2024-04-10 08:28
test_decorators.pyc
14.21
KB
-rw-r--r--
2024-04-10 08:28
test_decorators.pyo
14.14
KB
-rw-r--r--
2024-04-10 08:28
test_defaultdict.py
5.69
KB
-rw-r--r--
2024-04-10 08:28
test_defaultdict.pyc
6.49
KB
-rw-r--r--
2024-04-10 08:28
test_defaultdict.pyo
6.49
KB
-rw-r--r--
2024-04-10 08:28
test_deque.py
25.56
KB
-rw-r--r--
2024-04-10 08:28
test_deque.pyc
28.94
KB
-rw-r--r--
2024-04-10 08:28
test_deque.pyo
28.9
KB
-rw-r--r--
2024-04-10 08:28
test_descr.py
164.21
KB
-rw-r--r--
2024-04-10 08:28
test_descr.pyc
209.51
KB
-rw-r--r--
2024-04-10 08:28
test_descr.pyo
209.44
KB
-rw-r--r--
2024-04-10 08:28
test_descrtut.py
11.77
KB
-rw-r--r--
2024-04-10 08:28
test_descrtut.pyc
13.09
KB
-rw-r--r--
2024-04-10 08:28
test_descrtut.pyo
13.09
KB
-rw-r--r--
2024-04-10 08:28
test_dict.py
24.18
KB
-rw-r--r--
2024-04-10 08:28
test_dict.pyc
35.26
KB
-rw-r--r--
2024-04-10 08:28
test_dict.pyo
35.26
KB
-rw-r--r--
2024-04-10 08:28
test_dictcomps.py
3.76
KB
-rw-r--r--
2024-04-10 08:28
test_dictcomps.pyc
5.81
KB
-rw-r--r--
2024-04-10 08:28
test_dictcomps.pyo
5.81
KB
-rw-r--r--
2024-04-10 08:28
test_dictviews.py
9.89
KB
-rw-r--r--
2024-04-10 08:28
test_dictviews.pyc
9.45
KB
-rw-r--r--
2024-04-10 08:28
test_dictviews.pyo
9.45
KB
-rw-r--r--
2024-04-10 08:28
test_difflib.py
11.23
KB
-rw-r--r--
2024-04-10 08:28
test_difflib.pyc
13.04
KB
-rw-r--r--
2024-04-10 08:28
test_difflib.pyo
13.04
KB
-rw-r--r--
2024-04-10 08:28
test_difflib_expect.html
100.86
KB
-rw-r--r--
2024-04-10 08:28
test_dircache.py
2.35
KB
-rw-r--r--
2024-04-10 08:28
test_dircache.pyc
2.94
KB
-rw-r--r--
2024-04-10 08:28
test_dircache.pyo
2.94
KB
-rw-r--r--
2024-04-10 08:28
test_dis.py
4.55
KB
-rw-r--r--
2024-04-10 08:28
test_dis.pyc
5.54
KB
-rw-r--r--
2024-04-10 08:28
test_dis.pyo
5.49
KB
-rw-r--r--
2024-04-10 08:28
test_distutils.py
385
B
-rw-r--r--
2024-04-10 08:28
test_distutils.pyc
724
B
-rw-r--r--
2024-04-10 08:28
test_distutils.pyo
724
B
-rw-r--r--
2024-04-10 08:28
test_dl.py
1.1
KB
-rw-r--r--
2024-04-10 08:28
test_dl.pyc
1.37
KB
-rw-r--r--
2024-04-10 08:28
test_dl.pyo
1.37
KB
-rw-r--r--
2024-04-10 08:28
test_doctest.py
86.23
KB
-rw-r--r--
2024-04-10 08:28
test_doctest.pyc
89.62
KB
-rw-r--r--
2024-04-10 08:28
test_doctest.pyo
89.56
KB
-rw-r--r--
2024-04-10 08:28
test_doctest.txt
296
B
-rw-r--r--
2024-04-10 08:28
test_doctest2.py
2.33
KB
-rw-r--r--
2024-04-10 08:28
test_doctest2.pyc
3.55
KB
-rw-r--r--
2024-04-10 08:28
test_doctest2.pyo
3.55
KB
-rw-r--r--
2024-04-10 08:28
test_doctest2.txt
392
B
-rw-r--r--
2024-04-10 08:28
test_doctest3.txt
81
B
-rw-r--r--
2024-04-10 08:28
test_doctest4.txt
314
B
-rw-r--r--
2024-04-10 08:28
test_docxmlrpc.py
8.3
KB
-rw-r--r--
2024-04-10 08:28
test_docxmlrpc.pyc
9.37
KB
-rw-r--r--
2024-04-10 08:28
test_docxmlrpc.pyo
9.37
KB
-rw-r--r--
2024-04-10 08:28
test_dumbdbm.py
5.8
KB
-rw-r--r--
2024-04-10 08:28
test_dumbdbm.pyc
7.24
KB
-rw-r--r--
2024-04-10 08:28
test_dumbdbm.pyo
7.24
KB
-rw-r--r--
2024-04-10 08:28
test_dummy_thread.py
7
KB
-rw-r--r--
2024-04-10 08:28
test_dummy_thread.pyc
7.88
KB
-rw-r--r--
2024-04-10 08:28
test_dummy_thread.pyo
7.88
KB
-rw-r--r--
2024-04-10 08:28
test_dummy_threading.py
1.8
KB
-rw-r--r--
2024-04-10 08:28
test_dummy_threading.pyc
2.26
KB
-rw-r--r--
2024-04-10 08:28
test_dummy_threading.pyo
2.26
KB
-rw-r--r--
2024-04-10 08:28
test_email.py
398
B
-rw-r--r--
2024-04-10 08:28
test_email.pyc
565
B
-rw-r--r--
2024-04-10 08:28
test_email.pyo
565
B
-rw-r--r--
2024-04-10 08:28
test_email_codecs.py
462
B
-rw-r--r--
2024-04-10 08:28
test_email_codecs.pyc
616
B
-rw-r--r--
2024-04-10 08:28
test_email_codecs.pyo
616
B
-rw-r--r--
2024-04-10 08:28
test_email_renamed.py
308
B
-rw-r--r--
2024-04-10 08:28
test_email_renamed.pyc
503
B
-rw-r--r--
2024-04-10 08:28
test_email_renamed.pyo
503
B
-rw-r--r--
2024-04-10 08:28
test_ensurepip.py
9.59
KB
-rw-r--r--
2024-04-10 08:28
test_ensurepip.pyc
11.67
KB
-rw-r--r--
2024-04-10 08:28
test_ensurepip.pyo
11.67
KB
-rw-r--r--
2024-04-10 08:28
test_enumerate.py
7.36
KB
-rw-r--r--
2024-04-10 08:28
test_enumerate.pyc
14.59
KB
-rw-r--r--
2024-04-10 08:28
test_enumerate.pyo
14.59
KB
-rw-r--r--
2024-04-10 08:28
test_eof.py
871
B
-rw-r--r--
2024-04-10 08:28
test_eof.pyc
1.43
KB
-rw-r--r--
2024-04-10 08:28
test_eof.pyo
1.43
KB
-rw-r--r--
2024-04-10 08:28
test_epoll.py
7.22
KB
-rw-r--r--
2024-04-10 08:28
test_epoll.pyc
6.07
KB
-rw-r--r--
2024-04-10 08:28
test_epoll.pyo
6.07
KB
-rw-r--r--
2024-04-10 08:28
test_errno.py
1.13
KB
-rw-r--r--
2024-04-10 08:28
test_errno.pyc
1.88
KB
-rw-r--r--
2024-04-10 08:28
test_errno.pyo
1.88
KB
-rw-r--r--
2024-04-10 08:28
test_exception_variations.py
3.95
KB
-rw-r--r--
2024-04-10 08:28
test_exception_variations.pyc
4.14
KB
-rw-r--r--
2024-04-10 08:28
test_exception_variations.pyo
4.14
KB
-rw-r--r--
2024-04-10 08:28
test_exceptions.py
28.09
KB
-rw-r--r--
2024-04-10 08:28
test_exceptions.pyc
25.48
KB
-rw-r--r--
2024-04-10 08:28
test_exceptions.pyo
25.44
KB
-rw-r--r--
2024-04-10 08:28
test_extcall.py
8.32
KB
-rw-r--r--
2024-04-10 08:28
test_extcall.pyc
8.95
KB
-rw-r--r--
2024-04-10 08:28
test_extcall.pyo
8.95
KB
-rw-r--r--
2024-04-10 08:28
test_fcntl.py
4.34
KB
-rw-r--r--
2024-04-10 08:28
test_fcntl.pyc
5.14
KB
-rw-r--r--
2024-04-10 08:28
test_fcntl.pyo
5.14
KB
-rw-r--r--
2024-04-10 08:28
test_file.py
10.92
KB
-rw-r--r--
2024-04-10 08:28
test_file.pyc
11.06
KB
-rw-r--r--
2024-04-10 08:28
test_file.pyo
10.96
KB
-rw-r--r--
2024-04-10 08:28
test_file2k.py
32.94
KB
-rw-r--r--
2024-04-10 08:28
test_file2k.py.stdin-test
32.86
KB
-rw-r--r--
2024-04-10 08:28
test_file2k.pyc
33.71
KB
-rw-r--r--
2024-04-10 08:28
test_file2k.pyo
33.53
KB
-rw-r--r--
2024-04-10 08:28
test_file_eintr.py
10.23
KB
-rw-r--r--
2024-04-10 08:28
test_file_eintr.pyc
8.59
KB
-rw-r--r--
2024-04-10 08:28
test_file_eintr.pyo
8.5
KB
-rw-r--r--
2024-04-10 08:28
test_filecmp.py
5.27
KB
-rw-r--r--
2024-04-10 08:28
test_filecmp.pyc
5.17
KB
-rw-r--r--
2024-04-10 08:28
test_filecmp.pyo
5.17
KB
-rw-r--r--
2024-04-10 08:28
test_fileinput.py
11.57
KB
-rw-r--r--
2024-04-10 08:28
test_fileinput.pyc
12
KB
-rw-r--r--
2024-04-10 08:28
test_fileinput.pyo
12
KB
-rw-r--r--
2024-04-10 08:28
test_fileio.py
16.71
KB
-rw-r--r--
2024-04-10 08:28
test_fileio.pyc
19.68
KB
-rw-r--r--
2024-04-10 08:28
test_fileio.pyo
19.68
KB
-rw-r--r--
2024-04-10 08:28
test_float.py
62.9
KB
-rw-r--r--
2024-04-10 08:28
test_float.pyc
50.81
KB
-rw-r--r--
2024-04-10 08:28
test_float.pyo
50.81
KB
-rw-r--r--
2024-04-10 08:28
test_fnmatch.py
6.13
KB
-rw-r--r--
2024-04-10 08:28
test_fnmatch.pyc
6.85
KB
-rw-r--r--
2024-04-10 08:28
test_fnmatch.pyo
6.85
KB
-rw-r--r--
2024-04-10 08:28
test_fork1.py
2.16
KB
-rw-r--r--
2024-04-10 08:28
test_fork1.pyc
2.41
KB
-rw-r--r--
2024-04-10 08:28
test_fork1.pyo
2.41
KB
-rw-r--r--
2024-04-10 08:28
test_format.py
15.9
KB
-rw-r--r--
2024-04-10 08:28
test_format.pyc
13.24
KB
-rw-r--r--
2024-04-10 08:28
test_format.pyo
13.24
KB
-rw-r--r--
2024-04-10 08:28
test_fpformat.py
2.64
KB
-rw-r--r--
2024-04-10 08:28
test_fpformat.pyc
3.12
KB
-rw-r--r--
2024-04-10 08:28
test_fpformat.pyo
3.12
KB
-rw-r--r--
2024-04-10 08:28
test_fractions.py
23.94
KB
-rw-r--r--
2024-04-10 08:28
test_fractions.pyc
26.32
KB
-rw-r--r--
2024-04-10 08:28
test_fractions.pyo
26.08
KB
-rw-r--r--
2024-04-10 08:28
test_frozen.py
1.21
KB
-rw-r--r--
2024-04-10 08:28
test_frozen.pyc
1.54
KB
-rw-r--r--
2024-04-10 08:28
test_frozen.pyo
1.54
KB
-rw-r--r--
2024-04-10 08:28
test_ftplib.py
29.89
KB
-rw-r--r--
2024-04-10 08:28
test_ftplib.pyc
37.58
KB
-rw-r--r--
2024-04-10 08:28
test_ftplib.pyo
37.52
KB
-rw-r--r--
2024-04-10 08:28
test_funcattrs.py
12.45
KB
-rw-r--r--
2024-04-10 08:28
test_funcattrs.pyc
14.92
KB
-rw-r--r--
2024-04-10 08:28
test_funcattrs.pyo
14.92
KB
-rw-r--r--
2024-04-10 08:28
test_functools.py
23.47
KB
-rw-r--r--
2024-04-10 08:28
test_functools.pyc
34.05
KB
-rw-r--r--
2024-04-10 08:28
test_functools.pyo
34.05
KB
-rw-r--r--
2024-04-10 08:28
test_future.py
3.77
KB
-rw-r--r--
2024-04-10 08:28
test_future.pyc
5.15
KB
-rw-r--r--
2024-04-10 08:28
test_future.pyo
5.15
KB
-rw-r--r--
2024-04-10 08:28
test_future1.py
229
B
-rw-r--r--
2024-04-10 08:28
test_future1.pyc
577
B
-rw-r--r--
2024-04-10 08:28
test_future1.pyo
577
B
-rw-r--r--
2024-04-10 08:28
test_future2.py
151
B
-rw-r--r--
2024-04-10 08:28
test_future2.pyc
591
B
-rw-r--r--
2024-04-10 08:28
test_future2.pyo
591
B
-rw-r--r--
2024-04-10 08:28
test_future3.py
576
B
-rw-r--r--
2024-04-10 08:28
test_future3.pyc
1.65
KB
-rw-r--r--
2024-04-10 08:28
test_future3.pyo
1.65
KB
-rw-r--r--
2024-04-10 08:28
test_future4.py
1.48
KB
-rw-r--r--
2024-04-10 08:28
test_future4.pyc
1.63
KB
-rw-r--r--
2024-04-10 08:28
test_future4.pyo
1.63
KB
-rw-r--r--
2024-04-10 08:28
test_future5.py
543
B
-rw-r--r--
2024-04-10 08:28
test_future5.pyc
1.25
KB
-rw-r--r--
2024-04-10 08:28
test_future5.pyo
1.25
KB
-rw-r--r--
2024-04-10 08:28
test_future_builtins.py
1.29
KB
-rw-r--r--
2024-04-10 08:28
test_future_builtins.pyc
1.92
KB
-rw-r--r--
2024-04-10 08:28
test_future_builtins.pyo
1.92
KB
-rw-r--r--
2024-04-10 08:28
test_gc.py
23.84
KB
-rw-r--r--
2024-04-10 08:28
test_gc.pyc
22.14
KB
-rw-r--r--
2024-04-10 08:28
test_gc.pyo
22.08
KB
-rw-r--r--
2024-04-10 08:28
test_gdb.py
39.78
KB
-rw-r--r--
2024-04-10 08:28
test_gdb.pyc
32.27
KB
-rw-r--r--
2024-04-10 08:28
test_gdb.pyo
32.27
KB
-rw-r--r--
2024-04-10 08:28
test_gdbm.py
2.77
KB
-rw-r--r--
2024-04-10 08:28
test_gdbm.pyc
3.54
KB
-rw-r--r--
2024-04-10 08:28
test_gdbm.pyo
3.54
KB
-rw-r--r--
2024-04-10 08:28
test_generators.py
49.63
KB
-rw-r--r--
2024-04-10 08:28
test_generators.pyc
45.1
KB
-rw-r--r--
2024-04-10 08:28
test_generators.pyo
44.44
KB
-rw-r--r--
2024-04-10 08:28
test_genericpath.py
10.31
KB
-rw-r--r--
2024-04-10 08:28
test_genericpath.pyc
10.19
KB
-rw-r--r--
2024-04-10 08:28
test_genericpath.pyo
10.19
KB
-rw-r--r--
2024-04-10 08:28
test_genexps.py
7.23
KB
-rw-r--r--
2024-04-10 08:28
test_genexps.pyc
7.47
KB
-rw-r--r--
2024-04-10 08:28
test_genexps.pyo
7.47
KB
-rw-r--r--
2024-04-10 08:28
test_getargs.py
938
B
-rw-r--r--
2024-04-10 08:28
test_getargs.pyc
1.15
KB
-rw-r--r--
2024-04-10 08:28
test_getargs.pyo
1.15
KB
-rw-r--r--
2024-04-10 08:28
test_getargs2.py
39.71
KB
-rw-r--r--
2024-04-10 08:28
test_getargs2.pyc
38.5
KB
-rw-r--r--
2024-04-10 08:28
test_getargs2.pyo
38.5
KB
-rw-r--r--
2024-04-10 08:28
test_getopt.py
6.81
KB
-rw-r--r--
2024-04-10 08:28
test_getopt.pyc
6.78
KB
-rw-r--r--
2024-04-10 08:28
test_getopt.pyo
6.78
KB
-rw-r--r--
2024-04-10 08:28
test_gettext.py
23.02
KB
-rw-r--r--
2024-04-10 08:28
test_gettext.pyc
25
KB
-rw-r--r--
2024-04-10 08:28
test_gettext.pyo
25
KB
-rw-r--r--
2024-04-10 08:28
test_gl.py
6.57
KB
-rw-r--r--
2024-04-10 08:28
test_gl.pyc
8.39
KB
-rw-r--r--
2024-04-10 08:28
test_gl.pyo
8.39
KB
-rw-r--r--
2024-04-10 08:28
test_glob.py
6.78
KB
-rw-r--r--
2024-04-10 08:28
test_glob.pyc
8.3
KB
-rw-r--r--
2024-04-10 08:28
test_glob.pyo
8.3
KB
-rw-r--r--
2024-04-10 08:28
test_global.py
1003
B
-rw-r--r--
2024-04-10 08:28
test_global.pyc
1.81
KB
-rw-r--r--
2024-04-10 08:28
test_global.pyo
1.81
KB
-rw-r--r--
2024-04-10 08:28
test_grammar.py
39.1
KB
-rw-r--r--
2024-04-10 08:28
test_grammar.pyc
45.6
KB
-rw-r--r--
2024-04-10 08:28
test_grammar.pyo
45.19
KB
-rw-r--r--
2024-04-10 08:28
test_grp.py
3.21
KB
-rw-r--r--
2024-04-10 08:28
test_grp.pyc
2.98
KB
-rw-r--r--
2024-04-10 08:28
test_grp.pyo
2.98
KB
-rw-r--r--
2024-04-10 08:28
test_gzip.py
13.17
KB
-rw-r--r--
2024-04-10 08:28
test_gzip.pyc
12.89
KB
-rw-r--r--
2024-04-10 08:28
test_gzip.pyo
12.89
KB
-rw-r--r--
2024-04-10 08:28
test_hash.py
7.97
KB
-rw-r--r--
2024-04-10 08:28
test_hash.pyc
12.17
KB
-rw-r--r--
2024-04-10 08:28
test_hash.pyo
12.17
KB
-rw-r--r--
2024-04-10 08:28
test_hashlib.py
20.05
KB
-rw-r--r--
2024-04-10 08:28
test_hashlib.pyc
20.33
KB
-rw-r--r--
2024-04-10 08:28
test_hashlib.pyo
20.14
KB
-rw-r--r--
2024-04-10 08:28
test_heapq.py
15.4
KB
-rw-r--r--
2024-04-10 08:28
test_heapq.pyc
22.76
KB
-rw-r--r--
2024-04-10 08:28
test_heapq.pyo
22.76
KB
-rw-r--r--
2024-04-10 08:28
test_hmac.py
16.97
KB
-rw-r--r--
2024-04-10 08:28
test_hmac.pyc
15.19
KB
-rw-r--r--
2024-04-10 08:28
test_hmac.pyo
15.19
KB
-rw-r--r--
2024-04-10 08:28
test_hotshot.py
5
KB
-rw-r--r--
2024-04-10 08:28
test_hotshot.pyc
6.56
KB
-rw-r--r--
2024-04-10 08:28
test_hotshot.pyo
6.56
KB
-rw-r--r--
2024-04-10 08:28
test_htmllib.py
1.93
KB
-rw-r--r--
2024-04-10 08:28
test_htmllib.pyc
3.32
KB
-rw-r--r--
2024-04-10 08:28
test_htmllib.pyo
3.32
KB
-rw-r--r--
2024-04-10 08:28
test_htmlparser.py
24.74
KB
-rw-r--r--
2024-04-10 08:28
test_htmlparser.pyc
27.16
KB
-rw-r--r--
2024-04-10 08:28
test_htmlparser.pyo
27.16
KB
-rw-r--r--
2024-04-10 08:28
test_httplib.py
39.87
KB
-rw-r--r--
2024-04-10 08:28
test_httplib.pyc
40.26
KB
-rw-r--r--
2024-04-10 08:28
test_httplib.pyo
40.26
KB
-rw-r--r--
2024-04-10 08:28
test_httpservers.py
24.56
KB
-rw-r--r--
2024-04-10 08:28
test_httpservers.pyc
29.76
KB
-rw-r--r--
2024-04-10 08:28
test_httpservers.pyo
29.76
KB
-rw-r--r--
2024-04-10 08:28
test_idle.py
821
B
-rw-r--r--
2024-04-10 08:28
test_idle.pyc
772
B
-rw-r--r--
2024-04-10 08:28
test_idle.pyo
772
B
-rw-r--r--
2024-04-10 08:28
test_imageop.py
6.82
KB
-rw-r--r--
2024-04-10 08:28
test_imageop.pyc
5.24
KB
-rw-r--r--
2024-04-10 08:28
test_imageop.pyo
5.24
KB
-rw-r--r--
2024-04-10 08:28
test_imaplib.py
7.55
KB
-rw-r--r--
2024-04-10 08:28
test_imaplib.pyc
9.8
KB
-rw-r--r--
2024-04-10 08:28
test_imaplib.pyo
9.8
KB
-rw-r--r--
2024-04-10 08:28
test_imgfile.py
4.19
KB
-rw-r--r--
2024-04-10 08:28
test_imgfile.pyc
2.4
KB
-rw-r--r--
2024-04-10 08:28
test_imgfile.pyo
2.4
KB
-rw-r--r--
2024-04-10 08:28
test_imghdr.py
3.77
KB
-rw-r--r--
2024-04-10 08:28
test_imghdr.pyc
5.79
KB
-rw-r--r--
2024-04-10 08:28
test_imghdr.pyo
5.79
KB
-rw-r--r--
2024-04-10 08:28
test_imp.py
2.31
KB
-rw-r--r--
2024-04-10 08:28
test_imp.pyc
2.65
KB
-rw-r--r--
2024-04-10 08:28
test_imp.pyo
2.65
KB
-rw-r--r--
2024-04-10 08:28
test_import.py
24.32
KB
-rw-r--r--
2024-04-10 08:28
test_import.pyc
22.35
KB
-rw-r--r--
2024-04-10 08:28
test_import.pyo
22.21
KB
-rw-r--r--
2024-04-10 08:28
test_import_magic.py
2.21
KB
-rw-r--r--
2024-04-10 08:28
test_import_magic.pyc
2.58
KB
-rw-r--r--
2024-04-10 08:28
test_import_magic.pyo
2.58
KB
-rw-r--r--
2024-04-10 08:28
test_importhooks.py
8.17
KB
-rw-r--r--
2024-04-10 08:28
test_importhooks.pyc
9.93
KB
-rw-r--r--
2024-04-10 08:28
test_importhooks.pyo
9.93
KB
-rw-r--r--
2024-04-10 08:28
test_importlib.py
5.63
KB
-rw-r--r--
2024-04-10 08:28
test_importlib.pyc
6.38
KB
-rw-r--r--
2024-04-10 08:28
test_importlib.pyo
6.38
KB
-rw-r--r--
2024-04-10 08:28
test_index.py
9.83
KB
-rw-r--r--
2024-04-10 08:28
test_index.pyc
16.88
KB
-rw-r--r--
2024-04-10 08:28
test_index.pyo
16.88
KB
-rw-r--r--
2024-04-10 08:28
test_inspect.py
35.55
KB
-rw-r--r--
2024-04-10 08:28
test_inspect.pyc
41.73
KB
-rw-r--r--
2024-04-10 08:28
test_inspect.pyo
41.67
KB
-rw-r--r--
2024-04-10 08:28
test_int.py
19.54
KB
-rw-r--r--
2024-04-10 08:28
test_int.pyc
20.12
KB
-rw-r--r--
2024-04-10 08:28
test_int.pyo
20.12
KB
-rw-r--r--
2024-04-10 08:28
test_int_literal.py
8.91
KB
-rw-r--r--
2024-04-10 08:28
test_int_literal.pyc
4.88
KB
-rw-r--r--
2024-04-10 08:28
test_int_literal.pyo
4.88
KB
-rw-r--r--
2024-04-10 08:28
test_io.py
123.4
KB
-rw-r--r--
2024-04-10 08:28
test_io.pyc
130.11
KB
-rw-r--r--
2024-04-10 08:28
test_io.pyo
130.01
KB
-rw-r--r--
2024-04-10 08:28
test_ioctl.py
3.23
KB
-rw-r--r--
2024-04-10 08:28
test_ioctl.pyc
3.5
KB
-rw-r--r--
2024-04-10 08:28
test_ioctl.pyo
3.5
KB
-rw-r--r--
2024-04-10 08:28
test_isinstance.py
9.58
KB
-rw-r--r--
2024-04-10 08:28
test_isinstance.pyc
12.32
KB
-rw-r--r--
2024-04-10 08:28
test_isinstance.pyo
12.32
KB
-rw-r--r--
2024-04-10 08:28
test_iter.py
29.3
KB
-rw-r--r--
2024-04-10 08:28
test_iter.pyc
35.38
KB
-rw-r--r--
2024-04-10 08:28
test_iter.pyo
35.35
KB
-rw-r--r--
2024-04-10 08:28
test_iterlen.py
7.95
KB
-rw-r--r--
2024-04-10 08:28
test_iterlen.pyc
12.32
KB
-rw-r--r--
2024-04-10 08:28
test_iterlen.pyo
12.32
KB
-rw-r--r--
2024-04-10 08:28
test_itertools.py
73.61
KB
-rw-r--r--
2024-04-10 08:28
test_itertools.pyc
87.46
KB
-rw-r--r--
2024-04-10 08:28
test_itertools.pyo
87.46
KB
-rw-r--r--
2024-04-10 08:28
test_json.py
327
B
-rw-r--r--
2024-04-10 08:28
test_json.pyc
670
B
-rw-r--r--
2024-04-10 08:28
test_json.pyo
670
B
-rw-r--r--
2024-04-10 08:28
test_kqueue.py
8.11
KB
-rw-r--r--
2024-04-10 08:28
test_kqueue.pyc
7.16
KB
-rw-r--r--
2024-04-10 08:28
test_kqueue.pyo
7.16
KB
-rw-r--r--
2024-04-10 08:28
test_largefile.py
7.46
KB
-rw-r--r--
2024-04-10 08:28
test_largefile.pyc
6.41
KB
-rw-r--r--
2024-04-10 08:28
test_largefile.pyo
6.41
KB
-rw-r--r--
2024-04-10 08:28
test_lib2to3.py
614
B
-rw-r--r--
2024-04-10 08:28
test_lib2to3.pyc
989
B
-rw-r--r--
2024-04-10 08:28
test_lib2to3.pyo
989
B
-rw-r--r--
2024-04-10 08:28
test_linecache.py
4.55
KB
-rw-r--r--
2024-04-10 08:28
test_linecache.pyc
4.33
KB
-rw-r--r--
2024-04-10 08:28
test_linecache.pyo
4.33
KB
-rw-r--r--
2024-04-10 08:28
test_linuxaudiodev.py
3.1
KB
-rw-r--r--
2024-04-10 08:28
test_linuxaudiodev.pyc
3.71
KB
-rw-r--r--
2024-04-10 08:28
test_linuxaudiodev.pyo
3.71
KB
-rw-r--r--
2024-04-10 08:28
test_list.py
2.58
KB
-rw-r--r--
2024-04-10 08:28
test_list.pyc
3.1
KB
-rw-r--r--
2024-04-10 08:28
test_list.pyo
3.1
KB
-rw-r--r--
2024-04-10 08:28
test_locale.py
19.11
KB
-rw-r--r--
2024-04-10 08:28
test_locale.pyc
22.41
KB
-rw-r--r--
2024-04-10 08:28
test_locale.pyo
22.41
KB
-rw-r--r--
2024-04-10 08:28
test_logging.py
61.14
KB
-rw-r--r--
2024-04-10 08:28
test_logging.pyc
47.46
KB
-rw-r--r--
2024-04-10 08:28
test_logging.pyo
47.46
KB
-rw-r--r--
2024-04-10 08:28
test_long.py
37.45
KB
-rw-r--r--
2024-04-10 08:28
test_long.pyc
45.22
KB
-rw-r--r--
2024-04-10 08:28
test_long.pyo
45.04
KB
-rw-r--r--
2024-04-10 08:28
test_long_future.py
8.81
KB
-rw-r--r--
2024-04-10 08:28
test_long_future.pyc
12.05
KB
-rw-r--r--
2024-04-10 08:28
test_long_future.pyo
12.05
KB
-rw-r--r--
2024-04-10 08:28
test_longexp.py
318
B
-rw-r--r--
2024-04-10 08:28
test_longexp.pyc
918
B
-rw-r--r--
2024-04-10 08:28
test_longexp.pyo
918
B
-rw-r--r--
2024-04-10 08:28
test_macos.py
2.72
KB
-rw-r--r--
2024-04-10 08:28
test_macos.pyc
2.93
KB
-rw-r--r--
2024-04-10 08:28
test_macos.pyo
2.93
KB
-rw-r--r--
2024-04-10 08:28
test_macostools.py
2.92
KB
-rw-r--r--
2024-04-10 08:28
test_macostools.pyc
3.61
KB
-rw-r--r--
2024-04-10 08:28
test_macostools.pyo
3.61
KB
-rw-r--r--
2024-04-10 08:28
test_macpath.py
2.87
KB
-rw-r--r--
2024-04-10 08:28
test_macpath.pyc
3.85
KB
-rw-r--r--
2024-04-10 08:28
test_macpath.pyo
3.85
KB
-rw-r--r--
2024-04-10 08:28
test_macurl2path.py
1.8
KB
-rw-r--r--
2024-04-10 08:28
test_macurl2path.pyc
1.9
KB
-rw-r--r--
2024-04-10 08:28
test_macurl2path.pyo
1.9
KB
-rw-r--r--
2024-04-10 08:28
test_mailbox.py
84.54
KB
-rw-r--r--
2024-04-10 08:28
test_mailbox.pyc
84.45
KB
-rw-r--r--
2024-04-10 08:28
test_mailbox.pyo
84.45
KB
-rw-r--r--
2024-04-10 08:28
test_mailcap.py
10.66
KB
-rw-r--r--
2024-04-10 08:28
test_mailcap.pyc
8.28
KB
-rw-r--r--
2024-04-10 08:28
test_mailcap.pyo
8.28
KB
-rw-r--r--
2024-04-10 08:28
test_marshal.py
15.52
KB
-rw-r--r--
2024-04-10 08:28
test_marshal.pyc
17.29
KB
-rw-r--r--
2024-04-10 08:28
test_marshal.pyo
17.29
KB
-rw-r--r--
2024-04-10 08:28
test_math.py
43.45
KB
-rw-r--r--
2024-04-10 08:28
test_math.pyc
38.92
KB
-rw-r--r--
2024-04-10 08:28
test_math.pyo
38.92
KB
-rw-r--r--
2024-04-10 08:28
test_md5.py
1.75
KB
-rw-r--r--
2024-04-10 08:28
test_md5.pyc
2.74
KB
-rw-r--r--
2024-04-10 08:28
test_md5.pyo
2.74
KB
-rw-r--r--
2024-04-10 08:28
test_memoryio.py
27.79
KB
-rw-r--r--
2024-04-10 08:28
test_memoryio.pyc
28.57
KB
-rw-r--r--
2024-04-10 08:28
test_memoryio.pyo
28.57
KB
-rw-r--r--
2024-04-10 08:28
test_memoryview.py
12.34
KB
-rw-r--r--
2024-04-10 08:28
test_memoryview.pyc
13.96
KB
-rw-r--r--
2024-04-10 08:28
test_memoryview.pyo
13.96
KB
-rw-r--r--
2024-04-10 08:28
test_mhlib.py
10.88
KB
-rw-r--r--
2024-04-10 08:28
test_mhlib.pyc
11.5
KB
-rw-r--r--
2024-04-10 08:28
test_mhlib.pyo
11.5
KB
-rw-r--r--
2024-04-10 08:28
test_mimetools.py
1.74
KB
-rw-r--r--
2024-04-10 08:28
test_mimetools.pyc
2.5
KB
-rw-r--r--
2024-04-10 08:28
test_mimetools.pyo
2.5
KB
-rw-r--r--
2024-04-10 08:28
test_mimetypes.py
6.1
KB
-rw-r--r--
2024-04-10 08:28
test_mimetypes.pyc
8.4
KB
-rw-r--r--
2024-04-10 08:28
test_mimetypes.pyo
8.4
KB
-rw-r--r--
2024-04-10 08:28
test_minidom.py
61.93
KB
-rw-r--r--
2024-04-10 08:28
test_minidom.pyc
52.7
KB
-rw-r--r--
2024-04-10 08:28
test_minidom.pyo
52.7
KB
-rw-r--r--
2024-04-10 08:28
test_mmap.py
25.23
KB
-rw-r--r--
2024-04-10 08:28
test_mmap.pyc
21.5
KB
-rw-r--r--
2024-04-10 08:28
test_mmap.pyo
21.45
KB
-rw-r--r--
2024-04-10 08:28
test_module.py
2.69
KB
-rw-r--r--
2024-04-10 08:28
test_module.pyc
3.31
KB
-rw-r--r--
2024-04-10 08:28
test_module.pyo
3.31
KB
-rw-r--r--
2024-04-10 08:28
test_modulefinder.py
8.17
KB
-rw-r--r--
2024-04-10 08:28
test_modulefinder.pyc
8.2
KB
-rw-r--r--
2024-04-10 08:28
test_modulefinder.pyo
8.2
KB
-rw-r--r--
2024-04-10 08:28
test_msilib.py
3
KB
-rw-r--r--
2024-04-10 08:28
test_msilib.pyc
3.64
KB
-rw-r--r--
2024-04-10 08:28
test_msilib.pyo
3.64
KB
-rw-r--r--
2024-04-10 08:28
test_multibytecodec.py
10.82
KB
-rw-r--r--
2024-04-10 08:28
test_multibytecodec.pyc
12.39
KB
-rw-r--r--
2024-04-10 08:28
test_multibytecodec.pyo
12.39
KB
-rw-r--r--
2024-04-10 08:28
test_multifile.py
1.66
KB
-rw-r--r--
2024-04-10 08:28
test_multifile.pyc
2.03
KB
-rw-r--r--
2024-04-10 08:28
test_multifile.pyo
1.96
KB
-rw-r--r--
2024-04-10 08:28
test_multiprocessing.py
85.16
KB
-rw-r--r--
2024-04-10 08:28
test_multiprocessing.pyc
91
KB
-rw-r--r--
2024-04-10 08:28
test_multiprocessing.pyo
90.87
KB
-rw-r--r--
2024-04-10 08:28
test_mutants.py
8.3
KB
-rw-r--r--
2024-04-10 08:28
test_mutants.pyc
6.46
KB
-rw-r--r--
2024-04-10 08:28
test_mutants.pyo
6.46
KB
-rw-r--r--
2024-04-10 08:28
test_mutex.py
999
B
-rw-r--r--
2024-04-10 08:28
test_mutex.pyc
1.7
KB
-rw-r--r--
2024-04-10 08:28
test_mutex.pyo
1.7
KB
-rw-r--r--
2024-04-10 08:28
test_netrc.py
4.68
KB
-rw-r--r--
2024-04-10 08:28
test_netrc.pyc
6.57
KB
-rw-r--r--
2024-04-10 08:28
test_netrc.pyo
6.57
KB
-rw-r--r--
2024-04-10 08:28
test_new.py
5.91
KB
-rw-r--r--
2024-04-10 08:28
test_new.pyc
5.62
KB
-rw-r--r--
2024-04-10 08:28
test_new.pyo
5.62
KB
-rw-r--r--
2024-04-10 08:28
test_nis.py
1.15
KB
-rw-r--r--
2024-04-10 08:28
test_nis.pyc
1.31
KB
-rw-r--r--
2024-04-10 08:28
test_nis.pyo
1.31
KB
-rw-r--r--
2024-04-10 08:28
test_nntplib.py
1.61
KB
-rw-r--r--
2024-04-10 08:28
test_nntplib.pyc
2.9
KB
-rw-r--r--
2024-04-10 08:28
test_nntplib.pyo
2.9
KB
-rw-r--r--
2024-04-10 08:28
test_normalization.py
3.06
KB
-rw-r--r--
2024-04-10 08:28
test_normalization.pyc
4.02
KB
-rw-r--r--
2024-04-10 08:28
test_normalization.pyo
4.02
KB
-rw-r--r--
2024-04-10 08:28
test_ntpath.py
14.74
KB
-rw-r--r--
2024-04-10 08:28
test_ntpath.pyc
16.22
KB
-rw-r--r--
2024-04-10 08:28
test_ntpath.pyo
16.22
KB
-rw-r--r--
2024-04-10 08:28
test_old_mailbox.py
4.77
KB
-rw-r--r--
2024-04-10 08:28
test_old_mailbox.pyc
5.88
KB
-rw-r--r--
2024-04-10 08:28
test_old_mailbox.pyo
5.88
KB
-rw-r--r--
2024-04-10 08:28
test_opcodes.py
3.04
KB
-rw-r--r--
2024-04-10 08:28
test_opcodes.pyc
4.07
KB
-rw-r--r--
2024-04-10 08:28
test_opcodes.pyo
4.07
KB
-rw-r--r--
2024-04-10 08:28
test_openpty.py
782
B
-rw-r--r--
2024-04-10 08:28
test_openpty.py.tty-fail
681
B
-rw-r--r--
2024-04-10 08:28
test_openpty.pyc
1.28
KB
-rw-r--r--
2024-04-10 08:28
test_openpty.pyo
1.28
KB
-rw-r--r--
2024-04-10 08:28
test_operator.py
21.38
KB
-rw-r--r--
2024-04-10 08:28
test_operator.pyc
27.4
KB
-rw-r--r--
2024-04-10 08:28
test_operator.pyo
27.4
KB
-rw-r--r--
2024-04-10 08:28
test_optparse.py
61.25
KB
-rw-r--r--
2024-04-10 08:28
test_optparse.pyc
75.76
KB
-rw-r--r--
2024-04-10 08:28
test_optparse.pyo
75.76
KB
-rw-r--r--
2024-04-10 08:28
test_ordered_dict.py
13.11
KB
-rw-r--r--
2024-04-10 08:28
test_ordered_dict.pyc
16.09
KB
-rw-r--r--
2024-04-10 08:28
test_ordered_dict.pyo
16.09
KB
-rw-r--r--
2024-04-10 08:28
test_os.py
39.34
KB
-rw-r--r--
2024-04-10 08:28
test_os.pyc
36.41
KB
-rw-r--r--
2024-04-10 08:28
test_os.pyo
36.41
KB
-rw-r--r--
2024-04-10 08:28
test_ossaudiodev.py
5.95
KB
-rw-r--r--
2024-04-10 08:28
test_ossaudiodev.pyc
5.02
KB
-rw-r--r--
2024-04-10 08:28
test_ossaudiodev.pyo
5.02
KB
-rw-r--r--
2024-04-10 08:28
test_parser.py
24.81
KB
-rw-r--r--
2024-04-10 08:28
test_parser.pyc
25.07
KB
-rw-r--r--
2024-04-10 08:28
test_parser.pyo
25.07
KB
-rw-r--r--
2024-04-10 08:28
test_pdb.py
11.41
KB
-rw-r--r--
2024-04-10 08:28
test_pdb.pyc
12.95
KB
-rw-r--r--
2024-04-10 08:28
test_pdb.pyo
12.95
KB
-rw-r--r--
2024-04-10 08:28
test_peepholer.py
8.64
KB
-rw-r--r--
2024-04-10 08:28
test_peepholer.pyc
9.74
KB
-rw-r--r--
2024-04-10 08:28
test_peepholer.pyo
9.74
KB
-rw-r--r--
2024-04-10 08:28
test_pep247.py
1.99
KB
-rw-r--r--
2024-04-10 08:28
test_pep247.pyc
2.48
KB
-rw-r--r--
2024-04-10 08:28
test_pep247.pyo
2.48
KB
-rw-r--r--
2024-04-10 08:28
test_pep277.py
7.57
KB
-rw-r--r--
2024-04-10 08:28
test_pep277.pyc
7.16
KB
-rw-r--r--
2024-04-10 08:28
test_pep277.pyo
7.16
KB
-rw-r--r--
2024-04-10 08:28
test_pep352.py
8.83
KB
-rw-r--r--
2024-04-10 08:28
test_pep352.pyc
8.77
KB
-rw-r--r--
2024-04-10 08:28
test_pep352.pyo
8.77
KB
-rw-r--r--
2024-04-10 08:28
test_pickle.py
3.31
KB
-rw-r--r--
2024-04-10 08:28
test_pickle.pyc
5.09
KB
-rw-r--r--
2024-04-10 08:28
test_pickle.pyo
5.09
KB
-rw-r--r--
2024-04-10 08:28
test_pickletools.py
611
B
-rw-r--r--
2024-04-10 08:28
test_pickletools.pyc
1.27
KB
-rw-r--r--
2024-04-10 08:28
test_pickletools.pyo
1.27
KB
-rw-r--r--
2024-04-10 08:28
test_pipes.py
6.83
KB
-rw-r--r--
2024-04-10 08:28
test_pipes.pyc
7.21
KB
-rw-r--r--
2024-04-10 08:28
test_pipes.pyo
7.21
KB
-rw-r--r--
2024-04-10 08:28
test_pkg.py
9.25
KB
-rw-r--r--
2024-04-10 08:28
test_pkg.pyc
9.15
KB
-rw-r--r--
2024-04-10 08:28
test_pkg.pyo
9.15
KB
-rw-r--r--
2024-04-10 08:28
test_pkgimport.py
2.81
KB
-rw-r--r--
2024-04-10 08:28
test_pkgimport.pyc
3.41
KB
-rw-r--r--
2024-04-10 08:28
test_pkgimport.pyo
3.41
KB
-rw-r--r--
2024-04-10 08:28
test_pkgutil.py
4.54
KB
-rw-r--r--
2024-04-10 08:28
test_pkgutil.pyc
5.45
KB
-rw-r--r--
2024-04-10 08:28
test_pkgutil.pyo
5.45
KB
-rw-r--r--
2024-04-10 08:28
test_platform.py
11.09
KB
-rw-r--r--
2024-04-10 08:28
test_platform.pyc
12.1
KB
-rw-r--r--
2024-04-10 08:28
test_platform.pyo
12.1
KB
-rw-r--r--
2024-04-10 08:28
test_plistlib.py
7.8
KB
-rw-r--r--
2024-04-10 08:28
test_plistlib.pyc
9.15
KB
-rw-r--r--
2024-04-10 08:28
test_plistlib.pyo
9.15
KB
-rw-r--r--
2024-04-10 08:28
test_poll.py
7.14
KB
-rw-r--r--
2024-04-10 08:28
test_poll.pyc
6.96
KB
-rw-r--r--
2024-04-10 08:28
test_poll.pyo
6.96
KB
-rw-r--r--
2024-04-10 08:28
test_popen.py
1.56
KB
-rw-r--r--
2024-04-10 08:28
test_popen.pyc
1.99
KB
-rw-r--r--
2024-04-10 08:28
test_popen.pyo
1.99
KB
-rw-r--r--
2024-04-10 08:28
test_popen2.py
4.21
KB
-rw-r--r--
2024-04-10 08:28
test_popen2.pyc
4.46
KB
-rw-r--r--
2024-04-10 08:28
test_popen2.pyo
4.46
KB
-rw-r--r--
2024-04-10 08:28
test_poplib.py
10.61
KB
-rw-r--r--
2024-04-10 08:28
test_poplib.pyc
15.72
KB
-rw-r--r--
2024-04-10 08:28
test_poplib.pyo
15.66
KB
-rw-r--r--
2024-04-10 08:28
test_posix.py
26.44
KB
-rw-r--r--
2024-04-10 08:28
test_posix.pyc
24.55
KB
-rw-r--r--
2024-04-10 08:28
test_posix.pyo
24.55
KB
-rw-r--r--
2024-04-10 08:28
test_posixpath.py
21.28
KB
-rw-r--r--
2024-04-10 08:28
test_posixpath.pyc
17.92
KB
-rw-r--r--
2024-04-10 08:28
test_posixpath.pyo
17.92
KB
-rw-r--r--
2024-04-10 08:28
test_pow.py
4.51
KB
-rw-r--r--
2024-04-10 08:28
test_pow.pyc
4.67
KB
-rw-r--r--
2024-04-10 08:28
test_pow.pyo
4.67
KB
-rw-r--r--
2024-04-10 08:28
test_pprint.py
25.65
KB
-rw-r--r--
2024-04-10 08:28
test_pprint.pyc
26.24
KB
-rw-r--r--
2024-04-10 08:28
test_pprint.pyo
26.24
KB
-rw-r--r--
2024-04-10 08:28
test_print.py
4.68
KB
-rw-r--r--
2024-04-10 08:28
test_print.pyc
5.95
KB
-rw-r--r--
2024-04-10 08:28
test_print.pyo
5.95
KB
-rw-r--r--
2024-04-10 08:28
test_profile.py
7.84
KB
-rw-r--r--
2024-04-10 08:28
test_profile.pyc
8.33
KB
-rw-r--r--
2024-04-10 08:28
test_profile.pyo
8.33
KB
-rw-r--r--
2024-04-10 08:28
test_property.py
6.77
KB
-rw-r--r--
2024-04-10 08:28
test_property.pyc
11.66
KB
-rw-r--r--
2024-04-10 08:28
test_property.pyo
11.66
KB
-rw-r--r--
2024-04-10 08:28
test_pstats.py
959
B
-rw-r--r--
2024-04-10 08:28
test_pstats.pyc
1.41
KB
-rw-r--r--
2024-04-10 08:28
test_pstats.pyo
1.41
KB
-rw-r--r--
2024-04-10 08:28
test_pty.py
11.38
KB
-rw-r--r--
2024-04-10 08:28
test_pty.py.tty-fail
11.29
KB
-rw-r--r--
2024-04-10 08:28
test_pty.pyc
8.08
KB
-rw-r--r--
2024-04-10 08:28
test_pty.pyo
8.08
KB
-rw-r--r--
2024-04-10 08:28
test_pwd.py
4.19
KB
-rw-r--r--
2024-04-10 08:28
test_pwd.pyc
3.22
KB
-rw-r--r--
2024-04-10 08:28
test_pwd.pyo
3.22
KB
-rw-r--r--
2024-04-10 08:28
test_py3kwarn.py
18.9
KB
-rw-r--r--
2024-04-10 08:28
test_py3kwarn.pyc
23.02
KB
-rw-r--r--
2024-04-10 08:28
test_py3kwarn.pyo
23.02
KB
-rw-r--r--
2024-04-10 08:28
test_py_compile.py
1.7
KB
-rw-r--r--
2024-04-10 08:28
test_py_compile.pyc
2.42
KB
-rw-r--r--
2024-04-10 08:28
test_py_compile.pyo
2.42
KB
-rw-r--r--
2024-04-10 08:28
test_pyclbr.py
7.73
KB
-rw-r--r--
2024-04-10 08:28
test_pyclbr.pyc
6.82
KB
-rw-r--r--
2024-04-10 08:28
test_pyclbr.pyo
6.82
KB
-rw-r--r--
2024-04-10 08:28
test_pydoc.py
23.88
KB
-rw-r--r--
2024-04-10 08:28
test_pydoc.pyc
26.15
KB
-rw-r--r--
2024-04-10 08:28
test_pydoc.pyo
26.15
KB
-rw-r--r--
2024-04-10 08:28
test_pyexpat.py
25.74
KB
-rw-r--r--
2024-04-10 08:28
test_pyexpat.pyc
29.99
KB
-rw-r--r--
2024-04-10 08:28
test_pyexpat.pyo
29.99
KB
-rw-r--r--
2024-04-10 08:28
test_queue.py
11.69
KB
-rw-r--r--
2024-04-10 08:28
test_queue.pyc
10.01
KB
-rw-r--r--
2024-04-10 08:28
test_queue.pyo
10.01
KB
-rw-r--r--
2024-04-10 08:28
test_quopri.py
7.31
KB
-rw-r--r--
2024-04-10 08:28
test_quopri.pyc
7.96
KB
-rw-r--r--
2024-04-10 08:28
test_quopri.pyo
7.96
KB
-rw-r--r--
2024-04-10 08:28
test_random.py
25.16
KB
-rw-r--r--
2024-04-10 08:28
test_random.pyc
25.54
KB
-rw-r--r--
2024-04-10 08:28
test_random.pyo
25.54
KB
-rw-r--r--
2024-04-10 08:28
test_re.py
59.43
KB
-rw-r--r--
2024-04-10 08:28
test_re.pyc
53.84
KB
-rw-r--r--
2024-04-10 08:28
test_re.pyo
53.59
KB
-rw-r--r--
2024-04-10 08:28
test_readline.py
2.37
KB
-rw-r--r--
2024-04-10 08:28
test_readline.pyc
2.58
KB
-rw-r--r--
2024-04-10 08:28
test_readline.pyo
2.58
KB
-rw-r--r--
2024-04-10 08:28
test_regrtest.py
28.5
KB
-rw-r--r--
2024-04-10 08:28
test_regrtest.pyc
27.91
KB
-rw-r--r--
2024-04-10 08:28
test_regrtest.pyo
27.91
KB
-rw-r--r--
2024-04-10 08:28
test_repr.py
12.47
KB
-rw-r--r--
2024-04-10 08:28
test_repr.pyc
15.31
KB
-rw-r--r--
2024-04-10 08:28
test_repr.pyo
15.31
KB
-rw-r--r--
2024-04-10 08:28
test_resource.py
4.76
KB
-rw-r--r--
2024-04-10 08:28
test_resource.pyc
4.07
KB
-rw-r--r--
2024-04-10 08:28
test_resource.pyo
4.07
KB
-rw-r--r--
2024-04-10 08:28
test_rfc822.py
9.24
KB
-rw-r--r--
2024-04-10 08:28
test_rfc822.pyc
9.69
KB
-rw-r--r--
2024-04-10 08:28
test_rfc822.pyo
9.69
KB
-rw-r--r--
2024-04-10 08:28
test_richcmp.py
11.2
KB
-rw-r--r--
2024-04-10 08:28
test_richcmp.pyc
15.97
KB
-rw-r--r--
2024-04-10 08:28
test_richcmp.pyo
15.97
KB
-rw-r--r--
2024-04-10 08:28
test_rlcompleter.py
4.34
KB
-rw-r--r--
2024-04-10 08:28
test_rlcompleter.pyc
4.93
KB
-rw-r--r--
2024-04-10 08:28
test_rlcompleter.pyo
4.93
KB
-rw-r--r--
2024-04-10 08:28
test_robotparser.py
6.91
KB
-rw-r--r--
2024-04-10 08:28
test_robotparser.pyc
9.81
KB
-rw-r--r--
2024-04-10 08:28
test_robotparser.pyo
9.81
KB
-rw-r--r--
2024-04-10 08:28
test_runpy.py
17.04
KB
-rw-r--r--
2024-04-10 08:28
test_runpy.pyc
16.01
KB
-rw-r--r--
2024-04-10 08:28
test_runpy.pyo
16.01
KB
-rw-r--r--
2024-04-10 08:28
test_sax.py
37.77
KB
-rw-r--r--
2024-04-10 08:28
test_sax.pyc
38.05
KB
-rw-r--r--
2024-04-10 08:28
test_sax.pyo
38.05
KB
-rw-r--r--
2024-04-10 08:28
test_scope.py
15.17
KB
-rw-r--r--
2024-04-10 08:28
test_scope.pyc
24.83
KB
-rw-r--r--
2024-04-10 08:28
test_scope.pyo
24.83
KB
-rw-r--r--
2024-04-10 08:28
test_scriptpackages.py
1.36
KB
-rw-r--r--
2024-04-10 08:28
test_scriptpackages.pyc
2.53
KB
-rw-r--r--
2024-04-10 08:28
test_scriptpackages.pyo
2.53
KB
-rw-r--r--
2024-04-10 08:28
test_select.py
2.11
KB
-rw-r--r--
2024-04-10 08:28
test_select.pyc
3.4
KB
-rw-r--r--
2024-04-10 08:28
test_select.pyo
3.4
KB
-rw-r--r--
2024-04-10 08:28
test_set.py
61.32
KB
-rw-r--r--
2024-04-10 08:28
test_set.pyc
84.45
KB
-rw-r--r--
2024-04-10 08:28
test_set.pyo
84.45
KB
-rw-r--r--
2024-04-10 08:28
test_setcomps.py
3.76
KB
-rw-r--r--
2024-04-10 08:28
test_setcomps.pyc
3.99
KB
-rw-r--r--
2024-04-10 08:28
test_setcomps.pyo
3.99
KB
-rw-r--r--
2024-04-10 08:28
test_sets.py
27.25
KB
-rw-r--r--
2024-04-10 08:28
test_sets.pyc
41.1
KB
-rw-r--r--
2024-04-10 08:28
test_sets.pyo
41.1
KB
-rw-r--r--
2024-04-10 08:28
test_sgmllib.py
15.36
KB
-rw-r--r--
2024-04-10 08:28
test_sgmllib.pyc
18.06
KB
-rw-r--r--
2024-04-10 08:28
test_sgmllib.pyo
18.06
KB
-rw-r--r--
2024-04-10 08:28
test_sha.py
1.66
KB
-rw-r--r--
2024-04-10 08:28
test_sha.pyc
2.14
KB
-rw-r--r--
2024-04-10 08:28
test_sha.pyo
2.14
KB
-rw-r--r--
2024-04-10 08:28
test_shelve.py
4.49
KB
-rw-r--r--
2024-04-10 08:28
test_shelve.pyc
6.87
KB
-rw-r--r--
2024-04-10 08:28
test_shelve.pyo
6.87
KB
-rw-r--r--
2024-04-10 08:28
test_shlex.py
5.57
KB
-rw-r--r--
2024-04-10 08:28
test_shlex.pyc
6.29
KB
-rw-r--r--
2024-04-10 08:28
test_shlex.pyo
6.29
KB
-rw-r--r--
2024-04-10 08:28
test_shutil.py
34.1
KB
-rw-r--r--
2024-04-10 08:28
test_shutil.pyc
31.38
KB
-rw-r--r--
2024-04-10 08:28
test_shutil.pyo
31.28
KB
-rw-r--r--
2024-04-10 08:28
test_signal.py
19.15
KB
-rw-r--r--
2024-04-10 08:28
test_signal.pyc
17.23
KB
-rw-r--r--
2024-04-10 08:28
test_signal.pyo
17.23
KB
-rw-r--r--
2024-04-10 08:28
test_site.py
16.93
KB
-rw-r--r--
2024-04-10 08:28
test_site.py.lib64
16.76
KB
-rw-r--r--
2024-04-10 08:28
test_site.pyc
15.99
KB
-rw-r--r--
2024-04-10 08:28
test_site.pyo
15.99
KB
-rw-r--r--
2024-04-10 08:28
test_slice.py
4.55
KB
-rw-r--r--
2024-04-10 08:28
test_slice.pyc
6.36
KB
-rw-r--r--
2024-04-10 08:28
test_slice.pyo
6.36
KB
-rw-r--r--
2024-04-10 08:28
test_smtplib.py
19.55
KB
-rw-r--r--
2024-04-10 08:28
test_smtplib.pyc
20.94
KB
-rw-r--r--
2024-04-10 08:28
test_smtplib.pyo
20.94
KB
-rw-r--r--
2024-04-10 08:28
test_smtpnet.py
818
B
-rw-r--r--
2024-04-10 08:28
test_smtpnet.pyc
1.39
KB
-rw-r--r--
2024-04-10 08:28
test_smtpnet.pyo
1.39
KB
-rw-r--r--
2024-04-10 08:28
test_socket.py
63.06
KB
-rw-r--r--
2024-04-10 08:28
test_socket.pyc
73.32
KB
-rw-r--r--
2024-04-10 08:28
test_socket.pyo
73.32
KB
-rw-r--r--
2024-04-10 08:28
test_socketserver.py
12.51
KB
-rw-r--r--
2024-04-10 08:28
test_socketserver.pyc
14.12
KB
-rw-r--r--
2024-04-10 08:28
test_socketserver.pyo
14.12
KB
-rw-r--r--
2024-04-10 08:28
test_softspace.py
640
B
-rw-r--r--
2024-04-10 08:28
test_softspace.pyc
1.32
KB
-rw-r--r--
2024-04-10 08:28
test_softspace.pyo
1.32
KB
-rw-r--r--
2024-04-10 08:28
test_sort.py
9.24
KB
-rw-r--r--
2024-04-10 08:28
test_sort.pyc
12.42
KB
-rw-r--r--
2024-04-10 08:28
test_sort.pyo
12.42
KB
-rw-r--r--
2024-04-10 08:28
test_source_encoding.py
5.92
KB
-rw-r--r--
2024-04-10 08:28
test_source_encoding.pyc
7.69
KB
-rw-r--r--
2024-04-10 08:28
test_source_encoding.pyo
7.69
KB
-rw-r--r--
2024-04-10 08:28
test_spwd.py
2.3
KB
-rw-r--r--
2024-04-10 08:28
test_spwd.pyc
2.44
KB
-rw-r--r--
2024-04-10 08:28
test_spwd.pyo
2.44
KB
-rw-r--r--
2024-04-10 08:28
test_sqlite.py
583
B
-rw-r--r--
2024-04-10 08:28
test_sqlite.pyc
841
B
-rw-r--r--
2024-04-10 08:28
test_sqlite.pyo
841
B
-rw-r--r--
2024-04-10 08:28
test_ssl.py
154.99
KB
-rw-r--r--
2024-04-10 08:28
test_ssl.pyc
114.98
KB
-rw-r--r--
2024-04-10 08:28
test_ssl.pyo
114.98
KB
-rw-r--r--
2024-04-10 08:28
test_startfile.py
1.56
KB
-rw-r--r--
2024-04-10 08:28
test_startfile.pyc
1.97
KB
-rw-r--r--
2024-04-10 08:28
test_startfile.pyo
1.97
KB
-rw-r--r--
2024-04-10 08:28
test_stat.py
5.56
KB
-rw-r--r--
2024-04-10 08:28
test_stat.pyc
5.84
KB
-rw-r--r--
2024-04-10 08:28
test_stat.pyo
5.84
KB
-rw-r--r--
2024-04-10 08:28
test_str.py
23.43
KB
-rw-r--r--
2024-04-10 08:28
test_str.pyc
24.74
KB
-rw-r--r--
2024-04-10 08:28
test_str.pyo
24.74
KB
-rw-r--r--
2024-04-10 08:28
test_strftime.py
6.91
KB
-rw-r--r--
2024-04-10 08:28
test_strftime.pyc
7.24
KB
-rw-r--r--
2024-04-10 08:28
test_strftime.pyo
7.24
KB
-rw-r--r--
2024-04-10 08:28
test_string.py
18.2
KB
-rw-r--r--
2024-04-10 08:28
test_string.pyc
21.08
KB
-rw-r--r--
2024-04-10 08:28
test_string.pyo
21.08
KB
-rw-r--r--
2024-04-10 08:28
test_stringprep.py
3.17
KB
-rw-r--r--
2024-04-10 08:28
test_stringprep.pyc
2.12
KB
-rw-r--r--
2024-04-10 08:28
test_stringprep.pyo
2.12
KB
-rw-r--r--
2024-04-10 08:28
test_strop.py
6.69
KB
-rw-r--r--
2024-04-10 08:28
test_strop.pyc
8.61
KB
-rw-r--r--
2024-04-10 08:28
test_strop.pyo
8.61
KB
-rw-r--r--
2024-04-10 08:28
test_strptime.py
28.6
KB
-rw-r--r--
2024-04-10 08:28
test_strptime.pyc
26.5
KB
-rw-r--r--
2024-04-10 08:28
test_strptime.pyo
26.5
KB
-rw-r--r--
2024-04-10 08:28
test_strtod.py
19.74
KB
-rw-r--r--
2024-04-10 08:28
test_strtod.pyc
15.32
KB
-rw-r--r--
2024-04-10 08:28
test_strtod.pyo
15.11
KB
-rw-r--r--
2024-04-10 08:28
test_struct.py
24.27
KB
-rw-r--r--
2024-04-10 08:28
test_struct.pyc
21.87
KB
-rw-r--r--
2024-04-10 08:28
test_struct.pyo
21.87
KB
-rw-r--r--
2024-04-10 08:28
test_structmembers.py
3.45
KB
-rw-r--r--
2024-04-10 08:28
test_structmembers.pyc
5.1
KB
-rw-r--r--
2024-04-10 08:28
test_structmembers.pyo
5.1
KB
-rw-r--r--
2024-04-10 08:28
test_structseq.py
3.6
KB
-rw-r--r--
2024-04-10 08:28
test_structseq.pyc
5.38
KB
-rw-r--r--
2024-04-10 08:28
test_structseq.pyo
5.38
KB
-rw-r--r--
2024-04-10 08:28
test_subprocess.py
60.93
KB
-rw-r--r--
2024-04-10 08:28
test_subprocess.pyc
54.38
KB
-rw-r--r--
2024-04-10 08:28
test_subprocess.pyo
54.38
KB
-rw-r--r--
2024-04-10 08:28
test_sunau.py
3.71
KB
-rw-r--r--
2024-04-10 08:28
test_sunau.pyc
4.57
KB
-rw-r--r--
2024-04-10 08:28
test_sunau.pyo
4.57
KB
-rw-r--r--
2024-04-10 08:28
test_sunaudiodev.py
687
B
-rw-r--r--
2024-04-10 08:28
test_sunaudiodev.pyc
1.18
KB
-rw-r--r--
2024-04-10 08:28
test_sunaudiodev.pyo
1.18
KB
-rw-r--r--
2024-04-10 08:28
test_sundry.py
2.92
KB
-rw-r--r--
2024-04-10 08:28
test_sundry.pyc
3.38
KB
-rw-r--r--
2024-04-10 08:28
test_sundry.pyo
3.38
KB
-rw-r--r--
2024-04-10 08:28
test_support.py
79
B
-rw-r--r--
2024-04-10 08:28
test_support.pyc
257
B
-rw-r--r--
2024-04-10 08:28
test_support.pyo
257
B
-rw-r--r--
2024-04-10 08:28
test_symtable.py
6.16
KB
-rw-r--r--
2024-04-10 08:28
test_symtable.pyc
8.16
KB
-rw-r--r--
2024-04-10 08:28
test_symtable.pyo
8.16
KB
-rw-r--r--
2024-04-10 08:28
test_syntax.py
27.48
KB
-rw-r--r--
2024-04-10 08:28
test_syntax.pyc
28.91
KB
-rw-r--r--
2024-04-10 08:28
test_syntax.pyo
28.91
KB
-rw-r--r--
2024-04-10 08:28
test_sys.py
31.32
KB
-rw-r--r--
2024-04-10 08:28
test_sys.pyc
28.44
KB
-rw-r--r--
2024-04-10 08:28
test_sys.pyo
28.44
KB
-rw-r--r--
2024-04-10 08:28
test_sys_setprofile.py
11.11
KB
-rw-r--r--
2024-04-10 08:28
test_sys_setprofile.pyc
16.55
KB
-rw-r--r--
2024-04-10 08:28
test_sys_setprofile.pyo
16.55
KB
-rw-r--r--
2024-04-10 08:28
test_sys_settrace.py
31.61
KB
-rw-r--r--
2024-04-10 08:28
test_sys_settrace.pyc
38.49
KB
-rw-r--r--
2024-04-10 08:28
test_sys_settrace.pyo
38.42
KB
-rw-r--r--
2024-04-10 08:28
test_sysconfig.py
12.69
KB
-rw-r--r--
2024-04-10 08:28
test_sysconfig.pyc
10.94
KB
-rw-r--r--
2024-04-10 08:28
test_sysconfig.pyo
10.94
KB
-rw-r--r--
2024-04-10 08:28
test_tarfile.py
66.43
KB
-rw-r--r--
2024-04-10 08:28
test_tarfile.pyc
69.25
KB
-rw-r--r--
2024-04-10 08:28
test_tarfile.pyo
69.25
KB
-rw-r--r--
2024-04-10 08:28
test_tcl.py
29.78
KB
-rw-r--r--
2024-04-10 08:28
test_tcl.pyc
31.81
KB
-rw-r--r--
2024-04-10 08:28
test_tcl.pyo
31.81
KB
-rw-r--r--
2024-04-10 08:28
test_telnetlib.py
15.69
KB
-rw-r--r--
2024-04-10 08:28
test_telnetlib.pyc
18.71
KB
-rw-r--r--
2024-04-10 08:28
test_telnetlib.pyo
18.71
KB
-rw-r--r--
2024-04-10 08:28
test_tempfile.py
34.97
KB
-rw-r--r--
2024-04-10 08:28
test_tempfile.pyc
35.88
KB
-rw-r--r--
2024-04-10 08:28
test_tempfile.pyo
35.88
KB
-rw-r--r--
2024-04-10 08:28
test_test_support.py
16.05
KB
-rw-r--r--
2024-04-10 08:28
test_test_support.pyc
17.68
KB
-rw-r--r--
2024-04-10 08:28
test_test_support.pyo
17.68
KB
-rw-r--r--
2024-04-10 08:28
test_textwrap.py
25.2
KB
-rw-r--r--
2024-04-10 08:28
test_textwrap.pyc
21.49
KB
-rw-r--r--
2024-04-10 08:28
test_textwrap.pyo
21.49
KB
-rw-r--r--
2024-04-10 08:28
test_thread.py
8.98
KB
-rw-r--r--
2024-04-10 08:28
test_thread.pyc
9.93
KB
-rw-r--r--
2024-04-10 08:28
test_thread.pyo
9.93
KB
-rw-r--r--
2024-04-10 08:28
test_threaded_import.py
2.52
KB
-rw-r--r--
2024-04-10 08:28
test_threaded_import.pyc
1.84
KB
-rw-r--r--
2024-04-10 08:28
test_threaded_import.pyo
1.84
KB
-rw-r--r--
2024-04-10 08:28
test_threadedtempfile.py
1.97
KB
-rw-r--r--
2024-04-10 08:28
test_threadedtempfile.pyc
2.97
KB
-rw-r--r--
2024-04-10 08:28
test_threadedtempfile.pyo
2.97
KB
-rw-r--r--
2024-04-10 08:28
test_threading.py
33.88
KB
-rw-r--r--
2024-04-10 08:28
test_threading.pyc
32.24
KB
-rw-r--r--
2024-04-10 08:28
test_threading.pyo
32.24
KB
-rw-r--r--
2024-04-10 08:28
test_threading_local.py
6.45
KB
-rw-r--r--
2024-04-10 08:28
test_threading_local.pyc
9.38
KB
-rw-r--r--
2024-04-10 08:28
test_threading_local.pyo
9.38
KB
-rw-r--r--
2024-04-10 08:28
test_threadsignals.py
2.97
KB
-rw-r--r--
2024-04-10 08:28
test_threadsignals.pyc
3.14
KB
-rw-r--r--
2024-04-10 08:28
test_threadsignals.pyo
3.14
KB
-rw-r--r--
2024-04-10 08:28
test_time.py
13.21
KB
-rw-r--r--
2024-04-10 08:28
test_time.pyc
10.91
KB
-rw-r--r--
2024-04-10 08:28
test_time.pyo
10.91
KB
-rw-r--r--
2024-04-10 08:28
test_timeit.py
11.51
KB
-rw-r--r--
2024-04-10 08:28
test_timeit.pyc
14.63
KB
-rw-r--r--
2024-04-10 08:28
test_timeit.pyo
14.63
KB
-rw-r--r--
2024-04-10 08:28
test_timeout.py
7
KB
-rw-r--r--
2024-04-10 08:28
test_timeout.pyc
7.06
KB
-rw-r--r--
2024-04-10 08:28
test_timeout.pyo
7.06
KB
-rw-r--r--
2024-04-10 08:28
test_tk.py
617
B
-rw-r--r--
2024-04-10 08:28
test_tk.pyc
892
B
-rw-r--r--
2024-04-10 08:28
test_tk.pyo
892
B
-rw-r--r--
2024-04-10 08:28
test_tokenize.py
27.53
KB
-rw-r--r--
2024-04-10 08:28
test_tokenize.pyc
27.47
KB
-rw-r--r--
2024-04-10 08:28
test_tokenize.pyo
27.47
KB
-rw-r--r--
2024-04-10 08:28
test_tools.py
13.08
KB
-rw-r--r--
2024-04-10 08:28
test_tools.pyc
14.2
KB
-rw-r--r--
2024-04-10 08:28
test_tools.pyo
14.2
KB
-rw-r--r--
2024-04-10 08:28
test_trace.py
11.54
KB
-rw-r--r--
2024-04-10 08:28
test_trace.pyc
13.67
KB
-rw-r--r--
2024-04-10 08:28
test_trace.pyo
13.67
KB
-rw-r--r--
2024-04-10 08:28
test_traceback.py
9.43
KB
-rw-r--r--
2024-04-10 08:28
test_traceback.pyc
10.17
KB
-rw-r--r--
2024-04-10 08:28
test_traceback.pyo
10.17
KB
-rw-r--r--
2024-04-10 08:28
test_transformer.py
1.09
KB
-rw-r--r--
2024-04-10 08:28
test_transformer.pyc
1.53
KB
-rw-r--r--
2024-04-10 08:28
test_transformer.pyo
1.45
KB
-rw-r--r--
2024-04-10 08:28
test_ttk_guionly.py
999
B
-rw-r--r--
2024-04-10 08:28
test_ttk_guionly.pyc
1.27
KB
-rw-r--r--
2024-04-10 08:28
test_ttk_guionly.pyo
1.27
KB
-rw-r--r--
2024-04-10 08:28
test_ttk_textonly.py
543
B
-rw-r--r--
2024-04-10 08:28
test_ttk_textonly.pyc
859
B
-rw-r--r--
2024-04-10 08:28
test_ttk_textonly.pyo
859
B
-rw-r--r--
2024-04-10 08:28
test_tuple.py
5.28
KB
-rw-r--r--
2024-04-10 08:28
test_tuple.pyc
7.22
KB
-rw-r--r--
2024-04-10 08:28
test_tuple.pyo
7.22
KB
-rw-r--r--
2024-04-10 08:28
test_turtle.py
12.28
KB
-rw-r--r--
2024-04-10 08:28
test_turtle.pyc
16.08
KB
-rw-r--r--
2024-04-10 08:28
test_turtle.pyo
16.08
KB
-rw-r--r--
2024-04-10 08:28
test_typechecks.py
3.09
KB
-rw-r--r--
2024-04-10 08:28
test_typechecks.pyc
5.12
KB
-rw-r--r--
2024-04-10 08:28
test_typechecks.pyo
5.12
KB
-rw-r--r--
2024-04-10 08:28
test_types.py
29.03
KB
-rw-r--r--
2024-04-10 08:28
test_types.pyc
25.3
KB
-rw-r--r--
2024-04-10 08:28
test_types.pyo
25.07
KB
-rw-r--r--
2024-04-10 08:28
test_ucn.py
5.98
KB
-rw-r--r--
2024-04-10 08:28
test_ucn.pyc
6.29
KB
-rw-r--r--
2024-04-10 08:28
test_ucn.pyo
6.29
KB
-rw-r--r--
2024-04-10 08:28
test_unary.py
1.82
KB
-rw-r--r--
2024-04-10 08:28
test_unary.pyc
2.75
KB
-rw-r--r--
2024-04-10 08:28
test_unary.pyo
2.75
KB
-rw-r--r--
2024-04-10 08:28
test_undocumented_details.py
1.14
KB
-rw-r--r--
2024-04-10 08:28
test_undocumented_details.pyc
2.03
KB
-rw-r--r--
2024-04-10 08:28
test_undocumented_details.pyo
2.03
KB
-rw-r--r--
2024-04-10 08:28
test_unicode.py
82.08
KB
-rw-r--r--
2024-04-10 08:28
test_unicode.pyc
67.56
KB
-rw-r--r--
2024-04-10 08:28
test_unicode.pyo
67.56
KB
-rw-r--r--
2024-04-10 08:28
test_unicode_file.py
8.22
KB
-rw-r--r--
2024-04-10 08:28
test_unicode_file.pyc
5.74
KB
-rw-r--r--
2024-04-10 08:28
test_unicode_file.pyo
5.74
KB
-rw-r--r--
2024-04-10 08:28
test_unicodedata.py
12.32
KB
-rw-r--r--
2024-04-10 08:28
test_unicodedata.pyc
12.23
KB
-rw-r--r--
2024-04-10 08:28
test_unicodedata.pyo
12.23
KB
-rw-r--r--
2024-04-10 08:28
test_unittest.py
202
B
-rw-r--r--
2024-04-10 08:28
test_unittest.pyc
517
B
-rw-r--r--
2024-04-10 08:28
test_unittest.pyo
517
B
-rw-r--r--
2024-04-10 08:28
test_univnewlines.py
3.98
KB
-rw-r--r--
2024-04-10 08:28
test_univnewlines.pyc
5.33
KB
-rw-r--r--
2024-04-10 08:28
test_univnewlines.pyo
5.33
KB
-rw-r--r--
2024-04-10 08:28
test_univnewlines2k.py
3.76
KB
-rw-r--r--
2024-04-10 08:28
test_univnewlines2k.pyc
5.24
KB
-rw-r--r--
2024-04-10 08:28
test_univnewlines2k.pyo
5.24
KB
-rw-r--r--
2024-04-10 08:28
test_unpack.py
2.5
KB
-rw-r--r--
2024-04-10 08:28
test_unpack.pyc
2.79
KB
-rw-r--r--
2024-04-10 08:28
test_unpack.pyo
2.79
KB
-rw-r--r--
2024-04-10 08:28
test_urllib.py
46.79
KB
-rw-r--r--
2024-04-10 08:28
test_urllib.pyc
43.86
KB
-rw-r--r--
2024-04-10 08:28
test_urllib.pyo
43.8
KB
-rw-r--r--
2024-04-10 08:28
test_urllib2.py
58.22
KB
-rw-r--r--
2024-04-10 08:28
test_urllib2.pyc
56.54
KB
-rw-r--r--
2024-04-10 08:28
test_urllib2.pyo
56.37
KB
-rw-r--r--
2024-04-10 08:28
test_urllib2_localnet.py
24.88
KB
-rw-r--r--
2024-04-10 08:28
test_urllib2_localnet.pyc
25.92
KB
-rw-r--r--
2024-04-10 08:28
test_urllib2_localnet.pyo
25.85
KB
-rw-r--r--
2024-04-10 08:28
test_urllib2net.py
12.22
KB
-rw-r--r--
2024-04-10 08:28
test_urllib2net.pyc
9.99
KB
-rw-r--r--
2024-04-10 08:28
test_urllib2net.pyo
9.99
KB
-rw-r--r--
2024-04-10 08:28
test_urllibnet.py
9.75
KB
-rw-r--r--
2024-04-10 08:28
test_urllibnet.pyc
10.23
KB
-rw-r--r--
2024-04-10 08:28
test_urllibnet.pyo
10.23
KB
-rw-r--r--
2024-04-10 08:28
test_urlparse.py
45.83
KB
-rw-r--r--
2024-04-10 08:28
test_urlparse.pyc
37.81
KB
-rw-r--r--
2024-04-10 08:28
test_urlparse.pyo
37.81
KB
-rw-r--r--
2024-04-10 08:28
test_userdict.py
12
KB
-rw-r--r--
2024-04-10 08:28
test_userdict.pyc
11.59
KB
-rw-r--r--
2024-04-10 08:28
test_userdict.pyo
11.59
KB
-rw-r--r--
2024-04-10 08:28
test_userlist.py
1.85
KB
-rw-r--r--
2024-04-10 08:28
test_userlist.pyc
3.22
KB
-rw-r--r--
2024-04-10 08:28
test_userlist.pyo
3.22
KB
-rw-r--r--
2024-04-10 08:28
test_userstring.py
4.73
KB
-rw-r--r--
2024-04-10 08:28
test_userstring.pyc
5.33
KB
-rw-r--r--
2024-04-10 08:28
test_userstring.pyo
5.33
KB
-rw-r--r--
2024-04-10 08:28
test_uu.py
5.57
KB
-rw-r--r--
2024-04-10 08:28
test_uu.pyc
6.77
KB
-rw-r--r--
2024-04-10 08:28
test_uu.pyo
6.77
KB
-rw-r--r--
2024-04-10 08:28
test_uuid.py
22.95
KB
-rw-r--r--
2024-04-10 08:28
test_uuid.pyc
26.17
KB
-rw-r--r--
2024-04-10 08:28
test_uuid.pyo
26.17
KB
-rw-r--r--
2024-04-10 08:28
test_wait3.py
1.04
KB
-rw-r--r--
2024-04-10 08:28
test_wait3.pyc
1.52
KB
-rw-r--r--
2024-04-10 08:28
test_wait3.pyo
1.52
KB
-rw-r--r--
2024-04-10 08:28
test_wait4.py
1.12
KB
-rw-r--r--
2024-04-10 08:28
test_wait4.pyc
1.44
KB
-rw-r--r--
2024-04-10 08:28
test_wait4.pyo
1.44
KB
-rw-r--r--
2024-04-10 08:28
test_warnings.py
37.53
KB
-rw-r--r--
2024-04-10 08:28
test_warnings.pyc
32.76
KB
-rw-r--r--
2024-04-10 08:28
test_warnings.pyo
32.74
KB
-rw-r--r--
2024-04-10 08:28
test_wave.py
4.51
KB
-rw-r--r--
2024-04-10 08:28
test_wave.pyc
5.44
KB
-rw-r--r--
2024-04-10 08:28
test_wave.pyo
5.44
KB
-rw-r--r--
2024-04-10 08:28
test_weakref.py
52.49
KB
-rw-r--r--
2024-04-10 08:28
test_weakref.pyc
53.01
KB
-rw-r--r--
2024-04-10 08:28
test_weakref.pyo
53.01
KB
-rw-r--r--
2024-04-10 08:28
test_weakset.py
15.29
KB
-rw-r--r--
2024-04-10 08:28
test_weakset.pyc
19.08
KB
-rw-r--r--
2024-04-10 08:28
test_weakset.pyo
19.08
KB
-rw-r--r--
2024-04-10 08:28
test_whichdb.py
1.73
KB
-rw-r--r--
2024-04-10 08:28
test_whichdb.pyc
2.21
KB
-rw-r--r--
2024-04-10 08:28
test_whichdb.pyo
2.21
KB
-rw-r--r--
2024-04-10 08:28
test_winreg.py
20.34
KB
-rw-r--r--
2024-04-10 08:28
test_winreg.pyc
15.32
KB
-rw-r--r--
2024-04-10 08:28
test_winreg.pyo
15.32
KB
-rw-r--r--
2024-04-10 08:28
test_winsound.py
3.58
KB
-rw-r--r--
2024-04-10 08:28
test_winsound.pyc
5.37
KB
-rw-r--r--
2024-04-10 08:28
test_winsound.pyo
5.37
KB
-rw-r--r--
2024-04-10 08:28
test_with.py
25.8
KB
-rw-r--r--
2024-04-10 08:28
test_with.pyc
34.27
KB
-rw-r--r--
2024-04-10 08:28
test_with.pyo
34.27
KB
-rw-r--r--
2024-04-10 08:28
test_wsgiref.py
20.37
KB
-rw-r--r--
2024-04-10 08:28
test_wsgiref.pyc
23.46
KB
-rw-r--r--
2024-04-10 08:28
test_wsgiref.pyo
23.46
KB
-rw-r--r--
2024-04-10 08:28
test_xdrlib.py
2.3
KB
-rw-r--r--
2024-04-10 08:28
test_xdrlib.pyc
3.53
KB
-rw-r--r--
2024-04-10 08:28
test_xdrlib.pyo
3.53
KB
-rw-r--r--
2024-04-10 08:28
test_xml_etree.py
97.72
KB
-rw-r--r--
2024-04-10 08:28
test_xml_etree.pyc
99.26
KB
-rw-r--r--
2024-04-10 08:28
test_xml_etree.pyo
99.26
KB
-rw-r--r--
2024-04-10 08:28
test_xml_etree_c.py
2.68
KB
-rw-r--r--
2024-04-10 08:28
test_xml_etree_c.pyc
2.95
KB
-rw-r--r--
2024-04-10 08:28
test_xml_etree_c.pyo
2.95
KB
-rw-r--r--
2024-04-10 08:28
test_xmllib.py
1.27
KB
-rw-r--r--
2024-04-10 08:28
test_xmllib.pyc
2.11
KB
-rw-r--r--
2024-04-10 08:28
test_xmllib.pyo
2.11
KB
-rw-r--r--
2024-04-10 08:28
test_xmlrpc.py
42.81
KB
-rw-r--r--
2024-04-10 08:28
test_xmlrpc.pyc
44.93
KB
-rw-r--r--
2024-04-10 08:28
test_xmlrpc.pyo
44.93
KB
-rw-r--r--
2024-04-10 08:28
test_xpickle.py
8.08
KB
-rw-r--r--
2024-04-10 08:28
test_xpickle.pyc
8.47
KB
-rw-r--r--
2024-04-10 08:28
test_xpickle.pyo
8.47
KB
-rw-r--r--
2024-04-10 08:28
test_xrange.py
7.64
KB
-rw-r--r--
2024-04-10 08:28
test_xrange.pyc
7
KB
-rw-r--r--
2024-04-10 08:28
test_xrange.pyo
7
KB
-rw-r--r--
2024-04-10 08:28
test_zipfile.py
73.16
KB
-rw-r--r--
2024-04-10 08:28
test_zipfile.pyc
69.85
KB
-rw-r--r--
2024-04-10 08:28
test_zipfile.pyo
69.85
KB
-rw-r--r--
2024-04-10 08:28
test_zipfile64.py
5.93
KB
-rw-r--r--
2024-04-10 08:28
test_zipfile64.pyc
5.46
KB
-rw-r--r--
2024-04-10 08:28
test_zipfile64.pyo
5.46
KB
-rw-r--r--
2024-04-10 08:28
test_zipimport.py
16.42
KB
-rw-r--r--
2024-04-10 08:28
test_zipimport.pyc
16.61
KB
-rw-r--r--
2024-04-10 08:28
test_zipimport.pyo
16.61
KB
-rw-r--r--
2024-04-10 08:28
test_zipimport_support.py
10.6
KB
-rw-r--r--
2024-04-10 08:28
test_zipimport_support.pyc
7.13
KB
-rw-r--r--
2024-04-10 08:28
test_zipimport_support.pyo
7.07
KB
-rw-r--r--
2024-04-10 08:28
test_zlib.py
28.84
KB
-rw-r--r--
2024-04-10 08:28
test_zlib.pyc
27.87
KB
-rw-r--r--
2024-04-10 08:28
test_zlib.pyo
27.87
KB
-rw-r--r--
2024-04-10 08:28
testall.py
274
B
-rw-r--r--
2024-04-10 08:28
testall.pyc
392
B
-rw-r--r--
2024-04-10 08:28
testall.pyo
392
B
-rw-r--r--
2024-04-10 08:28
testcodec.py
1.02
KB
-rw-r--r--
2024-04-10 08:28
testcodec.pyc
1.68
KB
-rw-r--r--
2024-04-10 08:28
testcodec.pyo
1.68
KB
-rw-r--r--
2024-04-10 08:28
testimg.uue
70.67
KB
-rw-r--r--
2024-04-10 08:28
testimgr.uue
70.67
KB
-rw-r--r--
2024-04-10 08:28
testrgb.uue
58.63
KB
-rw-r--r--
2024-04-10 08:28
testtar.tar
275
KB
-rw-r--r--
2024-04-10 08:28
tf_inherit_check.py
581
B
-rw-r--r--
2024-04-10 08:28
tf_inherit_check.pyc
542
B
-rw-r--r--
2024-04-10 08:28
tf_inherit_check.pyo
542
B
-rw-r--r--
2024-04-10 08:28
threaded_import_hangers.py
1.38
KB
-rw-r--r--
2024-04-10 08:28
threaded_import_hangers.pyc
1.22
KB
-rw-r--r--
2024-04-10 08:28
threaded_import_hangers.pyo
1.22
KB
-rw-r--r--
2024-04-10 08:28
time_hashlib.py
2.79
KB
-rw-r--r--
2024-04-10 08:28
time_hashlib.pyc
3.19
KB
-rw-r--r--
2024-04-10 08:28
time_hashlib.pyo
3.19
KB
-rw-r--r--
2024-04-10 08:28
tokenize_tests.txt
2.39
KB
-rw-r--r--
2024-04-10 08:28
warning_tests.py
240
B
-rw-r--r--
2024-04-10 08:28
warning_tests.pyc
535
B
-rw-r--r--
2024-04-10 08:28
warning_tests.pyo
535
B
-rw-r--r--
2024-04-10 08:28
win_console_handler.py
1.39
KB
-rw-r--r--
2024-04-10 08:28
win_console_handler.pyc
1.42
KB
-rw-r--r--
2024-04-10 08:28
win_console_handler.pyo
1.42
KB
-rw-r--r--
2024-04-10 08:28
xmltests.py
497
B
-rw-r--r--
2024-04-10 08:28
xmltests.pyc
753
B
-rw-r--r--
2024-04-10 08:28
xmltests.pyo
753
B
-rw-r--r--
2024-04-10 08:28
zipdir.zip
374
B
-rw-r--r--
2024-04-10 08:28
Save
Rename
# -*- coding: utf-8 -*- # IMPORTANT: the same tests are run from "test_xml_etree_c" in order # to ensure consistency between the C implementation and the Python # implementation. # # For this purpose, the module-level "ET" symbol is temporarily # monkey-patched when running the "test_xml_etree_c" test suite. import cgi import copy import functools import io import pickle import StringIO import sys import types import unittest import warnings import weakref from test import test_support as support from test.test_support import TESTFN, findfile, gc_collect, swap_attr # pyET is the pure-Python implementation. # # ET is pyET in test_xml_etree and is the C accelerated version in # test_xml_etree_c. from xml.etree import ElementTree as pyET ET = None SIMPLE_XMLFILE = findfile("simple.xml", subdir="xmltestdata") SIMPLE_NS_XMLFILE = findfile("simple-ns.xml", subdir="xmltestdata") UTF8_BUG_XMLFILE = findfile("expat224_utf8_bug.xml", subdir="xmltestdata") SAMPLE_XML = """\ <body> <tag class='a'>text</tag> <tag class='b' /> <section> <tag class='b' id='inner'>subtext</tag> </section> </body> """ SAMPLE_SECTION = """\ <section> <tag class='b' id='inner'>subtext</tag> <nexttag /> <nextsection> <tag /> </nextsection> </section> """ SAMPLE_XML_NS = """ <body xmlns="http://effbot.org/ns"> <tag>text</tag> <tag /> <section> <tag>subtext</tag> </section> </body> """ SAMPLE_XML_NS_ELEMS = """ <root> <h:table xmlns:h="hello"> <h:tr> <h:td>Apples</h:td> <h:td>Bananas</h:td> </h:tr> </h:table> <f:table xmlns:f="foo"> <f:name>African Coffee Table</f:name> <f:width>80</f:width> <f:length>120</f:length> </f:table> </root> """ ENTITY_XML = """\ <!DOCTYPE points [ <!ENTITY % user-entities SYSTEM 'user-entities.xml'> %user-entities; ]> <document>&entity;</document> """ def checkwarnings(*filters): def decorator(test): def newtest(*args, **kwargs): with support.check_warnings(*filters): test(*args, **kwargs) functools.update_wrapper(newtest, test) return newtest return decorator class ModuleTest(unittest.TestCase): # TODO: this should be removed once we get rid of the global module vars def test_sanity(self): # Import sanity. from xml.etree import ElementTree from xml.etree import ElementInclude from xml.etree import ElementPath def serialize(elem, to_string=True, **options): file = StringIO.StringIO() tree = ET.ElementTree(elem) tree.write(file, **options) if to_string: return file.getvalue() else: file.seek(0) return file def summarize_list(seq): return [elem.tag for elem in seq] def normalize_crlf(tree): for elem in tree.iter(): if elem.text: elem.text = elem.text.replace("\r\n", "\n") if elem.tail: elem.tail = elem.tail.replace("\r\n", "\n") def python_only(test): def wrapper(*args): if ET is not pyET: raise unittest.SkipTest('only for the Python version') return test(*args) return wrapper def cet_only(test): def wrapper(*args): if ET is pyET: raise unittest.SkipTest('only for the C version') return test(*args) return wrapper # -------------------------------------------------------------------- # element tree tests class ElementTreeTest(unittest.TestCase): def serialize_check(self, elem, expected): self.assertEqual(serialize(elem), expected) def test_interface(self): # Test element tree interface. def check_string(string): len(string) for char in string: self.assertEqual(len(char), 1, msg="expected one-character string, got %r" % char) new_string = string + "" new_string = string + " " string[:0] def check_mapping(mapping): len(mapping) keys = mapping.keys() items = mapping.items() for key in keys: item = mapping[key] mapping["key"] = "value" self.assertEqual(mapping["key"], "value", msg="expected value string, got %r" % mapping["key"]) def check_element(element): self.assertTrue(ET.iselement(element), msg="not an element") self.assertTrue(hasattr(element, "tag"), msg="no tag member") self.assertTrue(hasattr(element, "attrib"), msg="no attrib member") self.assertTrue(hasattr(element, "text"), msg="no text member") self.assertTrue(hasattr(element, "tail"), msg="no tail member") check_string(element.tag) check_mapping(element.attrib) if element.text is not None: check_string(element.text) if element.tail is not None: check_string(element.tail) for elem in element: check_element(elem) element = ET.Element("tag") check_element(element) tree = ET.ElementTree(element) check_element(tree.getroot()) element = ET.Element("t\xe4g", key="value") tree = ET.ElementTree(element) self.assertRegexpMatches(repr(element), r"^<Element 't\\xe4g' at 0x.*>$") element = ET.Element("tag", key="value") # Make sure all standard element methods exist. def check_method(method): self.assertTrue(hasattr(method, '__call__'), msg="%s not callable" % method) check_method(element.append) check_method(element.extend) check_method(element.insert) check_method(element.remove) check_method(element.getchildren) check_method(element.find) check_method(element.iterfind) check_method(element.findall) check_method(element.findtext) check_method(element.clear) check_method(element.get) check_method(element.set) check_method(element.keys) check_method(element.items) check_method(element.iter) check_method(element.itertext) check_method(element.getiterator) # These methods return an iterable. See bug 6472. def check_iter(it): check_method(it.next) check_iter(element.iter("tag")) check_iter(element.iterfind("tag")) check_iter(element.iterfind("*")) check_iter(tree.iter("tag")) check_iter(tree.iterfind("tag")) check_iter(tree.iterfind("*")) # These aliases are provided: self.assertEqual(ET.XML, ET.fromstring) self.assertEqual(ET.PI, ET.ProcessingInstruction) self.assertEqual(ET.XMLParser, ET.XMLTreeBuilder) def test_set_attribute(self): element = ET.Element('tag') self.assertEqual(element.tag, 'tag') element.tag = 'Tag' self.assertEqual(element.tag, 'Tag') element.tag = 'TAG' self.assertEqual(element.tag, 'TAG') self.assertIsNone(element.text) element.text = 'Text' self.assertEqual(element.text, 'Text') element.text = 'TEXT' self.assertEqual(element.text, 'TEXT') self.assertIsNone(element.tail) element.tail = 'Tail' self.assertEqual(element.tail, 'Tail') element.tail = 'TAIL' self.assertEqual(element.tail, 'TAIL') self.assertEqual(element.attrib, {}) element.attrib = {'a': 'b', 'c': 'd'} self.assertEqual(element.attrib, {'a': 'b', 'c': 'd'}) element.attrib = {'A': 'B', 'C': 'D'} self.assertEqual(element.attrib, {'A': 'B', 'C': 'D'}) def test_simpleops(self): # Basic method sanity checks. elem = ET.XML("<body><tag/></body>") self.serialize_check(elem, '<body><tag /></body>') e = ET.Element("tag2") elem.append(e) self.serialize_check(elem, '<body><tag /><tag2 /></body>') elem.remove(e) self.serialize_check(elem, '<body><tag /></body>') elem.insert(0, e) self.serialize_check(elem, '<body><tag2 /><tag /></body>') elem.remove(e) elem.extend([e]) self.serialize_check(elem, '<body><tag /><tag2 /></body>') elem.remove(e) element = ET.Element("tag", key="value") self.serialize_check(element, '<tag key="value" />') # 1 subelement = ET.Element("subtag") element.append(subelement) self.serialize_check(element, '<tag key="value"><subtag /></tag>') # 2 element.insert(0, subelement) self.serialize_check(element, '<tag key="value"><subtag /><subtag /></tag>') # 3 element.remove(subelement) self.serialize_check(element, '<tag key="value"><subtag /></tag>') # 4 element.remove(subelement) self.serialize_check(element, '<tag key="value" />') # 5 with self.assertRaises(ValueError) as cm: element.remove(subelement) self.assertEqual(str(cm.exception), 'list.remove(x): x not in list') self.serialize_check(element, '<tag key="value" />') # 6 element[0:0] = [subelement, subelement, subelement] self.serialize_check(element[1], '<subtag />') self.assertEqual(element[1:9], [element[1], element[2]]) self.assertEqual(element[:9:2], [element[0], element[2]]) del element[1:2] self.serialize_check(element, '<tag key="value"><subtag /><subtag /></tag>') def test_cdata(self): # Test CDATA handling (etc). self.serialize_check(ET.XML("<tag>hello</tag>"), '<tag>hello</tag>') self.serialize_check(ET.XML("<tag>hello</tag>"), '<tag>hello</tag>') self.serialize_check(ET.XML("<tag><![CDATA[hello]]></tag>"), '<tag>hello</tag>') def test_file_init(self): stringfile = StringIO.StringIO(SAMPLE_XML.encode("utf-8")) tree = ET.ElementTree(file=stringfile) self.assertEqual(tree.find("tag").tag, 'tag') self.assertEqual(tree.find("section/tag").tag, 'tag') tree = ET.ElementTree(file=SIMPLE_XMLFILE) self.assertEqual(tree.find("element").tag, 'element') self.assertEqual(tree.find("element/../empty-element").tag, 'empty-element') def test_path_cache(self): # Check that the path cache behaves sanely. from xml.etree import ElementPath elem = ET.XML(SAMPLE_XML) for i in range(10): ET.ElementTree(elem).find('./'+str(i)) cache_len_10 = len(ElementPath._cache) for i in range(10): ET.ElementTree(elem).find('./'+str(i)) self.assertEqual(len(ElementPath._cache), cache_len_10) for i in range(20): ET.ElementTree(elem).find('./'+str(i)) self.assertGreater(len(ElementPath._cache), cache_len_10) for i in range(600): ET.ElementTree(elem).find('./'+str(i)) self.assertLess(len(ElementPath._cache), 500) def test_copy(self): # Test copy handling (etc). import copy e1 = ET.XML("<tag>hello<foo/></tag>") e2 = copy.copy(e1) e3 = copy.deepcopy(e1) e1.find("foo").tag = "bar" self.serialize_check(e1, '<tag>hello<bar /></tag>') self.serialize_check(e2, '<tag>hello<bar /></tag>') self.serialize_check(e3, '<tag>hello<foo /></tag>') def test_attrib(self): # Test attribute handling. elem = ET.Element("tag") elem.get("key") # 1.1 self.assertEqual(elem.get("key", "default"), 'default') # 1.2 elem.set("key", "value") self.assertEqual(elem.get("key"), 'value') # 1.3 elem = ET.Element("tag", key="value") self.assertEqual(elem.get("key"), 'value') # 2.1 self.assertEqual(elem.attrib, {'key': 'value'}) # 2.2 attrib = {"key": "value"} elem = ET.Element("tag", attrib) attrib.clear() # check for aliasing issues self.assertEqual(elem.get("key"), 'value') # 3.1 self.assertEqual(elem.attrib, {'key': 'value'}) # 3.2 attrib = {"key": "value"} elem = ET.Element("tag", **attrib) attrib.clear() # check for aliasing issues self.assertEqual(elem.get("key"), 'value') # 4.1 self.assertEqual(elem.attrib, {'key': 'value'}) # 4.2 elem = ET.Element("tag", {"key": "other"}, key="value") self.assertEqual(elem.get("key"), 'value') # 5.1 self.assertEqual(elem.attrib, {'key': 'value'}) # 5.2 elem = ET.Element('test') elem.text = "aa" elem.set('testa', 'testval') elem.set('testb', 'test2') self.assertEqual(ET.tostring(elem), b'<test testa="testval" testb="test2">aa</test>') self.assertEqual(sorted(elem.keys()), ['testa', 'testb']) self.assertEqual(sorted(elem.items()), [('testa', 'testval'), ('testb', 'test2')]) self.assertEqual(elem.attrib['testb'], 'test2') elem.attrib['testb'] = 'test1' elem.attrib['testc'] = 'test2' self.assertEqual(ET.tostring(elem), b'<test testa="testval" testb="test1" testc="test2">aa</test>') elem = ET.Element('test') elem.set('a', '\r') elem.set('b', '\r\n') elem.set('c', '\t\n\r ') elem.set('d', '\n\n') self.assertEqual(ET.tostring(elem), b'<test a="\r" b="\r " c="\t \r " d=" " />') def test_makeelement(self): # Test makeelement handling. elem = ET.Element("tag") attrib = {"key": "value"} subelem = elem.makeelement("subtag", attrib) self.assertIsNot(subelem.attrib, attrib, msg="attrib aliasing") elem.append(subelem) self.serialize_check(elem, '<tag><subtag key="value" /></tag>') elem.clear() self.serialize_check(elem, '<tag />') elem.append(subelem) self.serialize_check(elem, '<tag><subtag key="value" /></tag>') elem.extend([subelem, subelem]) self.serialize_check(elem, '<tag><subtag key="value" /><subtag key="value" /><subtag key="value" /></tag>') elem[:] = [subelem] self.serialize_check(elem, '<tag><subtag key="value" /></tag>') elem[:] = tuple([subelem]) self.serialize_check(elem, '<tag><subtag key="value" /></tag>') def test_parsefile(self): # Test parsing from file. tree = ET.parse(SIMPLE_XMLFILE) normalize_crlf(tree) stream = StringIO.StringIO() tree.write(stream) self.assertEqual(stream.getvalue(), '<root>\n' ' <element key="value">text</element>\n' ' <element>text</element>tail\n' ' <empty-element />\n' '</root>') tree = ET.parse(SIMPLE_NS_XMLFILE) normalize_crlf(tree) stream = StringIO.StringIO() tree.write(stream) self.assertEqual(stream.getvalue(), '<ns0:root xmlns:ns0="namespace">\n' ' <ns0:element key="value">text</ns0:element>\n' ' <ns0:element>text</ns0:element>tail\n' ' <ns0:empty-element />\n' '</ns0:root>') with open(SIMPLE_XMLFILE) as f: data = f.read() parser = ET.XMLParser() self.assertRegexpMatches(parser.version, r'^Expat ') parser.feed(data) self.serialize_check(parser.close(), '<root>\n' ' <element key="value">text</element>\n' ' <element>text</element>tail\n' ' <empty-element />\n' '</root>') parser = ET.XMLTreeBuilder() # 1.2 compatibility parser.feed(data) self.serialize_check(parser.close(), '<root>\n' ' <element key="value">text</element>\n' ' <element>text</element>tail\n' ' <empty-element />\n' '</root>') target = ET.TreeBuilder() parser = ET.XMLParser(target=target) parser.feed(data) self.serialize_check(parser.close(), '<root>\n' ' <element key="value">text</element>\n' ' <element>text</element>tail\n' ' <empty-element />\n' '</root>') def test_parseliteral(self): element = ET.XML("<html><body>text</body></html>") self.assertEqual(ET.tostring(element), '<html><body>text</body></html>') element = ET.fromstring("<html><body>text</body></html>") self.assertEqual(ET.tostring(element), '<html><body>text</body></html>') sequence = ["<html><body>", "text</bo", "dy></html>"] element = ET.fromstringlist(sequence) self.assertEqual(ET.tostring(element), '<html><body>text</body></html>') self.assertEqual("".join(ET.tostringlist(element)), '<html><body>text</body></html>') self.assertEqual(ET.tostring(element, "ascii"), "<?xml version='1.0' encoding='ascii'?>\n" "<html><body>text</body></html>") _, ids = ET.XMLID("<html><body>text</body></html>") self.assertEqual(len(ids), 0) _, ids = ET.XMLID("<html><body id='body'>text</body></html>") self.assertEqual(len(ids), 1) self.assertEqual(ids["body"].tag, 'body') def test_iterparse(self): # Test iterparse interface. iterparse = ET.iterparse context = iterparse(SIMPLE_XMLFILE) action, elem = next(context) self.assertEqual((action, elem.tag), ('end', 'element')) self.assertEqual([(action, elem.tag) for action, elem in context], [ ('end', 'element'), ('end', 'empty-element'), ('end', 'root'), ]) self.assertEqual(context.root.tag, 'root') context = iterparse(SIMPLE_NS_XMLFILE) self.assertEqual([(action, elem.tag) for action, elem in context], [ ('end', '{namespace}element'), ('end', '{namespace}element'), ('end', '{namespace}empty-element'), ('end', '{namespace}root'), ]) events = () context = iterparse(SIMPLE_XMLFILE, events) self.assertEqual([(action, elem.tag) for action, elem in context], []) events = () context = iterparse(SIMPLE_XMLFILE, events=events) self.assertEqual([(action, elem.tag) for action, elem in context], []) events = ("start", "end") context = iterparse(SIMPLE_XMLFILE, events) self.assertEqual([(action, elem.tag) for action, elem in context], [ ('start', 'root'), ('start', 'element'), ('end', 'element'), ('start', 'element'), ('end', 'element'), ('start', 'empty-element'), ('end', 'empty-element'), ('end', 'root'), ]) events = ("start", "end", "start-ns", "end-ns") context = iterparse(SIMPLE_NS_XMLFILE, events) self.assertEqual([(action, elem.tag) if action in ("start", "end") else (action, elem) for action, elem in context], [ ('start-ns', ('', 'namespace')), ('start', '{namespace}root'), ('start', '{namespace}element'), ('end', '{namespace}element'), ('start', '{namespace}element'), ('end', '{namespace}element'), ('start', '{namespace}empty-element'), ('end', '{namespace}empty-element'), ('end', '{namespace}root'), ('end-ns', None), ]) events = ('start-ns', 'end-ns') context = iterparse(StringIO.StringIO(r"<root xmlns=''/>"), events) res = [(action, elem) for action, elem in context] self.assertEqual(res, [('start-ns', ('', '')), ('end-ns', None)]) events = ("start", "end", "bogus") with open(SIMPLE_XMLFILE, "rb") as f: with self.assertRaises(ValueError) as cm: iterparse(f, events) self.assertFalse(f.closed) self.assertEqual(str(cm.exception), "unknown event 'bogus'") source = StringIO.StringIO( "<?xml version='1.0' encoding='iso-8859-1'?>\n" "<body xmlns='http://éffbot.org/ns'\n" " xmlns:cl\xe9='http://effbot.org/ns'>text</body>\n") events = ("start-ns",) context = iterparse(source, events) self.assertEqual([(action, elem) for action, elem in context], [ ('start-ns', ('', u'http://\xe9ffbot.org/ns')), ('start-ns', (u'cl\xe9', 'http://effbot.org/ns')), ]) source = StringIO.StringIO("<document />junk") it = iterparse(source) action, elem = next(it) self.assertEqual((action, elem.tag), ('end', 'document')) with self.assertRaises(ET.ParseError) as cm: next(it) self.assertEqual(str(cm.exception), 'junk after document element: line 1, column 12') def test_writefile(self): elem = ET.Element("tag") elem.text = "text" self.serialize_check(elem, '<tag>text</tag>') ET.SubElement(elem, "subtag").text = "subtext" self.serialize_check(elem, '<tag>text<subtag>subtext</subtag></tag>') # Test tag suppression elem.tag = None self.serialize_check(elem, 'text<subtag>subtext</subtag>') elem.insert(0, ET.Comment("comment")) self.serialize_check(elem, 'text<!--comment--><subtag>subtext</subtag>') # assumes 1.3 elem[0] = ET.PI("key", "value") self.serialize_check(elem, 'text<?key value?><subtag>subtext</subtag>') def test_custom_builder(self): # Test parser w. custom builder. with open(SIMPLE_XMLFILE) as f: data = f.read() class Builder(list): def start(self, tag, attrib): self.append(("start", tag)) def end(self, tag): self.append(("end", tag)) def data(self, text): pass builder = Builder() parser = ET.XMLParser(target=builder) parser.feed(data) self.assertEqual(builder, [ ('start', 'root'), ('start', 'element'), ('end', 'element'), ('start', 'element'), ('end', 'element'), ('start', 'empty-element'), ('end', 'empty-element'), ('end', 'root'), ]) with open(SIMPLE_NS_XMLFILE) as f: data = f.read() class Builder(list): def start(self, tag, attrib): self.append(("start", tag)) def end(self, tag): self.append(("end", tag)) def data(self, text): pass def pi(self, target, data): self.append(("pi", target, data)) def comment(self, data): self.append(("comment", data)) builder = Builder() parser = ET.XMLParser(target=builder) parser.feed(data) self.assertEqual(builder, [ ('pi', 'pi', 'data'), ('comment', ' comment '), ('start', '{namespace}root'), ('start', '{namespace}element'), ('end', '{namespace}element'), ('start', '{namespace}element'), ('end', '{namespace}element'), ('start', '{namespace}empty-element'), ('end', '{namespace}empty-element'), ('end', '{namespace}root'), ]) # Element.getchildren() and ElementTree.getiterator() are deprecated. @checkwarnings(("This method will be removed in future versions. " "Use .+ instead.", (DeprecationWarning, PendingDeprecationWarning))) def test_getchildren(self): # Test Element.getchildren() with open(SIMPLE_XMLFILE, "r") as f: tree = ET.parse(f) self.assertEqual([summarize_list(elem.getchildren()) for elem in tree.getroot().iter()], [ ['element', 'element', 'empty-element'], [], [], [], ]) self.assertEqual([summarize_list(elem.getchildren()) for elem in tree.getiterator()], [ ['element', 'element', 'empty-element'], [], [], [], ]) elem = ET.XML(SAMPLE_XML) self.assertEqual(len(elem.getchildren()), 3) self.assertEqual(len(elem[2].getchildren()), 1) self.assertEqual(elem[:], elem.getchildren()) child1 = elem[0] child2 = elem[2] del elem[1:2] self.assertEqual(len(elem.getchildren()), 2) self.assertEqual(child1, elem[0]) self.assertEqual(child2, elem[1]) elem[0:2] = [child2, child1] self.assertEqual(child2, elem[0]) self.assertEqual(child1, elem[1]) self.assertNotEqual(child1, elem[0]) elem.clear() self.assertEqual(elem.getchildren(), []) def test_writestring(self): elem = ET.XML("<html><body>text</body></html>") self.assertEqual(ET.tostring(elem), b'<html><body>text</body></html>') elem = ET.fromstring("<html><body>text</body></html>") self.assertEqual(ET.tostring(elem), b'<html><body>text</body></html>') def test_encoding(self): def check(encoding, body=''): xml = ("<?xml version='1.0' encoding='%s'?><xml>%s</xml>" % (encoding, body)) self.assertEqual(ET.XML(xml.encode(encoding)).text, body) check("ascii", 'a') check("us-ascii", 'a') check("iso-8859-1", u'\xbd') check("iso-8859-15", u'\u20ac') check("cp437", u'\u221a') check("mac-roman", u'\u02da') def xml(encoding): return "<?xml version='1.0' encoding='%s'?><xml />" % encoding def bxml(encoding): return xml(encoding).encode(encoding) supported_encodings = [ 'ascii', 'utf-8', 'utf-8-sig', 'utf-16', 'utf-16be', 'utf-16le', 'iso8859-1', 'iso8859-2', 'iso8859-3', 'iso8859-4', 'iso8859-5', 'iso8859-6', 'iso8859-7', 'iso8859-8', 'iso8859-9', 'iso8859-10', 'iso8859-13', 'iso8859-14', 'iso8859-15', 'iso8859-16', 'cp437', 'cp720', 'cp737', 'cp775', 'cp850', 'cp852', 'cp855', 'cp856', 'cp857', 'cp858', 'cp860', 'cp861', 'cp862', 'cp863', 'cp865', 'cp866', 'cp869', 'cp874', 'cp1006', 'cp1250', 'cp1251', 'cp1252', 'cp1253', 'cp1254', 'cp1255', 'cp1256', 'cp1257', 'cp1258', 'mac-cyrillic', 'mac-greek', 'mac-iceland', 'mac-latin2', 'mac-roman', 'mac-turkish', 'iso2022-jp', 'iso2022-jp-1', 'iso2022-jp-2', 'iso2022-jp-2004', 'iso2022-jp-3', 'iso2022-jp-ext', 'koi8-r', 'koi8-u', 'ptcp154', ] for encoding in supported_encodings: self.assertEqual(ET.tostring(ET.XML(bxml(encoding))), b'<xml />') unsupported_ascii_compatible_encodings = [ 'big5', 'big5hkscs', 'cp932', 'cp949', 'cp950', 'euc-jp', 'euc-jis-2004', 'euc-jisx0213', 'euc-kr', 'gb2312', 'gbk', 'gb18030', 'iso2022-kr', 'johab', 'hz', 'shift-jis', 'shift-jis-2004', 'shift-jisx0213', 'utf-7', ] for encoding in unsupported_ascii_compatible_encodings: self.assertRaises(ValueError, ET.XML, bxml(encoding)) unsupported_ascii_incompatible_encodings = [ 'cp037', 'cp424', 'cp500', 'cp864', 'cp875', 'cp1026', 'cp1140', 'utf_32', 'utf_32_be', 'utf_32_le', ] for encoding in unsupported_ascii_incompatible_encodings: self.assertRaises(ET.ParseError, ET.XML, bxml(encoding)) self.assertRaises(ValueError, ET.XML, xml('undefined').encode('ascii')) self.assertRaises(LookupError, ET.XML, xml('xxx').encode('ascii')) def test_methods(self): # Test serialization methods. e = ET.XML("<html><link/><script>1 < 2</script></html>") e.tail = "\n" self.assertEqual(serialize(e), '<html><link /><script>1 < 2</script></html>\n') self.assertEqual(serialize(e, method=None), '<html><link /><script>1 < 2</script></html>\n') self.assertEqual(serialize(e, method="xml"), '<html><link /><script>1 < 2</script></html>\n') self.assertEqual(serialize(e, method="html"), '<html><link><script>1 < 2</script></html>\n') self.assertEqual(serialize(e, method="text"), '1 < 2\n') def test_issue18347(self): e = ET.XML('<html><CamelCase>text</CamelCase></html>') self.assertEqual(serialize(e), '<html><CamelCase>text</CamelCase></html>') self.assertEqual(serialize(e, method="html"), '<html><CamelCase>text</CamelCase></html>') def test_entity(self): # Test entity handling. # 1) good entities e = ET.XML("<document title='舰'>test</document>") self.assertEqual(serialize(e, encoding="us-ascii"), '<document title="舰">test</document>') self.serialize_check(e, '<document title="舰">test</document>') # 2) bad entities with self.assertRaises(ET.ParseError) as cm: ET.XML("<document>&entity;</document>") self.assertEqual(str(cm.exception), 'undefined entity: line 1, column 10') with self.assertRaises(ET.ParseError) as cm: ET.XML(ENTITY_XML) self.assertEqual(str(cm.exception), 'undefined entity &entity;: line 5, column 10') # 3) custom entity parser = ET.XMLParser() parser.entity["entity"] = "text" parser.feed(ENTITY_XML) root = parser.close() self.serialize_check(root, '<document>text</document>') def test_namespace(self): # Test namespace issues. # 1) xml namespace elem = ET.XML("<tag xml:lang='en' />") self.serialize_check(elem, '<tag xml:lang="en" />') # 1.1 # 2) other "well-known" namespaces elem = ET.XML("<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' />") self.serialize_check(elem, '<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" />') # 2.1 elem = ET.XML("<html:html xmlns:html='http://www.w3.org/1999/xhtml' />") self.serialize_check(elem, '<html:html xmlns:html="http://www.w3.org/1999/xhtml" />') # 2.2 elem = ET.XML("<soap:Envelope xmlns:soap='http://schemas.xmlsoap.org/soap/envelope' />") self.serialize_check(elem, '<ns0:Envelope xmlns:ns0="http://schemas.xmlsoap.org/soap/envelope" />') # 2.3 # 3) unknown namespaces elem = ET.XML(SAMPLE_XML_NS) self.serialize_check(elem, '<ns0:body xmlns:ns0="http://effbot.org/ns">\n' ' <ns0:tag>text</ns0:tag>\n' ' <ns0:tag />\n' ' <ns0:section>\n' ' <ns0:tag>subtext</ns0:tag>\n' ' </ns0:section>\n' '</ns0:body>') def test_qname(self): # Test QName handling. # 1) decorated tags elem = ET.Element("{uri}tag") self.serialize_check(elem, '<ns0:tag xmlns:ns0="uri" />') # 1.1 elem = ET.Element(ET.QName("{uri}tag")) self.serialize_check(elem, '<ns0:tag xmlns:ns0="uri" />') # 1.2 elem = ET.Element(ET.QName("uri", "tag")) self.serialize_check(elem, '<ns0:tag xmlns:ns0="uri" />') # 1.3 elem = ET.Element(ET.QName("uri", "tag")) subelem = ET.SubElement(elem, ET.QName("uri", "tag1")) subelem = ET.SubElement(elem, ET.QName("uri", "tag2")) self.serialize_check(elem, '<ns0:tag xmlns:ns0="uri"><ns0:tag1 /><ns0:tag2 /></ns0:tag>') # 1.4 # 2) decorated attributes elem.clear() elem.attrib["{uri}key"] = "value" self.serialize_check(elem, '<ns0:tag xmlns:ns0="uri" ns0:key="value" />') # 2.1 elem.clear() elem.attrib[ET.QName("{uri}key")] = "value" self.serialize_check(elem, '<ns0:tag xmlns:ns0="uri" ns0:key="value" />') # 2.2 # 3) decorated values are not converted by default, but the # QName wrapper can be used for values elem.clear() elem.attrib["{uri}key"] = "{uri}value" self.serialize_check(elem, '<ns0:tag xmlns:ns0="uri" ns0:key="{uri}value" />') # 3.1 elem.clear() elem.attrib["{uri}key"] = ET.QName("{uri}value") self.serialize_check(elem, '<ns0:tag xmlns:ns0="uri" ns0:key="ns0:value" />') # 3.2 elem.clear() subelem = ET.Element("tag") subelem.attrib["{uri1}key"] = ET.QName("{uri2}value") elem.append(subelem) elem.append(subelem) self.serialize_check(elem, '<ns0:tag xmlns:ns0="uri" xmlns:ns1="uri1" xmlns:ns2="uri2">' '<tag ns1:key="ns2:value" />' '<tag ns1:key="ns2:value" />' '</ns0:tag>') # 3.3 # 4) Direct QName tests self.assertEqual(str(ET.QName('ns', 'tag')), '{ns}tag') self.assertEqual(str(ET.QName('{ns}tag')), '{ns}tag') q1 = ET.QName('ns', 'tag') q2 = ET.QName('ns', 'tag') self.assertEqual(q1, q2) q2 = ET.QName('ns', 'other-tag') self.assertNotEqual(q1, q2) self.assertNotEqual(q1, 'ns:tag') self.assertEqual(q1, '{ns}tag') def test_doctype_public(self): # Test PUBLIC doctype. elem = ET.XML('<!DOCTYPE html PUBLIC' ' "-//W3C//DTD XHTML 1.0 Transitional//EN"' ' "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">' '<html>text</html>') def test_xpath_tokenizer(self): # Test the XPath tokenizer. from xml.etree import ElementPath def check(p, expected): self.assertEqual([op or tag for op, tag in ElementPath.xpath_tokenizer(p)], expected) # tests from the xml specification check("*", ['*']) check("text()", ['text', '()']) check("@name", ['@', 'name']) check("@*", ['@', '*']) check("para[1]", ['para', '[', '1', ']']) check("para[last()]", ['para', '[', 'last', '()', ']']) check("*/para", ['*', '/', 'para']) check("/doc/chapter[5]/section[2]", ['/', 'doc', '/', 'chapter', '[', '5', ']', '/', 'section', '[', '2', ']']) check("chapter//para", ['chapter', '//', 'para']) check("//para", ['//', 'para']) check("//olist/item", ['//', 'olist', '/', 'item']) check(".", ['.']) check(".//para", ['.', '//', 'para']) check("..", ['..']) check("../@lang", ['..', '/', '@', 'lang']) check("chapter[title]", ['chapter', '[', 'title', ']']) check("employee[@secretary and @assistant]", ['employee', '[', '@', 'secretary', '', 'and', '', '@', 'assistant', ']']) # additional tests check("{http://spam}egg", ['{http://spam}egg']) check("./spam.egg", ['.', '/', 'spam.egg']) check(".//{http://spam}egg", ['.', '//', '{http://spam}egg']) def test_processinginstruction(self): # Test ProcessingInstruction directly self.assertEqual(ET.tostring(ET.ProcessingInstruction('test', 'instruction')), '<?test instruction?>') self.assertEqual(ET.tostring(ET.PI('test', 'instruction')), '<?test instruction?>') # Issue #2746 self.assertEqual(ET.tostring(ET.PI('test', '<testing&>')), '<?test <testing&>?>') self.assertEqual(ET.tostring(ET.PI('test', u'<testing&>\xe3'), 'latin1'), "<?xml version='1.0' encoding='latin1'?>\n" "<?test <testing&>\xe3?>") def test_html_empty_elems_serialization(self): # issue 15970 # from http://www.w3.org/TR/html401/index/elements.html for element in ['AREA', 'BASE', 'BASEFONT', 'BR', 'COL', 'FRAME', 'HR', 'IMG', 'INPUT', 'ISINDEX', 'LINK', 'META', 'PARAM']: for elem in [element, element.lower()]: expected = '<%s>' % elem serialized = serialize(ET.XML('<%s />' % elem), method='html') self.assertEqual(serialized, expected) serialized = serialize(ET.XML('<%s></%s>' % (elem,elem)), method='html') self.assertEqual(serialized, expected) # # xinclude tests (samples from appendix C of the xinclude specification) XINCLUDE = {} XINCLUDE["C1.xml"] = """\ <?xml version='1.0'?> <document xmlns:xi="http://www.w3.org/2001/XInclude"> <p>120 Mz is adequate for an average home user.</p> <xi:include href="disclaimer.xml"/> </document> """ XINCLUDE["disclaimer.xml"] = """\ <?xml version='1.0'?> <disclaimer> <p>The opinions represented herein represent those of the individual and should not be interpreted as official policy endorsed by this organization.</p> </disclaimer> """ XINCLUDE["C2.xml"] = """\ <?xml version='1.0'?> <document xmlns:xi="http://www.w3.org/2001/XInclude"> <p>This document has been accessed <xi:include href="count.txt" parse="text"/> times.</p> </document> """ XINCLUDE["count.txt"] = "324387" XINCLUDE["C2b.xml"] = """\ <?xml version='1.0'?> <document xmlns:xi="http://www.w3.org/2001/XInclude"> <p>This document has been <em>accessed</em> <xi:include href="count.txt" parse="text"/> times.</p> </document> """ XINCLUDE["C3.xml"] = """\ <?xml version='1.0'?> <document xmlns:xi="http://www.w3.org/2001/XInclude"> <p>The following is the source of the "data.xml" resource:</p> <example><xi:include href="data.xml" parse="text"/></example> </document> """ XINCLUDE["data.xml"] = """\ <?xml version='1.0'?> <data> <item><![CDATA[Brooks & Shields]]></item> </data> """ XINCLUDE["C5.xml"] = """\ <?xml version='1.0'?> <div xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:include href="example.txt" parse="text"> <xi:fallback> <xi:include href="fallback-example.txt" parse="text"> <xi:fallback><a href="mailto:bob@example.org">Report error</a></xi:fallback> </xi:include> </xi:fallback> </xi:include> </div> """ XINCLUDE["default.xml"] = """\ <?xml version='1.0'?> <document xmlns:xi="http://www.w3.org/2001/XInclude"> <p>Example.</p> <xi:include href="{}"/> </document> """.format(cgi.escape(SIMPLE_XMLFILE, True)) # # badly formatted xi:include tags XINCLUDE_BAD = {} XINCLUDE_BAD["B1.xml"] = """\ <?xml version='1.0'?> <document xmlns:xi="http://www.w3.org/2001/XInclude"> <p>120 Mz is adequate for an average home user.</p> <xi:include href="disclaimer.xml" parse="BAD_TYPE"/> </document> """ XINCLUDE_BAD["B2.xml"] = """\ <?xml version='1.0'?> <div xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </div> """ class XIncludeTest(unittest.TestCase): def xinclude_loader(self, href, parse="xml", encoding=None): try: data = XINCLUDE[href] except KeyError: raise IOError("resource not found") if parse == "xml": data = ET.XML(data) return data def none_loader(self, href, parser, encoding=None): return None def test_xinclude_default(self): from xml.etree import ElementInclude doc = self.xinclude_loader('default.xml') ElementInclude.include(doc) self.assertEqual(serialize(doc), '<document>\n' ' <p>Example.</p>\n' ' <root>\n' ' <element key="value">text</element>\n' ' <element>text</element>tail\n' ' <empty-element />\n' '</root>\n' '</document>') def test_xinclude(self): from xml.etree import ElementInclude # Basic inclusion example (XInclude C.1) document = self.xinclude_loader("C1.xml") ElementInclude.include(document, self.xinclude_loader) self.assertEqual(serialize(document), '<document>\n' ' <p>120 Mz is adequate for an average home user.</p>\n' ' <disclaimer>\n' ' <p>The opinions represented herein represent those of the individual\n' ' and should not be interpreted as official policy endorsed by this\n' ' organization.</p>\n' '</disclaimer>\n' '</document>') # C1 # Textual inclusion example (XInclude C.2) document = self.xinclude_loader("C2.xml") ElementInclude.include(document, self.xinclude_loader) self.assertEqual(serialize(document), '<document>\n' ' <p>This document has been accessed\n' ' 324387 times.</p>\n' '</document>') # C2 # Textual inclusion after sibling element (based on modified XInclude C.2) document = self.xinclude_loader("C2b.xml") ElementInclude.include(document, self.xinclude_loader) self.assertEqual(serialize(document), '<document>\n' ' <p>This document has been <em>accessed</em>\n' ' 324387 times.</p>\n' '</document>') # C2b # Textual inclusion of XML example (XInclude C.3) document = self.xinclude_loader("C3.xml") ElementInclude.include(document, self.xinclude_loader) self.assertEqual(serialize(document), '<document>\n' ' <p>The following is the source of the "data.xml" resource:</p>\n' " <example><?xml version='1.0'?>\n" '<data>\n' ' <item><![CDATA[Brooks & Shields]]></item>\n' '</data>\n' '</example>\n' '</document>') # C3 # Fallback example (XInclude C.5) # Note! Fallback support is not yet implemented document = self.xinclude_loader("C5.xml") with self.assertRaises(IOError) as cm: ElementInclude.include(document, self.xinclude_loader) self.assertEqual(str(cm.exception), 'resource not found') self.assertEqual(serialize(document), '<div xmlns:ns0="http://www.w3.org/2001/XInclude">\n' ' <ns0:include href="example.txt" parse="text">\n' ' <ns0:fallback>\n' ' <ns0:include href="fallback-example.txt" parse="text">\n' ' <ns0:fallback><a href="mailto:bob@example.org">Report error</a></ns0:fallback>\n' ' </ns0:include>\n' ' </ns0:fallback>\n' ' </ns0:include>\n' '</div>') # C5 def test_xinclude_failures(self): from xml.etree import ElementInclude # Test failure to locate included XML file. document = ET.XML(XINCLUDE["C1.xml"]) with self.assertRaises(ElementInclude.FatalIncludeError) as cm: ElementInclude.include(document, loader=self.none_loader) self.assertEqual(str(cm.exception), "cannot load 'disclaimer.xml' as 'xml'") # Test failure to locate included text file. document = ET.XML(XINCLUDE["C2.xml"]) with self.assertRaises(ElementInclude.FatalIncludeError) as cm: ElementInclude.include(document, loader=self.none_loader) self.assertEqual(str(cm.exception), "cannot load 'count.txt' as 'text'") # Test bad parse type. document = ET.XML(XINCLUDE_BAD["B1.xml"]) with self.assertRaises(ElementInclude.FatalIncludeError) as cm: ElementInclude.include(document, loader=self.none_loader) self.assertEqual(str(cm.exception), "unknown parse type in xi:include tag ('BAD_TYPE')") # Test xi:fallback outside xi:include. document = ET.XML(XINCLUDE_BAD["B2.xml"]) with self.assertRaises(ElementInclude.FatalIncludeError) as cm: ElementInclude.include(document, loader=self.none_loader) self.assertEqual(str(cm.exception), "xi:fallback tag must be child of xi:include " "('{http://www.w3.org/2001/XInclude}fallback')") # -------------------------------------------------------------------- # reported bugs class BugsTest(unittest.TestCase): def test_bug_xmltoolkit21(self): # marshaller gives obscure errors for non-string values def check(elem): with self.assertRaises(TypeError) as cm: serialize(elem) self.assertEqual(str(cm.exception), 'cannot serialize 123 (type int)') elem = ET.Element(123) check(elem) # tag elem = ET.Element("elem") elem.text = 123 check(elem) # text elem = ET.Element("elem") elem.tail = 123 check(elem) # tail elem = ET.Element("elem") elem.set(123, "123") check(elem) # attribute key elem = ET.Element("elem") elem.set("123", 123) check(elem) # attribute value def test_bug_xmltoolkit25(self): # typo in ElementTree.findtext elem = ET.XML(SAMPLE_XML) tree = ET.ElementTree(elem) self.assertEqual(tree.findtext("tag"), 'text') self.assertEqual(tree.findtext("section/tag"), 'subtext') def test_bug_xmltoolkit28(self): # .//tag causes exceptions tree = ET.XML("<doc><table><tbody/></table></doc>") self.assertEqual(summarize_list(tree.findall(".//thead")), []) self.assertEqual(summarize_list(tree.findall(".//tbody")), ['tbody']) def test_bug_xmltoolkitX1(self): # dump() doesn't flush the output buffer tree = ET.XML("<doc><table><tbody/></table></doc>") with support.captured_stdout() as stdout: ET.dump(tree) self.assertEqual(stdout.getvalue(), '<doc><table><tbody /></table></doc>\n') def test_bug_xmltoolkit39(self): # non-ascii element and attribute names doesn't work tree = ET.XML(b"<?xml version='1.0' encoding='iso-8859-1'?><t\xe4g />") self.assertEqual(ET.tostring(tree, "utf-8"), b'<t\xc3\xa4g />') tree = ET.XML(b"<?xml version='1.0' encoding='iso-8859-1'?>" b"<tag \xe4ttr='välue' />") self.assertEqual(tree.attrib, {u'\xe4ttr': u'v\xe4lue'}) self.assertEqual(ET.tostring(tree, "utf-8"), b'<tag \xc3\xa4ttr="v\xc3\xa4lue" />') tree = ET.XML(b"<?xml version='1.0' encoding='iso-8859-1'?>" b'<t\xe4g>text</t\xe4g>') self.assertEqual(ET.tostring(tree, "utf-8"), b'<t\xc3\xa4g>text</t\xc3\xa4g>') tree = ET.Element(u"t\u00e4g") self.assertEqual(ET.tostring(tree, "utf-8"), b'<t\xc3\xa4g />') tree = ET.Element("tag") tree.set(u"\u00e4ttr", u"v\u00e4lue") self.assertEqual(ET.tostring(tree, "utf-8"), b'<tag \xc3\xa4ttr="v\xc3\xa4lue" />') def test_bug_xmltoolkit54(self): # problems handling internally defined entities e = ET.XML("<!DOCTYPE doc [<!ENTITY ldots '舰'>]>" '<doc>&ldots;</doc>') self.assertEqual(serialize(e), '<doc>舰</doc>') def test_bug_xmltoolkit55(self): # make sure we're reporting the first error, not the last with self.assertRaises(ET.ParseError) as cm: ET.XML("<!DOCTYPE doc SYSTEM 'doc.dtd'>" '<doc>&ldots;&ndots;&rdots;</doc>') self.assertEqual(str(cm.exception), 'undefined entity &ldots;: line 1, column 36') def test_bug_xmltoolkit60(self): # Handle crash in stream source. class ExceptionFile: def read(self, x): raise IOError self.assertRaises(IOError, ET.parse, ExceptionFile()) def test_bug_xmltoolkit62(self): # Don't crash when using custom entities. ENTITIES = {u'rsquo': u'\u2019', u'lsquo': u'\u2018'} parser = ET.XMLTreeBuilder() parser.entity.update(ENTITIES) parser.feed("""<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE patent-application-publication SYSTEM "pap-v15-2001-01-31.dtd" []> <patent-application-publication> <subdoc-abstract> <paragraph id="A-0001" lvl="0">A new cultivar of Begonia plant named ‘BCT9801BEG’.</paragraph> </subdoc-abstract> </patent-application-publication>""") t = parser.close() self.assertEqual(t.find('.//paragraph').text, u'A new cultivar of Begonia plant named \u2018BCT9801BEG\u2019.') @unittest.skipIf(sys.gettrace(), "Skips under coverage.") def test_bug_xmltoolkit63(self): # Check reference leak. def xmltoolkit63(): tree = ET.TreeBuilder() tree.start("tag", {}) tree.data("text") tree.end("tag") xmltoolkit63() count = sys.getrefcount(None) for i in range(1000): xmltoolkit63() self.assertEqual(sys.getrefcount(None), count) def test_bug_200708_newline(self): # Preserve newlines in attributes. e = ET.Element('SomeTag', text="def _f():\n return 3\n") self.assertEqual(ET.tostring(e), b'<SomeTag text="def _f(): return 3 " />') self.assertEqual(ET.XML(ET.tostring(e)).get("text"), 'def _f():\n return 3\n') self.assertEqual(ET.tostring(ET.XML(ET.tostring(e))), b'<SomeTag text="def _f(): return 3 " />') def test_bug_200708_close(self): # Test default builder. parser = ET.XMLParser() # default parser.feed("<element>some text</element>") self.assertEqual(parser.close().tag, 'element') # Test custom builder. class EchoTarget: def start(self, tag, attrib): pass def end(self, tag): pass def data(self, text): pass def close(self): return ET.Element("element") # simulate root parser = ET.XMLParser(target=EchoTarget()) parser.feed("<element>some text</element>") self.assertEqual(parser.close().tag, 'element') def test_bug_200709_default_namespace(self): e = ET.Element("{default}elem") s = ET.SubElement(e, "{default}elem") self.assertEqual(serialize(e, default_namespace="default"), # 1 '<elem xmlns="default"><elem /></elem>') e = ET.Element("{default}elem") s = ET.SubElement(e, "{default}elem") s = ET.SubElement(e, "{not-default}elem") self.assertEqual(serialize(e, default_namespace="default"), # 2 '<elem xmlns="default" xmlns:ns1="not-default">' '<elem />' '<ns1:elem />' '</elem>') e = ET.Element("{default}elem") s = ET.SubElement(e, "{default}elem") s = ET.SubElement(e, "elem") # unprefixed name with self.assertRaises(ValueError) as cm: serialize(e, default_namespace="default") # 3 self.assertEqual(str(cm.exception), 'cannot use non-qualified names with default_namespace option') def test_bug_200709_register_namespace(self): e = ET.Element("{http://namespace.invalid/does/not/exist/}title") self.assertEqual(ET.tostring(e), '<ns0:title xmlns:ns0="http://namespace.invalid/does/not/exist/" />') ET.register_namespace("foo", "http://namespace.invalid/does/not/exist/") e = ET.Element("{http://namespace.invalid/does/not/exist/}title") self.assertEqual(ET.tostring(e), '<foo:title xmlns:foo="http://namespace.invalid/does/not/exist/" />') # And the Dublin Core namespace is in the default list: e = ET.Element("{http://purl.org/dc/elements/1.1/}title") self.assertEqual(ET.tostring(e), '<dc:title xmlns:dc="http://purl.org/dc/elements/1.1/" />') def test_bug_200709_element_comment(self): # Not sure if this can be fixed, really (since the serializer needs # ET.Comment, not cET.comment). a = ET.Element('a') a.append(ET.Comment('foo')) self.assertEqual(a[0].tag, ET.Comment) a = ET.Element('a') a.append(ET.PI('foo')) self.assertEqual(a[0].tag, ET.PI) def test_bug_200709_element_insert(self): a = ET.Element('a') b = ET.SubElement(a, 'b') c = ET.SubElement(a, 'c') d = ET.Element('d') a.insert(0, d) self.assertEqual(summarize_list(a), ['d', 'b', 'c']) a.insert(-1, d) self.assertEqual(summarize_list(a), ['d', 'b', 'd', 'c']) def test_bug_200709_iter_comment(self): a = ET.Element('a') b = ET.SubElement(a, 'b') comment_b = ET.Comment("TEST-b") b.append(comment_b) self.assertEqual(summarize_list(a.iter(ET.Comment)), [ET.Comment]) # -------------------------------------------------------------------- # reported on bugs.python.org def test_bug_1534630(self): bob = ET.TreeBuilder() e = bob.data("data") e = bob.start("tag", {}) e = bob.end("tag") e = bob.close() self.assertEqual(serialize(e), '<tag />') def test_issue6233(self): e = ET.XML(b"<?xml version='1.0' encoding='utf-8'?>" b'<body>t\xc3\xa3g</body>') self.assertEqual(ET.tostring(e, 'ascii'), b"<?xml version='1.0' encoding='ascii'?>\n" b'<body>tãg</body>') e = ET.XML(b"<?xml version='1.0' encoding='iso-8859-1'?>" b'<body>t\xe3g</body>') self.assertEqual(ET.tostring(e, 'ascii'), b"<?xml version='1.0' encoding='ascii'?>\n" b'<body>tãg</body>') def test_issue6565(self): elem = ET.XML("<body><tag/></body>") self.assertEqual(summarize_list(elem), ['tag']) newelem = ET.XML(SAMPLE_XML) elem[:] = newelem[:] self.assertEqual(summarize_list(elem), ['tag', 'tag', 'section']) def test_issue10777(self): # Registering a namespace twice caused a "dictionary changed size during # iteration" bug. ET.register_namespace('test10777', 'http://myuri/') ET.register_namespace('test10777', 'http://myuri/') def check_expat224_utf8_bug(self, text): xml = b'<a b="%s"/>' % text root = ET.XML(xml) self.assertEqual(root.get('b'), text.decode('utf-8')) def test_expat224_utf8_bug(self): # bpo-31170: Expat 2.2.3 had a bug in its UTF-8 decoder. # Check that Expat 2.2.4 fixed the bug. # # Test buffer bounds at odd and even positions. text = b'\xc3\xa0' * 1024 self.check_expat224_utf8_bug(text) text = b'x' + b'\xc3\xa0' * 1024 self.check_expat224_utf8_bug(text) def test_expat224_utf8_bug_file(self): with open(UTF8_BUG_XMLFILE, 'rb') as fp: raw = fp.read() root = ET.fromstring(raw) xmlattr = root.get('b') # "Parse" manually the XML file to extract the value of the 'b' # attribute of the <a b='xxx' /> XML element text = raw.decode('utf-8').strip() text = text.replace('\r\n', ' ') text = text[6:-4] self.assertEqual(root.get('b'), text) # -------------------------------------------------------------------- class BasicElementTest(unittest.TestCase): @python_only def test_cyclic_gc(self): class Dummy: pass # Test the shortest cycle: d->element->d d = Dummy() d.dummyref = ET.Element('joe', attr=d) wref = weakref.ref(d) del d gc_collect() self.assertIsNone(wref()) # A longer cycle: d->e->e2->d e = ET.Element('joe') d = Dummy() d.dummyref = e wref = weakref.ref(d) e2 = ET.SubElement(e, 'foo', attr=d) del d, e, e2 gc_collect() self.assertIsNone(wref()) # A cycle between Element objects as children of one another # e1->e2->e3->e1 e1 = ET.Element('e1') e2 = ET.Element('e2') e3 = ET.Element('e3') e1.append(e2) e2.append(e2) e3.append(e1) wref = weakref.ref(e1) del e1, e2, e3 gc_collect() self.assertIsNone(wref()) @python_only def test_weakref(self): flag = [] def wref_cb(w): flag.append(True) e = ET.Element('e') wref = weakref.ref(e, wref_cb) self.assertEqual(wref().tag, 'e') del e self.assertEqual(flag, [True]) self.assertEqual(wref(), None) @python_only def test_get_keyword_args(self): e1 = ET.Element('foo' , x=1, y=2, z=3) self.assertEqual(e1.get('x', default=7), 1) self.assertEqual(e1.get('w', default=7), 7) class BadElementTest(unittest.TestCase): def test_extend_mutable_list(self): class X(object): @property def __class__(self): L[:] = [ET.Element('baz')] return ET.Element L = [X()] e = ET.Element('foo') try: e.extend(L) except TypeError: pass if ET is pyET: class Y(X, ET.Element): pass L = [Y('x')] e = ET.Element('foo') e.extend(L) def test_extend_mutable_list2(self): class X(object): @property def __class__(self): del L[:] return ET.Element L = [X(), ET.Element('baz')] e = ET.Element('foo') try: e.extend(L) except TypeError: pass if ET is pyET: class Y(X, ET.Element): pass L = [Y('bar'), ET.Element('baz')] e = ET.Element('foo') e.extend(L) @python_only def test_remove_with_mutating(self): class X(ET.Element): def __eq__(self, o): del e[:] return False __hash__ = object.__hash__ e = ET.Element('foo') e.extend([X('bar')]) self.assertRaises(ValueError, e.remove, ET.Element('baz')) e = ET.Element('foo') e.extend([ET.Element('bar')]) self.assertRaises(ValueError, e.remove, X('baz')) def test_recursive_repr(self): # Issue #25455 e = ET.Element('foo') with swap_attr(e, 'tag', e): with self.assertRaises(RuntimeError): repr(e) # Should not crash def test_element_get_text(self): # Issue #27863 class X(str): def __del__(self): try: elem.text except NameError: pass b = ET.TreeBuilder() b.start('tag', {}) b.data('ABCD') b.data(X('EFGH')) b.data('IJKL') b.end('tag') elem = b.close() self.assertEqual(elem.text, 'ABCDEFGHIJKL') def test_element_get_tail(self): # Issue #27863 class X(str): def __del__(self): try: elem[0].tail except NameError: pass b = ET.TreeBuilder() b.start('root', {}) b.start('tag', {}) b.end('tag') b.data('ABCD') b.data(X('EFGH')) b.data('IJKL') b.end('root') elem = b.close() self.assertEqual(elem[0].tail, 'ABCDEFGHIJKL') def test_element_iter(self): # Issue #27863 e = ET.Element('tag') e.extend([None]) # non-Element it = e.iter() self.assertIs(next(it), e) self.assertRaises((AttributeError, TypeError), list, it) def test_subscr(self): # Issue #27863 class X: def __index__(self): del e[:] return 1 e = ET.Element('elem') e.append(ET.Element('child')) e[:X()] # shouldn't crash e.append(ET.Element('child')) e[0:10:X()] # shouldn't crash def test_ass_subscr(self): # Issue #27863 class X: def __index__(self): e[:] = [] return 1 e = ET.Element('elem') for _ in range(10): e.insert(0, ET.Element('child')) e[0:10:X()] = [] # shouldn't crash class MutatingElementPath(str): def __new__(cls, elem, *args): self = str.__new__(cls, *args) self.elem = elem return self def __eq__(self, o): del self.elem[:] return True __hash__ = str.__hash__ class BadElementPath(str): def __eq__(self, o): raise 1.0/0.0 __hash__ = str.__hash__ class BadElementPathTest(unittest.TestCase): def setUp(self): super(BadElementPathTest, self).setUp() from xml.etree import ElementPath self.path_cache = ElementPath._cache ElementPath._cache = {} def tearDown(self): from xml.etree import ElementPath ElementPath._cache = self.path_cache super(BadElementPathTest, self).tearDown() def test_find_with_mutating(self): e = ET.Element('foo') e.extend([ET.Element('bar')]) e.find(MutatingElementPath(e, 'x')) def test_find_with_error(self): e = ET.Element('foo') e.extend([ET.Element('bar')]) try: e.find(BadElementPath('x')) except ZeroDivisionError: pass def test_findtext_with_mutating(self): e = ET.Element('foo') e.extend([ET.Element('bar')]) e.findtext(MutatingElementPath(e, 'x')) def test_findtext_with_error(self): e = ET.Element('foo') e.extend([ET.Element('bar')]) try: e.findtext(BadElementPath('x')) except ZeroDivisionError: pass def test_findall_with_mutating(self): e = ET.Element('foo') e.extend([ET.Element('bar')]) e.findall(MutatingElementPath(e, 'x')) def test_findall_with_error(self): e = ET.Element('foo') e.extend([ET.Element('bar')]) try: e.findall(BadElementPath('x')) except ZeroDivisionError: pass class ElementTreeTypeTest(unittest.TestCase): def test_istype(self): self.assertIsInstance(ET.ParseError, type) self.assertIsInstance(ET.QName, type) self.assertIsInstance(ET.ElementTree, type) if ET is pyET: self.assertIsInstance(ET.Element, type) self.assertIsInstance(ET.TreeBuilder, type) self.assertIsInstance(ET.XMLParser, type) @python_only def test_Element_subclass_trivial(self): class MyElement(ET.Element): pass mye = MyElement('foo') self.assertIsInstance(mye, ET.Element) self.assertIsInstance(mye, MyElement) self.assertEqual(mye.tag, 'foo') # test that attribute assignment works (issue 14849) mye.text = "joe" self.assertEqual(mye.text, "joe") @python_only def test_Element_subclass_constructor(self): class MyElement(ET.Element): def __init__(self, tag, attrib={}, **extra): super(MyElement, self).__init__(tag + '__', attrib, **extra) mye = MyElement('foo', {'a': 1, 'b': 2}, c=3, d=4) self.assertEqual(mye.tag, 'foo__') self.assertEqual(sorted(mye.items()), [('a', 1), ('b', 2), ('c', 3), ('d', 4)]) @python_only def test_Element_subclass_new_method(self): class MyElement(ET.Element): def newmethod(self): return self.tag mye = MyElement('joe') self.assertEqual(mye.newmethod(), 'joe') class ElementFindTest(unittest.TestCase): @python_only def test_simplefind(self): ET.ElementPath with swap_attr(ET, 'ElementPath', ET._SimpleElementPath()): e = ET.XML(SAMPLE_XML) self.assertEqual(e.find('tag').tag, 'tag') self.assertEqual(ET.ElementTree(e).find('tag').tag, 'tag') self.assertEqual(e.findtext('tag'), 'text') self.assertIsNone(e.findtext('tog')) self.assertEqual(e.findtext('tog', 'default'), 'default') self.assertEqual(ET.ElementTree(e).findtext('tag'), 'text') self.assertEqual(summarize_list(e.findall('tag')), ['tag', 'tag']) self.assertEqual(summarize_list(e.findall('.//tag')), ['tag', 'tag', 'tag']) # Path syntax doesn't work in this case. self.assertIsNone(e.find('section/tag')) self.assertIsNone(e.findtext('section/tag')) self.assertEqual(summarize_list(e.findall('section/tag')), []) def test_find_simple(self): e = ET.XML(SAMPLE_XML) self.assertEqual(e.find('tag').tag, 'tag') self.assertEqual(e.find('section/tag').tag, 'tag') self.assertEqual(e.find('./tag').tag, 'tag') e[2] = ET.XML(SAMPLE_SECTION) self.assertEqual(e.find('section/nexttag').tag, 'nexttag') self.assertEqual(e.findtext('./tag'), 'text') self.assertEqual(e.findtext('section/tag'), 'subtext') # section/nexttag is found but has no text self.assertEqual(e.findtext('section/nexttag'), '') self.assertEqual(e.findtext('section/nexttag', 'default'), '') # tog doesn't exist and 'default' kicks in self.assertIsNone(e.findtext('tog')) self.assertEqual(e.findtext('tog', 'default'), 'default') # Issue #16922 self.assertEqual(ET.XML('<tag><empty /></tag>').findtext('empty'), '') def test_find_xpath(self): LINEAR_XML = ''' <body> <tag class='a'/> <tag class='b'/> <tag class='c'/> <tag class='d'/> </body>''' e = ET.XML(LINEAR_XML) # Test for numeric indexing and last() self.assertEqual(e.find('./tag[1]').attrib['class'], 'a') self.assertEqual(e.find('./tag[2]').attrib['class'], 'b') self.assertEqual(e.find('./tag[last()]').attrib['class'], 'd') self.assertEqual(e.find('./tag[last()-1]').attrib['class'], 'c') self.assertEqual(e.find('./tag[last()-2]').attrib['class'], 'b') def test_findall(self): e = ET.XML(SAMPLE_XML) e[2] = ET.XML(SAMPLE_SECTION) self.assertEqual(summarize_list(e.findall('.')), ['body']) self.assertEqual(summarize_list(e.findall('tag')), ['tag', 'tag']) self.assertEqual(summarize_list(e.findall('tog')), []) self.assertEqual(summarize_list(e.findall('tog/foo')), []) self.assertEqual(summarize_list(e.findall('*')), ['tag', 'tag', 'section']) self.assertEqual(summarize_list(e.findall('.//tag')), ['tag'] * 4) self.assertEqual(summarize_list(e.findall('section/tag')), ['tag']) self.assertEqual(summarize_list(e.findall('section//tag')), ['tag'] * 2) self.assertEqual(summarize_list(e.findall('section/*')), ['tag', 'nexttag', 'nextsection']) self.assertEqual(summarize_list(e.findall('section//*')), ['tag', 'nexttag', 'nextsection', 'tag']) self.assertEqual(summarize_list(e.findall('section/.//*')), ['tag', 'nexttag', 'nextsection', 'tag']) self.assertEqual(summarize_list(e.findall('*/*')), ['tag', 'nexttag', 'nextsection']) self.assertEqual(summarize_list(e.findall('*//*')), ['tag', 'nexttag', 'nextsection', 'tag']) self.assertEqual(summarize_list(e.findall('*/tag')), ['tag']) self.assertEqual(summarize_list(e.findall('*/./tag')), ['tag']) self.assertEqual(summarize_list(e.findall('./tag')), ['tag'] * 2) self.assertEqual(summarize_list(e.findall('././tag')), ['tag'] * 2) self.assertEqual(summarize_list(e.findall('.//tag[@class]')), ['tag'] * 3) self.assertEqual(summarize_list(e.findall('.//tag[@class="a"]')), ['tag']) self.assertEqual(summarize_list(e.findall('.//tag[@class="b"]')), ['tag'] * 2) self.assertEqual(summarize_list(e.findall('.//tag[@id]')), ['tag']) self.assertEqual(summarize_list(e.findall('.//section[tag]')), ['section']) self.assertEqual(summarize_list(e.findall('.//section[element]')), []) self.assertEqual(summarize_list(e.findall('../tag')), []) self.assertEqual(summarize_list(e.findall('section/../tag')), ['tag'] * 2) self.assertEqual(e.findall('section//'), e.findall('section//*')) def test_test_find_with_ns(self): e = ET.XML(SAMPLE_XML_NS) self.assertEqual(summarize_list(e.findall('tag')), []) self.assertEqual( summarize_list(e.findall("{http://effbot.org/ns}tag")), ['{http://effbot.org/ns}tag'] * 2) self.assertEqual( summarize_list(e.findall(".//{http://effbot.org/ns}tag")), ['{http://effbot.org/ns}tag'] * 3) def test_bad_find(self): e = ET.XML(SAMPLE_XML) with self.assertRaisesRegexp(SyntaxError, 'cannot use absolute path on element'): e.findall('/tag') def test_find_through_ElementTree(self): e = ET.XML(SAMPLE_XML) self.assertEqual(ET.ElementTree(e).find('tag').tag, 'tag') self.assertEqual(ET.ElementTree(e).find('./tag').tag, 'tag') # this produces a warning msg = ("This search is broken in 1.3 and earlier, and will be fixed " "in a future version. If you rely on the current behaviour, " "change it to '.+'") with support.check_warnings((msg, FutureWarning)): self.assertEqual(ET.ElementTree(e).find('/tag').tag, 'tag') e[2] = ET.XML(SAMPLE_SECTION) self.assertEqual(ET.ElementTree(e).find('section/tag').tag, 'tag') self.assertIsNone(ET.ElementTree(e).find('tog')) self.assertIsNone(ET.ElementTree(e).find('tog/foo')) self.assertEqual(ET.ElementTree(e).findtext('tag'), 'text') self.assertIsNone(ET.ElementTree(e).findtext('tog/foo')) self.assertEqual(ET.ElementTree(e).findtext('tog/foo', 'default'), 'default') self.assertEqual(ET.ElementTree(e).findtext('./tag'), 'text') with support.check_warnings((msg, FutureWarning)): self.assertEqual(ET.ElementTree(e).findtext('/tag'), 'text') self.assertEqual(ET.ElementTree(e).findtext('section/tag'), 'subtext') self.assertEqual(summarize_list(ET.ElementTree(e).findall('./tag')), ['tag'] * 2) with support.check_warnings((msg, FutureWarning)): it = ET.ElementTree(e).findall('/tag') self.assertEqual(summarize_list(it), ['tag'] * 2) class ElementIterTest(unittest.TestCase): def _ilist(self, elem, tag=None): return summarize_list(elem.iter(tag)) def test_basic(self): doc = ET.XML("<html><body>this is a <i>paragraph</i>.</body>..</html>") self.assertEqual(self._ilist(doc), ['html', 'body', 'i']) self.assertEqual(self._ilist(doc.find('body')), ['body', 'i']) self.assertEqual(next(doc.iter()).tag, 'html') self.assertEqual(''.join(doc.itertext()), 'this is a paragraph...') self.assertEqual(''.join(doc.find('body').itertext()), 'this is a paragraph.') self.assertEqual(next(doc.itertext()), 'this is a ') # Method iterparse should return an iterator. See bug 6472. sourcefile = serialize(doc, to_string=False) self.assertEqual(next(ET.iterparse(sourcefile))[0], 'end') if ET is pyET: # With an explitit parser too (issue #9708) sourcefile = serialize(doc, to_string=False) parser = ET.XMLParser(target=ET.TreeBuilder()) self.assertEqual(next(ET.iterparse(sourcefile, parser=parser))[0], 'end') tree = ET.ElementTree(None) self.assertRaises(AttributeError, tree.iter) # Issue #16913 doc = ET.XML("<root>a&<sub>b&</sub>c&</root>") self.assertEqual(''.join(doc.itertext()), 'a&b&c&') def test_corners(self): # single root, no subelements a = ET.Element('a') self.assertEqual(self._ilist(a), ['a']) # one child b = ET.SubElement(a, 'b') self.assertEqual(self._ilist(a), ['a', 'b']) # one child and one grandchild c = ET.SubElement(b, 'c') self.assertEqual(self._ilist(a), ['a', 'b', 'c']) # two children, only first with grandchild d = ET.SubElement(a, 'd') self.assertEqual(self._ilist(a), ['a', 'b', 'c', 'd']) # replace first child by second a[0] = a[1] del a[1] self.assertEqual(self._ilist(a), ['a', 'd']) def test_iter_by_tag(self): doc = ET.XML(''' <document> <house> <room>bedroom1</room> <room>bedroom2</room> </house> <shed>nothing here </shed> <house> <room>bedroom8</room> </house> </document>''') self.assertEqual(self._ilist(doc, 'room'), ['room'] * 3) self.assertEqual(self._ilist(doc, 'house'), ['house'] * 2) if ET is pyET: # test that iter also accepts 'tag' as a keyword arg self.assertEqual( summarize_list(doc.iter(tag='room')), ['room'] * 3) # make sure both tag=None and tag='*' return all tags all_tags = ['document', 'house', 'room', 'room', 'shed', 'house', 'room'] self.assertEqual(summarize_list(doc.iter()), all_tags) self.assertEqual(self._ilist(doc), all_tags) self.assertEqual(self._ilist(doc, '*'), all_tags) def test_getiterator(self): # Element.getiterator() is deprecated. if sys.py3kwarning or ET is pyET: with support.check_warnings(("This method will be removed in future versions. " "Use .+ instead.", PendingDeprecationWarning)): self._test_getiterator() else: self._test_getiterator() def _test_getiterator(self): doc = ET.XML(''' <document> <house> <room>bedroom1</room> <room>bedroom2</room> </house> <shed>nothing here </shed> <house> <room>bedroom8</room> </house> </document>''') self.assertEqual(summarize_list(doc.getiterator('room')), ['room'] * 3) self.assertEqual(summarize_list(doc.getiterator('house')), ['house'] * 2) if ET is pyET: # test that getiterator also accepts 'tag' as a keyword arg self.assertEqual( summarize_list(doc.getiterator(tag='room')), ['room'] * 3) # make sure both tag=None and tag='*' return all tags all_tags = ['document', 'house', 'room', 'room', 'shed', 'house', 'room'] self.assertEqual(summarize_list(doc.getiterator()), all_tags) self.assertEqual(summarize_list(doc.getiterator(None)), all_tags) self.assertEqual(summarize_list(doc.getiterator('*')), all_tags) def test_copy(self): a = ET.Element('a') it = a.iter() with self.assertRaises(TypeError): copy.copy(it) def test_pickle(self): a = ET.Element('a') it = a.iter() for proto in range(pickle.HIGHEST_PROTOCOL + 1): with self.assertRaises((TypeError, pickle.PicklingError)): pickle.dumps(it, proto) class TreeBuilderTest(unittest.TestCase): sample1 = ('<!DOCTYPE html PUBLIC' ' "-//W3C//DTD XHTML 1.0 Transitional//EN"' ' "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">' '<html>text<div>subtext</div>tail</html>') sample2 = '''<toplevel>sometext</toplevel>''' def _check_sample1_element(self, e): self.assertEqual(e.tag, 'html') self.assertEqual(e.text, 'text') self.assertEqual(e.tail, None) self.assertEqual(e.attrib, {}) children = list(e) self.assertEqual(len(children), 1) child = children[0] self.assertEqual(child.tag, 'div') self.assertEqual(child.text, 'subtext') self.assertEqual(child.tail, 'tail') self.assertEqual(child.attrib, {}) def test_dummy_builder(self): class DummyBuilder: data = start = end = lambda *a: None def close(self): return 42 parser = ET.XMLParser(target=DummyBuilder()) parser.feed(self.sample1) self.assertEqual(parser.close(), 42) @python_only def test_treebuilder_elementfactory_none(self): parser = ET.XMLParser(target=ET.TreeBuilder(element_factory=None)) parser.feed(self.sample1) e = parser.close() self._check_sample1_element(e) @python_only def test_subclass(self): class MyTreeBuilder(ET.TreeBuilder): def foobar(self, x): return x * 2 tb = MyTreeBuilder() self.assertEqual(tb.foobar(10), 20) parser = ET.XMLParser(target=tb) parser.feed(self.sample1) e = parser.close() self._check_sample1_element(e) @python_only def test_element_factory(self): lst = [] def myfactory(tag, attrib): lst.append(tag) return ET.Element(tag, attrib) tb = ET.TreeBuilder(element_factory=myfactory) parser = ET.XMLParser(target=tb) parser.feed(self.sample2) parser.close() self.assertEqual(lst, ['toplevel']) @python_only def test_element_factory_subclass(self): class MyElement(ET.Element): pass tb = ET.TreeBuilder(element_factory=MyElement) parser = ET.XMLParser(target=tb) parser.feed(self.sample1) e = parser.close() self.assertIsInstance(e, MyElement) self._check_sample1_element(e) @python_only def test_doctype(self): class DoctypeParser: _doctype = None def doctype(self, name, pubid, system): self._doctype = (name, pubid, system) data = start = end = lambda *a: None def close(self): return self._doctype parser = ET.XMLParser(target=DoctypeParser()) parser.feed(self.sample1) self.assertEqual(parser.close(), ('html', '-//W3C//DTD XHTML 1.0 Transitional//EN', 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd')) @cet_only # PyET does not look up the attributes in XMLParser().__init__() def test_builder_lookup_errors(self): class RaisingBuilder(object): def __init__(self, raise_in=None, what=ValueError): self.raise_in = raise_in self.what = what def __getattr__(self, name): if name == self.raise_in: raise self.what(self.raise_in) def handle(*args): pass return handle ET.XMLParser(target=RaisingBuilder()) # cET also checks for 'close' and 'doctype', PyET does it only at need for event in ('start', 'data', 'end', 'comment', 'pi'): with self.assertRaises(ValueError): ET.XMLParser(target=RaisingBuilder(event)) ET.XMLParser(target=RaisingBuilder(what=AttributeError)) for event in ('start', 'data', 'end', 'comment', 'pi'): parser = ET.XMLParser(target=RaisingBuilder(event, what=AttributeError)) parser.feed(self.sample1) self.assertIsNone(parser.close()) class XMLParserTest(unittest.TestCase): sample1 = b'<file><line>22</line></file>' sample2 = (b'<!DOCTYPE html PUBLIC' b' "-//W3C//DTD XHTML 1.0 Transitional//EN"' b' "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">' b'<html>text</html>') def _check_sample_element(self, e): self.assertEqual(e.tag, 'file') self.assertEqual(e[0].tag, 'line') self.assertEqual(e[0].text, '22') @python_only def test_constructor_args(self): # Positional args. The first (html) is not supported, but should be # nevertheless correctly accepted. with support.check_py3k_warnings((r'.*\bhtml\b', DeprecationWarning)): parser = ET.XMLParser(None, ET.TreeBuilder(), 'utf-8') parser.feed(self.sample1) self._check_sample_element(parser.close()) # Now as keyword args. parser2 = ET.XMLParser(encoding='utf-8', target=ET.TreeBuilder()) parser2.feed(self.sample1) self._check_sample_element(parser2.close()) @python_only def test_subclass(self): class MyParser(ET.XMLParser): pass parser = MyParser() parser.feed(self.sample1) self._check_sample_element(parser.close()) @python_only def test_doctype_warning(self): parser = ET.XMLParser() with support.check_warnings(('', DeprecationWarning)): parser.doctype('html', '-//W3C//DTD XHTML 1.0 Transitional//EN', 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd') parser.feed('<html/>') parser.close() @python_only def test_subclass_doctype(self): _doctype = [] class MyParserWithDoctype(ET.XMLParser): def doctype(self, name, pubid, system): _doctype.append((name, pubid, system)) parser = MyParserWithDoctype() with support.check_warnings(('', DeprecationWarning)): parser.feed(self.sample2) parser.close() self.assertEqual(_doctype, [('html', '-//W3C//DTD XHTML 1.0 Transitional//EN', 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd')]) _doctype = [] _doctype2 = [] with warnings.catch_warnings(): warnings.simplefilter('error', DeprecationWarning) class DoctypeParser: data = start = end = close = lambda *a: None def doctype(self, name, pubid, system): _doctype2.append((name, pubid, system)) parser = MyParserWithDoctype(target=DoctypeParser()) parser.feed(self.sample2) parser.close() self.assertEqual(_doctype, []) self.assertEqual(_doctype2, [('html', '-//W3C//DTD XHTML 1.0 Transitional//EN', 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd')]) class NamespaceParseTest(unittest.TestCase): def test_find_with_namespace(self): nsmap = {'h': 'hello', 'f': 'foo'} doc = ET.fromstring(SAMPLE_XML_NS_ELEMS) self.assertEqual(len(doc.findall('{hello}table', nsmap)), 1) self.assertEqual(len(doc.findall('.//{hello}td', nsmap)), 2) self.assertEqual(len(doc.findall('.//{foo}name', nsmap)), 1) class ElementSlicingTest(unittest.TestCase): def _elem_tags(self, elemlist): return [e.tag for e in elemlist] def _subelem_tags(self, elem): return self._elem_tags(list(elem)) def _make_elem_with_children(self, numchildren): """Create an Element with a tag 'a', with the given amount of children named 'a0', 'a1' ... and so on. """ e = ET.Element('a') for i in range(numchildren): ET.SubElement(e, 'a%s' % i) return e def test_getslice_single_index(self): e = self._make_elem_with_children(10) self.assertEqual(e[1].tag, 'a1') self.assertEqual(e[-2].tag, 'a8') self.assertRaises(IndexError, lambda: e[12]) self.assertRaises(IndexError, lambda: e[-12]) def test_getslice_range(self): e = self._make_elem_with_children(6) self.assertEqual(self._elem_tags(e[3:]), ['a3', 'a4', 'a5']) self.assertEqual(self._elem_tags(e[3:6]), ['a3', 'a4', 'a5']) self.assertEqual(self._elem_tags(e[3:16]), ['a3', 'a4', 'a5']) self.assertEqual(self._elem_tags(e[3:5]), ['a3', 'a4']) self.assertEqual(self._elem_tags(e[3:-1]), ['a3', 'a4']) self.assertEqual(self._elem_tags(e[:2]), ['a0', 'a1']) def test_getslice_steps(self): e = self._make_elem_with_children(10) self.assertEqual(self._elem_tags(e[8:10:1]), ['a8', 'a9']) self.assertEqual(self._elem_tags(e[::3]), ['a0', 'a3', 'a6', 'a9']) self.assertEqual(self._elem_tags(e[::8]), ['a0', 'a8']) self.assertEqual(self._elem_tags(e[1::8]), ['a1', 'a9']) self.assertEqual(self._elem_tags(e[3::sys.maxsize]), ['a3']) self.assertEqual(self._elem_tags(e[3::sys.maxsize<<64]), ['a3']) def test_getslice_negative_steps(self): e = self._make_elem_with_children(4) self.assertEqual(self._elem_tags(e[::-1]), ['a3', 'a2', 'a1', 'a0']) self.assertEqual(self._elem_tags(e[::-2]), ['a3', 'a1']) self.assertEqual(self._elem_tags(e[3::-sys.maxsize]), ['a3']) self.assertEqual(self._elem_tags(e[3::-sys.maxsize-1]), ['a3']) self.assertEqual(self._elem_tags(e[3::-sys.maxsize<<64]), ['a3']) def test_delslice(self): e = self._make_elem_with_children(4) del e[0:2] self.assertEqual(self._subelem_tags(e), ['a2', 'a3']) e = self._make_elem_with_children(4) del e[0:] self.assertEqual(self._subelem_tags(e), []) if ET is pyET: e = self._make_elem_with_children(4) del e[::-1] self.assertEqual(self._subelem_tags(e), []) e = self._make_elem_with_children(4) del e[::-2] self.assertEqual(self._subelem_tags(e), ['a0', 'a2']) e = self._make_elem_with_children(4) del e[1::2] self.assertEqual(self._subelem_tags(e), ['a0', 'a2']) e = self._make_elem_with_children(2) del e[::2] self.assertEqual(self._subelem_tags(e), ['a1']) def test_setslice_single_index(self): e = self._make_elem_with_children(4) e[1] = ET.Element('b') self.assertEqual(self._subelem_tags(e), ['a0', 'b', 'a2', 'a3']) e[-2] = ET.Element('c') self.assertEqual(self._subelem_tags(e), ['a0', 'b', 'c', 'a3']) with self.assertRaises(IndexError): e[5] = ET.Element('d') with self.assertRaises(IndexError): e[-5] = ET.Element('d') self.assertEqual(self._subelem_tags(e), ['a0', 'b', 'c', 'a3']) def test_setslice_range(self): e = self._make_elem_with_children(4) e[1:3] = [ET.Element('b%s' % i) for i in range(2)] self.assertEqual(self._subelem_tags(e), ['a0', 'b0', 'b1', 'a3']) e = self._make_elem_with_children(4) e[1:3] = [ET.Element('b')] self.assertEqual(self._subelem_tags(e), ['a0', 'b', 'a3']) e = self._make_elem_with_children(4) e[1:3] = [ET.Element('b%s' % i) for i in range(3)] self.assertEqual(self._subelem_tags(e), ['a0', 'b0', 'b1', 'b2', 'a3']) def test_setslice_steps(self): e = self._make_elem_with_children(6) e[1:5:2] = [ET.Element('b%s' % i) for i in range(2)] self.assertEqual(self._subelem_tags(e), ['a0', 'b0', 'a2', 'b1', 'a4', 'a5']) e = self._make_elem_with_children(6) with self.assertRaises(ValueError): e[1:5:2] = [ET.Element('b')] with self.assertRaises(ValueError): e[1:5:2] = [ET.Element('b%s' % i) for i in range(3)] with self.assertRaises(ValueError): e[1:5:2] = [] self.assertEqual(self._subelem_tags(e), ['a0', 'a1', 'a2', 'a3', 'a4', 'a5']) e = self._make_elem_with_children(4) e[1::sys.maxsize] = [ET.Element('b')] self.assertEqual(self._subelem_tags(e), ['a0', 'b', 'a2', 'a3']) e[1::sys.maxsize<<64] = [ET.Element('c')] self.assertEqual(self._subelem_tags(e), ['a0', 'c', 'a2', 'a3']) def test_setslice_negative_steps(self): e = self._make_elem_with_children(4) e[2:0:-1] = [ET.Element('b%s' % i) for i in range(2)] self.assertEqual(self._subelem_tags(e), ['a0', 'b1', 'b0', 'a3']) e = self._make_elem_with_children(4) with self.assertRaises(ValueError): e[2:0:-1] = [ET.Element('b')] with self.assertRaises(ValueError): e[2:0:-1] = [ET.Element('b%s' % i) for i in range(3)] with self.assertRaises(ValueError): e[2:0:-1] = [] self.assertEqual(self._subelem_tags(e), ['a0', 'a1', 'a2', 'a3']) e = self._make_elem_with_children(4) e[1::-sys.maxsize] = [ET.Element('b')] self.assertEqual(self._subelem_tags(e), ['a0', 'b', 'a2', 'a3']) e[1::-sys.maxsize-1] = [ET.Element('c')] self.assertEqual(self._subelem_tags(e), ['a0', 'c', 'a2', 'a3']) e[1::-sys.maxsize<<64] = [ET.Element('d')] self.assertEqual(self._subelem_tags(e), ['a0', 'd', 'a2', 'a3']) class IOTest(unittest.TestCase): def tearDown(self): support.unlink(TESTFN) def test_encoding(self): # Test encoding issues. elem = ET.Element("tag") elem.text = u"abc" self.assertEqual(serialize(elem), '<tag>abc</tag>') self.assertEqual(serialize(elem, encoding="utf-8"), '<tag>abc</tag>') self.assertEqual(serialize(elem, encoding="us-ascii"), '<tag>abc</tag>') self.assertEqual(serialize(elem, encoding="iso-8859-1"), "<?xml version='1.0' encoding='iso-8859-1'?>\n" "<tag>abc</tag>") elem = ET.Element("tag") elem.text = "<&\"\'>" self.assertEqual(serialize(elem), '<tag><&"\'></tag>') self.assertEqual(serialize(elem, encoding="utf-8"), b'<tag><&"\'></tag>') self.assertEqual(serialize(elem, encoding="us-ascii"), b'<tag><&"\'></tag>') self.assertEqual(serialize(elem, encoding="iso-8859-1"), "<?xml version='1.0' encoding='iso-8859-1'?>\n" "<tag><&\"'></tag>") elem = ET.Element("tag") elem.attrib["key"] = "<&\"\'>" self.assertEqual(serialize(elem), '<tag key="<&"\'>" />') self.assertEqual(serialize(elem, encoding="utf-8"), b'<tag key="<&"\'>" />') self.assertEqual(serialize(elem, encoding="us-ascii"), b'<tag key="<&"\'>" />') self.assertEqual(serialize(elem, encoding="iso-8859-1"), "<?xml version='1.0' encoding='iso-8859-1'?>\n" "<tag key=\"<&"'>\" />") elem = ET.Element("tag") elem.text = u'\xe5\xf6\xf6<>' self.assertEqual(serialize(elem), '<tag>åöö<></tag>') self.assertEqual(serialize(elem, encoding="utf-8"), '<tag>\xc3\xa5\xc3\xb6\xc3\xb6<></tag>') self.assertEqual(serialize(elem, encoding="us-ascii"), '<tag>åöö<></tag>') self.assertEqual(serialize(elem, encoding="iso-8859-1"), "<?xml version='1.0' encoding='iso-8859-1'?>\n" "<tag>\xe5\xf6\xf6<></tag>") elem = ET.Element("tag") elem.attrib["key"] = u'\xe5\xf6\xf6<>' self.assertEqual(serialize(elem), '<tag key="åöö<>" />') self.assertEqual(serialize(elem, encoding="utf-8"), '<tag key="\xc3\xa5\xc3\xb6\xc3\xb6<>" />') self.assertEqual(serialize(elem, encoding="us-ascii"), '<tag key="åöö<>" />') self.assertEqual(serialize(elem, encoding="iso-8859-1"), "<?xml version='1.0' encoding='iso-8859-1'?>\n" "<tag key=\"\xe5\xf6\xf6<>\" />") def test_write_to_filename(self): tree = ET.ElementTree(ET.XML('''<site />''')) tree.write(TESTFN) with open(TESTFN, 'rb') as f: self.assertEqual(f.read(), b'''<site />''') def test_write_to_file(self): tree = ET.ElementTree(ET.XML('''<site />''')) with open(TESTFN, 'wb') as f: tree.write(f) self.assertFalse(f.closed) with open(TESTFN, 'rb') as f: self.assertEqual(f.read(), b'''<site />''') def test_read_from_stringio(self): tree = ET.ElementTree() stream = StringIO.StringIO('''<?xml version="1.0"?><site></site>''') tree.parse(stream) self.assertEqual(tree.getroot().tag, 'site') def test_write_to_stringio(self): tree = ET.ElementTree(ET.XML('''<site />''')) stream = StringIO.StringIO() tree.write(stream) self.assertEqual(stream.getvalue(), '''<site />''') class dummy: pass def test_read_from_user_reader(self): stream = StringIO.StringIO('''<?xml version="1.0"?><site></site>''') reader = self.dummy() reader.read = stream.read tree = ET.ElementTree() tree.parse(reader) self.assertEqual(tree.getroot().tag, 'site') def test_write_to_user_writer(self): tree = ET.ElementTree(ET.XML('''<site />''')) stream = StringIO.StringIO() writer = self.dummy() writer.write = stream.write tree.write(writer) self.assertEqual(stream.getvalue(), '''<site />''') def test_tostringlist_invariant(self): root = ET.fromstring('<tag>foo</tag>') self.assertEqual( ET.tostring(root), ''.join(ET.tostringlist(root))) self.assertEqual( ET.tostring(root, 'utf-16'), b''.join(ET.tostringlist(root, 'utf-16'))) class ParseErrorTest(unittest.TestCase): def test_subclass(self): self.assertIsInstance(ET.ParseError(), SyntaxError) def _get_error(self, s): try: ET.fromstring(s) except ET.ParseError as e: return e def test_error_position(self): self.assertEqual(self._get_error('foo').position, (1, 0)) self.assertEqual(self._get_error('<tag>&foo;</tag>').position, (1, 5)) self.assertEqual(self._get_error('foobar<').position, (1, 6)) @python_only def test_error_code(self): from xml.parsers import expat self.assertEqual(expat.ErrorString(self._get_error('foo').code), expat.errors.XML_ERROR_SYNTAX) class KeywordArgsTest(unittest.TestCase): # Test various issues with keyword arguments passed to ET.Element # constructor and methods def test_issue14818(self): x = ET.XML("<a>foo</a>") self.assertEqual(x.find('a', None), x.find(path='a', namespaces=None)) self.assertEqual(x.findtext('a', None, None), x.findtext(path='a', default=None, namespaces=None)) self.assertEqual(x.findall('a', None), x.findall(path='a', namespaces=None)) self.assertEqual(list(x.iterfind('a', None)), list(x.iterfind(path='a', namespaces=None))) self.assertEqual(ET.Element('a').attrib, {}) elements = [ ET.Element('a', dict(href="#", id="foo")), ET.Element('a', attrib=dict(href="#", id="foo")), ET.Element('a', dict(href="#"), id="foo"), ET.Element('a', href="#", id="foo"), ET.Element('a', dict(href="#", id="foo"), href="#", id="foo"), ] for e in elements: self.assertEqual(e.tag, 'a') self.assertEqual(e.attrib, dict(href="#", id="foo")) e2 = ET.SubElement(elements[0], 'foobar', attrib={'key1': 'value1'}) self.assertEqual(e2.attrib['key1'], 'value1') with self.assertRaisesRegexp(TypeError, 'must be dict, not str'): ET.Element('a', "I'm not a dict") with self.assertRaisesRegexp(TypeError, 'must be dict, not str'): ET.Element('a', attrib="I'm not a dict") # -------------------------------------------------------------------- class NoAcceleratorTest(unittest.TestCase): def setUp(self): if ET is not pyET: raise unittest.SkipTest('only for the Python version') # Test that the C accelerator was not imported for pyET def test_correct_import_pyET(self): # The type of methods defined in Python code is types.FunctionType, # while the type of methods defined inside _elementtree is # <class 'wrapper_descriptor'> self.assertIsInstance(pyET.Element.__init__, types.FunctionType) self.assertIsInstance(pyET.XMLParser.__init__, types.FunctionType) # -------------------------------------------------------------------- def test_main(module=None): # When invoked without a module, runs the Python ET tests by loading pyET. # Otherwise, uses the given module as the ET. if module is None: module = pyET global ET ET = module test_classes = [ ModuleTest, ElementSlicingTest, BasicElementTest, BadElementTest, BadElementPathTest, ElementTreeTest, IOTest, ParseErrorTest, XIncludeTest, ElementTreeTypeTest, ElementFindTest, ElementIterTest, TreeBuilderTest, XMLParserTest, BugsTest, ] # These tests will only run for the pure-Python version that doesn't import # _elementtree. We can't use skipUnless here, because pyET is filled in only # after the module is loaded. if pyET is not ET: test_classes.extend([ NoAcceleratorTest, ]) # Provide default namespace mapping and path cache. from xml.etree import ElementPath nsmap = pyET._namespace_map # Copy the default namespace mapping nsmap_copy = nsmap.copy() # Copy the path cache (should be empty) path_cache = ElementPath._cache ElementPath._cache = path_cache.copy() try: support.run_unittest(*test_classes) finally: from xml.etree import ElementPath # Restore mapping and path cache nsmap.clear() nsmap.update(nsmap_copy) ElementPath._cache = path_cache # don't interfere with subsequent tests ET = None if __name__ == '__main__': test_main()