Linux server19.dn-server.com 3.10.0-962.3.2.lve1.5.88.el7.x86_64 #1 SMP Fri Sep 26 14:06:42 UTC 2025 x86_64
LiteSpeed
Server IP : 46.209.20.154 & Your IP : 216.73.217.55
Domains :
Cant Read [ /etc/named.conf ]
User : emadteam
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
lib64 /
python2.7 /
test /
Delete
Unzip
Name
Size
Permission
Date
Action
capath
[ DIR ]
drwxr-xr-x
2025-12-18 21:38
cjkencodings
[ DIR ]
drwxr-xr-x
2025-12-18 21:38
data
[ DIR ]
drwxr-xr-x
2025-12-18 21:38
decimaltestdata
[ DIR ]
drwxr-xr-x
2025-12-18 21:38
subprocessdata
[ DIR ]
drwxr-xr-x
2025-12-18 21:38
tracedmodules
[ DIR ]
drwxr-xr-x
2025-12-18 21:38
xmltestdata
[ DIR ]
drwxr-xr-x
2025-12-18 21:38
185test.db
16
KB
-rw-r--r--
2025-11-12 17:54
Sine-1000Hz-300ms.aif
60.25
KB
-rw-r--r--
2025-11-12 17:54
__init__.py
47
B
-rw-r--r--
2025-11-12 17:54
__init__.pyc
124
B
-rw-r--r--
2025-11-12 17:55
__init__.pyo
124
B
-rw-r--r--
2025-11-12 17:55
allsans.pem
4.92
KB
-rw-r--r--
2025-11-12 17:54
autotest.py
211
B
-rw-r--r--
2025-11-12 17:54
autotest.pyc
198
B
-rw-r--r--
2025-11-12 17:55
autotest.pyo
198
B
-rw-r--r--
2025-11-12 17:55
bad_coding.py
24
B
-rw-r--r--
2025-11-12 17:54
bad_coding2.py
29
B
-rw-r--r--
2025-11-12 17:54
badcert.pem
1.88
KB
-rw-r--r--
2025-11-12 17:54
badkey.pem
2.11
KB
-rw-r--r--
2025-11-12 17:54
badsyntax_future3.py
172
B
-rw-r--r--
2025-11-12 17:54
badsyntax_future4.py
153
B
-rw-r--r--
2025-11-12 17:54
badsyntax_future5.py
184
B
-rw-r--r--
2025-11-12 17:54
badsyntax_future6.py
161
B
-rw-r--r--
2025-11-12 17:54
badsyntax_future7.py
196
B
-rw-r--r--
2025-11-12 17:54
badsyntax_future8.py
121
B
-rw-r--r--
2025-11-12 17:54
badsyntax_future9.py
141
B
-rw-r--r--
2025-11-12 17:54
badsyntax_nocaret.py
33
B
-rw-r--r--
2025-11-12 17:54
buffer_tests.py
10.33
KB
-rw-r--r--
2025-11-12 17:54
buffer_tests.pyc
9.91
KB
-rw-r--r--
2025-11-12 17:55
buffer_tests.pyo
9.91
KB
-rw-r--r--
2025-11-12 17:55
cfgparser.1
21
B
-rw-r--r--
2025-11-12 17:54
check_soundcard.vbs
411
B
-rw-r--r--
2025-11-12 17:54
cmath_testcases.txt
133.63
KB
-rw-r--r--
2025-11-12 17:54
curses_tests.py
1.21
KB
-rw-r--r--
2025-11-12 17:54
curses_tests.pyc
1.45
KB
-rw-r--r--
2025-11-12 17:55
curses_tests.pyo
1.45
KB
-rw-r--r--
2025-11-12 17:55
doctest_aliases.py
239
B
-rw-r--r--
2025-11-12 17:54
doctest_aliases.pyc
607
B
-rw-r--r--
2025-11-12 17:55
doctest_aliases.pyo
607
B
-rw-r--r--
2025-11-12 17:55
double_const.py
1.19
KB
-rw-r--r--
2025-11-12 17:54
double_const.pyc
755
B
-rw-r--r--
2025-11-12 17:55
double_const.pyo
687
B
-rw-r--r--
2025-11-12 17:55
empty.vbs
70
B
-rw-r--r--
2025-11-12 17:54
exception_hierarchy.txt
1.45
KB
-rw-r--r--
2025-11-12 17:54
ffdh3072.pem
2.16
KB
-rw-r--r--
2025-11-12 17:54
floating_points.txt
15.92
KB
-rw-r--r--
2025-11-12 17:54
fork_wait.py
2.24
KB
-rw-r--r--
2025-11-12 17:54
fork_wait.pyc
2.71
KB
-rw-r--r--
2025-11-12 17:55
fork_wait.pyo
2.71
KB
-rw-r--r--
2025-11-12 17:55
formatfloat_testcases.txt
7.83
KB
-rw-r--r--
2025-11-12 17:54
gdb_sample.py
156
B
-rw-r--r--
2025-11-12 17:54
gdb_sample.pyc
644
B
-rw-r--r--
2025-11-12 17:55
gdb_sample.pyo
644
B
-rw-r--r--
2025-11-12 17:55
greyrgb.uue
93.5
KB
-rw-r--r--
2025-11-12 17:54
https_svn_python_org_root.pem
2.51
KB
-rw-r--r--
2025-11-12 17:54
ieee754.txt
3.21
KB
-rw-r--r--
2025-11-12 17:54
infinite_reload.py
324
B
-rw-r--r--
2025-11-12 17:54
infinite_reload.pyc
216
B
-rw-r--r--
2025-11-12 17:55
infinite_reload.pyo
216
B
-rw-r--r--
2025-11-12 17:55
inspect_fodder.py
841
B
-rw-r--r--
2025-11-12 17:54
inspect_fodder.pyc
2.03
KB
-rw-r--r--
2025-11-12 17:55
inspect_fodder.pyo
2.03
KB
-rw-r--r--
2025-11-12 17:55
inspect_fodder2.py
1.25
KB
-rw-r--r--
2025-11-12 17:54
inspect_fodder2.pyc
4.41
KB
-rw-r--r--
2025-11-12 17:55
inspect_fodder2.pyo
4.41
KB
-rw-r--r--
2025-11-12 17:55
keycert.passwd.pem
4
KB
-rw-r--r--
2025-11-12 17:54
keycert.pem
3.96
KB
-rw-r--r--
2025-11-12 17:54
keycert2.pem
3.97
KB
-rw-r--r--
2025-11-12 17:54
keycert3.pem
9.22
KB
-rw-r--r--
2025-11-12 17:54
keycert4.pem
9.23
KB
-rw-r--r--
2025-11-12 17:54
list_tests.py
16.14
KB
-rw-r--r--
2025-11-12 17:54
list_tests.pyc
17.77
KB
-rw-r--r--
2025-11-12 17:55
list_tests.pyo
17.77
KB
-rw-r--r--
2025-11-12 17:55
lock_tests.py
14.77
KB
-rw-r--r--
2025-11-12 17:54
lock_tests.pyc
18.83
KB
-rw-r--r--
2025-11-12 17:55
lock_tests.pyo
18.83
KB
-rw-r--r--
2025-11-12 17:55
make_ssl_certs.py
6.69
KB
-rw-r--r--
2025-11-12 17:54
make_ssl_certs.pyc
6.65
KB
-rw-r--r--
2025-11-12 17:55
make_ssl_certs.pyo
6.65
KB
-rw-r--r--
2025-11-12 17:55
mapping_tests.py
22.31
KB
-rw-r--r--
2025-11-12 17:54
mapping_tests.pyc
29.08
KB
-rw-r--r--
2025-11-12 17:55
mapping_tests.pyo
29.08
KB
-rw-r--r--
2025-11-12 17:55
math_testcases.txt
15.52
KB
-rw-r--r--
2025-11-12 17:54
mp_fork_bomb.py
387
B
-rw-r--r--
2025-11-12 17:54
mp_fork_bomb.pyc
557
B
-rw-r--r--
2025-11-12 17:55
mp_fork_bomb.pyo
557
B
-rw-r--r--
2025-11-12 17:55
nokia.pem
1.88
KB
-rw-r--r--
2025-11-12 17:54
nullbytecert.pem
5.31
KB
-rw-r--r--
2025-11-12 17:54
nullcert.pem
0
B
-rw-r--r--
2025-11-12 17:54
outstanding_bugs.py
431
B
-rw-r--r--
2025-11-12 17:54
outstanding_bugs.pyc
411
B
-rw-r--r--
2025-11-12 17:55
outstanding_bugs.pyo
411
B
-rw-r--r--
2025-11-12 17:55
pickletester.py
40.65
KB
-rw-r--r--
2025-11-12 17:54
pickletester.pyc
44
KB
-rw-r--r--
2025-11-12 17:55
pickletester.pyo
43.86
KB
-rw-r--r--
2025-11-12 17:55
profilee.py
2.97
KB
-rw-r--r--
2025-11-12 17:54
profilee.pyc
2.95
KB
-rw-r--r--
2025-11-12 17:55
profilee.pyo
2.95
KB
-rw-r--r--
2025-11-12 17:55
pycacert.pem
5.52
KB
-rw-r--r--
2025-11-12 17:54
pyclbr_input.py
648
B
-rw-r--r--
2025-11-12 17:54
pyclbr_input.pyc
1.72
KB
-rw-r--r--
2025-11-12 17:55
pyclbr_input.pyo
1.72
KB
-rw-r--r--
2025-11-12 17:55
pydoc_mod.py
439
B
-rw-r--r--
2025-11-12 17:54
pydoc_mod.pyc
1.22
KB
-rw-r--r--
2025-11-12 17:55
pydoc_mod.pyo
1.22
KB
-rw-r--r--
2025-11-12 17:55
pydocfodder.py
6.18
KB
-rw-r--r--
2025-11-12 17:54
pydocfodder.pyc
15.69
KB
-rw-r--r--
2025-11-12 17:55
pydocfodder.pyo
15.69
KB
-rw-r--r--
2025-11-12 17:55
pystone.py
7.19
KB
-rwxr-xr-x
2025-11-12 17:54
pystone.pyc
7.84
KB
-rw-r--r--
2025-11-12 17:55
pystone.pyo
7.84
KB
-rw-r--r--
2025-11-12 17:55
randv2_32.pck
7.34
KB
-rw-r--r--
2025-11-12 17:54
randv2_64.pck
7.19
KB
-rw-r--r--
2025-11-12 17:54
randv3.pck
7.82
KB
-rw-r--r--
2025-11-12 17:54
re_tests.py
31.11
KB
-rwxr-xr-x
2025-11-12 17:54
re_tests.pyc
18.24
KB
-rw-r--r--
2025-11-12 17:55
re_tests.pyo
18.24
KB
-rw-r--r--
2025-11-12 17:55
recursion.tar
516
B
-rw-r--r--
2025-11-12 17:54
regrtest.py
51.36
KB
-rwxr-xr-x
2025-11-12 17:54
regrtest.pyc
43.64
KB
-rw-r--r--
2025-11-12 17:55
regrtest.pyo
43.52
KB
-rw-r--r--
2025-11-12 17:55
relimport.py
27
B
-rw-r--r--
2025-11-12 17:54
relimport.pyc
167
B
-rw-r--r--
2025-11-12 17:55
relimport.pyo
167
B
-rw-r--r--
2025-11-12 17:55
reperf.py
514
B
-rw-r--r--
2025-11-12 17:54
reperf.pyc
923
B
-rw-r--r--
2025-11-12 17:55
reperf.pyo
923
B
-rw-r--r--
2025-11-12 17:55
revocation.crl
800
B
-rw-r--r--
2025-11-12 17:54
sample_doctest.py
1.01
KB
-rw-r--r--
2025-11-12 17:54
sample_doctest.pyc
1.96
KB
-rw-r--r--
2025-11-12 17:55
sample_doctest.pyo
1.96
KB
-rw-r--r--
2025-11-12 17:55
sample_doctest_no_docstrings.py
227
B
-rw-r--r--
2025-11-12 17:54
sample_doctest_no_docstrings.pyc
512
B
-rw-r--r--
2025-11-12 17:55
sample_doctest_no_docstrings.pyo
512
B
-rw-r--r--
2025-11-12 17:55
sample_doctest_no_doctests.py
269
B
-rw-r--r--
2025-11-12 17:54
sample_doctest_no_doctests.pyc
741
B
-rw-r--r--
2025-11-12 17:55
sample_doctest_no_doctests.pyo
741
B
-rw-r--r--
2025-11-12 17:55
script_helper.py
5.66
KB
-rw-r--r--
2025-11-12 17:54
script_helper.pyc
5.65
KB
-rw-r--r--
2025-11-12 17:55
script_helper.pyo
5.66
KB
-rw-r--r--
2025-11-12 17:55
selfsigned_pythontestdotnet.pem
936
B
-rw-r--r--
2025-11-12 17:54
seq_tests.py
13.34
KB
-rw-r--r--
2025-11-12 17:54
seq_tests.pyc
18.18
KB
-rw-r--r--
2025-11-12 17:55
seq_tests.pyo
18.18
KB
-rw-r--r--
2025-11-12 17:55
sgml_input.html
8.1
KB
-rw-r--r--
2025-11-12 17:54
sha256.pem
8.15
KB
-rw-r--r--
2025-11-12 17:54
sortperf.py
4.63
KB
-rw-r--r--
2025-11-12 17:54
sortperf.pyc
4.17
KB
-rw-r--r--
2025-11-12 17:55
sortperf.pyo
4.12
KB
-rw-r--r--
2025-11-12 17:55
ssl_cert.pem
1.53
KB
-rw-r--r--
2025-11-12 17:54
ssl_key.passwd.pem
2.47
KB
-rw-r--r--
2025-11-12 17:54
ssl_key.pem
2.43
KB
-rw-r--r--
2025-11-12 17:54
ssl_servers.py
7.11
KB
-rw-r--r--
2025-11-12 17:54
ssl_servers.pyc
8.1
KB
-rw-r--r--
2025-11-12 17:55
ssl_servers.pyo
8.1
KB
-rw-r--r--
2025-11-12 17:55
string_tests.py
62.1
KB
-rw-r--r--
2025-11-12 17:54
string_tests.pyc
46.78
KB
-rw-r--r--
2025-11-12 17:55
string_tests.pyo
46.78
KB
-rw-r--r--
2025-11-12 17:55
symlink_support.py
3.18
KB
-rw-r--r--
2025-11-12 17:54
symlink_support.pyc
3.23
KB
-rw-r--r--
2025-11-12 17:55
symlink_support.pyo
3.23
KB
-rw-r--r--
2025-11-12 17:55
talos-2019-0758.pem
1.3
KB
-rw-r--r--
2025-11-12 17:54
test_MimeWriter.py
7.42
KB
-rw-r--r--
2025-11-12 17:54
test_MimeWriter.pyc
7.74
KB
-rw-r--r--
2025-11-12 17:55
test_MimeWriter.pyo
7.74
KB
-rw-r--r--
2025-11-12 17:55
test_SimpleHTTPServer.py
1.31
KB
-rw-r--r--
2025-11-12 17:54
test_SimpleHTTPServer.pyc
2.23
KB
-rw-r--r--
2025-11-12 17:55
test_SimpleHTTPServer.pyo
2.23
KB
-rw-r--r--
2025-11-12 17:55
test_StringIO.py
6.93
KB
-rw-r--r--
2025-11-12 17:54
test_StringIO.pyc
8.33
KB
-rw-r--r--
2025-11-12 17:55
test_StringIO.pyo
8.33
KB
-rw-r--r--
2025-11-12 17:55
test___all__.py
4.01
KB
-rw-r--r--
2025-11-12 17:54
test___all__.pyc
3.75
KB
-rw-r--r--
2025-11-12 17:55
test___all__.pyo
3.75
KB
-rw-r--r--
2025-11-12 17:55
test___future__.py
2.48
KB
-rw-r--r--
2025-11-12 17:54
test___future__.pyc
2.79
KB
-rw-r--r--
2025-11-12 17:55
test___future__.pyo
2.79
KB
-rw-r--r--
2025-11-12 17:55
test__locale.py
5.67
KB
-rw-r--r--
2025-11-12 17:54
test__locale.pyc
5.65
KB
-rw-r--r--
2025-11-12 17:55
test__locale.pyo
5.65
KB
-rw-r--r--
2025-11-12 17:55
test__osx_support.py
11.47
KB
-rw-r--r--
2025-11-12 17:54
test__osx_support.pyc
11
KB
-rw-r--r--
2025-11-12 17:55
test__osx_support.pyo
11
KB
-rw-r--r--
2025-11-12 17:55
test_abc.py
7.78
KB
-rw-r--r--
2025-11-12 17:54
test_abc.pyc
13.09
KB
-rw-r--r--
2025-11-12 17:55
test_abc.pyo
13.09
KB
-rw-r--r--
2025-11-12 17:55
test_abstract_numbers.py
1.65
KB
-rw-r--r--
2025-11-12 17:54
test_abstract_numbers.pyc
2.51
KB
-rw-r--r--
2025-11-12 17:55
test_abstract_numbers.pyo
2.51
KB
-rw-r--r--
2025-11-12 17:55
test_aepack.py
2.53
KB
-rw-r--r--
2025-11-12 17:54
test_aepack.pyc
3.52
KB
-rw-r--r--
2025-11-12 17:55
test_aepack.pyo
3.52
KB
-rw-r--r--
2025-11-12 17:55
test_aifc.py
5.56
KB
-rw-r--r--
2025-11-12 17:54
test_aifc.pyc
7.12
KB
-rw-r--r--
2025-11-12 17:55
test_aifc.pyo
7.12
KB
-rw-r--r--
2025-11-12 17:55
test_al.py
775
B
-rwxr-xr-x
2025-11-12 17:54
test_al.pyc
873
B
-rw-r--r--
2025-11-12 17:55
test_al.pyo
873
B
-rw-r--r--
2025-11-12 17:55
test_anydbm.py
2.23
KB
-rw-r--r--
2025-11-12 17:54
test_anydbm.pyc
3.68
KB
-rw-r--r--
2025-11-12 17:55
test_anydbm.pyo
3.68
KB
-rw-r--r--
2025-11-12 17:55
test_applesingle.py
1.77
KB
-rw-r--r--
2025-11-12 17:54
test_applesingle.pyc
2.56
KB
-rw-r--r--
2025-11-12 17:55
test_applesingle.pyo
2.56
KB
-rw-r--r--
2025-11-12 17:55
test_argparse.py
152.61
KB
-rw-r--r--
2025-11-12 17:54
test_argparse.pyc
175.78
KB
-rw-r--r--
2025-11-12 17:55
test_argparse.pyo
175.45
KB
-rw-r--r--
2025-11-12 17:55
test_array.py
36.08
KB
-rwxr-xr-x
2025-11-12 17:54
test_array.pyc
36.36
KB
-rw-r--r--
2025-11-12 17:55
test_array.pyo
36.36
KB
-rw-r--r--
2025-11-12 17:55
test_ascii_formatd.py
1.87
KB
-rw-r--r--
2025-11-12 17:54
test_ascii_formatd.pyc
2.3
KB
-rw-r--r--
2025-11-12 17:55
test_ascii_formatd.pyo
2.3
KB
-rw-r--r--
2025-11-12 17:55
test_ast.py
24.18
KB
-rw-r--r--
2025-11-12 17:54
test_ast.pyc
22.9
KB
-rw-r--r--
2025-11-12 17:55
test_ast.pyo
22.9
KB
-rw-r--r--
2025-11-12 17:55
test_asynchat.py
8.99
KB
-rw-r--r--
2025-11-12 17:54
test_asynchat.pyc
10.7
KB
-rw-r--r--
2025-11-12 17:55
test_asynchat.pyo
10.7
KB
-rw-r--r--
2025-11-12 17:55
test_asyncore.py
22.44
KB
-rw-r--r--
2025-11-12 17:54
test_asyncore.pyc
29.09
KB
-rw-r--r--
2025-11-12 17:55
test_asyncore.pyo
29.09
KB
-rw-r--r--
2025-11-12 17:55
test_atexit.py
2.12
KB
-rw-r--r--
2025-11-12 17:54
test_atexit.pyc
3.97
KB
-rw-r--r--
2025-11-12 17:55
test_atexit.pyo
3.97
KB
-rw-r--r--
2025-11-12 17:55
test_audioop.py
17.63
KB
-rw-r--r--
2025-11-12 17:54
test_audioop.pyc
18.45
KB
-rw-r--r--
2025-11-12 17:55
test_audioop.pyo
18.45
KB
-rw-r--r--
2025-11-12 17:55
test_augassign.py
7.99
KB
-rw-r--r--
2025-11-12 17:54
test_augassign.pyc
13.42
KB
-rw-r--r--
2025-11-12 17:55
test_augassign.pyo
13.42
KB
-rw-r--r--
2025-11-12 17:55
test_base64.py
9.17
KB
-rw-r--r--
2025-11-12 17:54
test_base64.pyc
8.2
KB
-rw-r--r--
2025-11-12 17:55
test_base64.pyo
8.2
KB
-rw-r--r--
2025-11-12 17:55
test_bastion.py
38
B
-rw-r--r--
2025-11-12 17:54
test_bastion.pyc
128
B
-rw-r--r--
2025-11-12 17:55
test_bastion.pyo
128
B
-rw-r--r--
2025-11-12 17:55
test_bigaddrspace.py
1.27
KB
-rw-r--r--
2025-11-12 17:54
test_bigaddrspace.pyc
1.53
KB
-rw-r--r--
2025-11-12 17:55
test_bigaddrspace.pyo
1.53
KB
-rw-r--r--
2025-11-12 17:55
test_bigmem.py
37.26
KB
-rw-r--r--
2025-11-12 17:54
test_bigmem.pyc
37.13
KB
-rw-r--r--
2025-11-12 17:55
test_bigmem.pyo
37.13
KB
-rw-r--r--
2025-11-12 17:55
test_binascii.py
8.43
KB
-rw-r--r--
2025-11-12 17:54
test_binascii.pyc
8.57
KB
-rw-r--r--
2025-11-12 17:55
test_binascii.pyo
8.57
KB
-rw-r--r--
2025-11-12 17:55
test_binhex.py
1
KB
-rwxr-xr-x
2025-11-12 17:54
test_binhex.pyc
1.77
KB
-rw-r--r--
2025-11-12 17:55
test_binhex.pyo
1.77
KB
-rw-r--r--
2025-11-12 17:55
test_binop.py
10.49
KB
-rw-r--r--
2025-11-12 17:54
test_binop.pyc
12.93
KB
-rw-r--r--
2025-11-12 17:55
test_binop.pyo
12.93
KB
-rw-r--r--
2025-11-12 17:55
test_bisect.py
14.45
KB
-rw-r--r--
2025-11-12 17:54
test_bisect.pyc
15.45
KB
-rw-r--r--
2025-11-12 17:55
test_bisect.pyo
15.45
KB
-rw-r--r--
2025-11-12 17:55
test_bool.py
13.8
KB
-rw-r--r--
2025-11-12 17:54
test_bool.pyc
14.12
KB
-rw-r--r--
2025-11-12 17:55
test_bool.pyo
14.12
KB
-rw-r--r--
2025-11-12 17:55
test_bsddb.py
11.4
KB
-rwxr-xr-x
2025-11-12 17:54
test_bsddb.pyc
13.05
KB
-rw-r--r--
2025-11-12 17:55
test_bsddb.pyo
13.05
KB
-rw-r--r--
2025-11-12 17:55
test_bsddb185.py
1.23
KB
-rw-r--r--
2025-11-12 17:54
test_bsddb185.pyc
1.91
KB
-rw-r--r--
2025-11-12 17:55
test_bsddb185.pyo
1.91
KB
-rw-r--r--
2025-11-12 17:55
test_bsddb3.py
2.71
KB
-rw-r--r--
2025-11-12 17:54
test_bsddb3.pyc
2.22
KB
-rw-r--r--
2025-11-12 17:55
test_bsddb3.pyo
2.22
KB
-rw-r--r--
2025-11-12 17:55
test_buffer.py
1.42
KB
-rw-r--r--
2025-11-12 17:54
test_buffer.pyc
2.34
KB
-rw-r--r--
2025-11-12 17:55
test_buffer.pyo
2.34
KB
-rw-r--r--
2025-11-12 17:55
test_bufio.py
2.69
KB
-rw-r--r--
2025-11-12 17:54
test_bufio.pyc
2.7
KB
-rw-r--r--
2025-11-12 17:55
test_bufio.pyo
2.7
KB
-rw-r--r--
2025-11-12 17:55
test_builtin.py
60.47
KB
-rw-r--r--
2025-11-12 17:54
test_builtin.pyc
74.76
KB
-rw-r--r--
2025-11-12 17:55
test_builtin.pyo
74.76
KB
-rw-r--r--
2025-11-12 17:55
test_bytes.py
42.7
KB
-rw-r--r--
2025-11-12 17:54
test_bytes.pyc
49.16
KB
-rw-r--r--
2025-11-12 17:55
test_bytes.pyo
49.16
KB
-rw-r--r--
2025-11-12 17:55
test_bz2.py
18.94
KB
-rw-r--r--
2025-11-12 17:54
test_bz2.pyc
19.56
KB
-rw-r--r--
2025-11-12 17:55
test_bz2.pyo
19.56
KB
-rw-r--r--
2025-11-12 17:55
test_calendar.py
28.17
KB
-rw-r--r--
2025-11-12 17:54
test_calendar.pyc
29.22
KB
-rw-r--r--
2025-11-12 17:55
test_calendar.pyo
29.22
KB
-rw-r--r--
2025-11-12 17:55
test_call.py
3.21
KB
-rw-r--r--
2025-11-12 17:54
test_call.pyc
6.08
KB
-rw-r--r--
2025-11-12 17:55
test_call.pyo
6.08
KB
-rw-r--r--
2025-11-12 17:55
test_capi.py
4.55
KB
-rw-r--r--
2025-11-12 17:54
test_capi.pyc
4.7
KB
-rw-r--r--
2025-11-12 17:55
test_capi.pyo
4.7
KB
-rw-r--r--
2025-11-12 17:55
test_cd.py
934
B
-rwxr-xr-x
2025-11-12 17:54
test_cd.pyc
1007
B
-rw-r--r--
2025-11-12 17:55
test_cd.pyo
1007
B
-rw-r--r--
2025-11-12 17:55
test_cfgparser.py
27.09
KB
-rw-r--r--
2025-11-12 17:54
test_cfgparser.pyc
27.04
KB
-rw-r--r--
2025-11-12 17:55
test_cfgparser.pyo
27.04
KB
-rw-r--r--
2025-11-12 17:55
test_cgi.py
14.06
KB
-rw-r--r--
2025-11-12 17:54
test_cgi.pyc
14.64
KB
-rw-r--r--
2025-11-12 17:55
test_cgi.pyo
14.64
KB
-rw-r--r--
2025-11-12 17:55
test_charmapcodec.py
1.8
KB
-rw-r--r--
2025-11-12 17:54
test_charmapcodec.pyc
2.62
KB
-rw-r--r--
2025-11-12 17:55
test_charmapcodec.pyo
2.62
KB
-rw-r--r--
2025-11-12 17:55
test_cl.py
3.91
KB
-rwxr-xr-x
2025-11-12 17:54
test_cl.pyc
4.89
KB
-rw-r--r--
2025-11-12 17:55
test_cl.pyo
4.89
KB
-rw-r--r--
2025-11-12 17:55
test_class.py
17.94
KB
-rw-r--r--
2025-11-12 17:54
test_class.pyc
18.53
KB
-rw-r--r--
2025-11-12 17:55
test_class.pyo
18.53
KB
-rw-r--r--
2025-11-12 17:55
test_cmath.py
18.2
KB
-rw-r--r--
2025-11-12 17:54
test_cmath.pyc
18.06
KB
-rw-r--r--
2025-11-12 17:55
test_cmath.pyo
18.06
KB
-rw-r--r--
2025-11-12 17:55
test_cmd.py
6.17
KB
-rw-r--r--
2025-11-12 17:54
test_cmd.pyc
8.19
KB
-rw-r--r--
2025-11-12 17:55
test_cmd.pyo
8.19
KB
-rw-r--r--
2025-11-12 17:55
test_cmd_line.py
5.15
KB
-rw-r--r--
2025-11-12 17:54
test_cmd_line.pyc
5.43
KB
-rw-r--r--
2025-11-12 17:55
test_cmd_line.pyo
5.43
KB
-rw-r--r--
2025-11-12 17:55
test_cmd_line_script.py
9.35
KB
-rw-r--r--
2025-11-12 17:54
test_cmd_line_script.pyc
9.38
KB
-rw-r--r--
2025-11-12 17:55
test_cmd_line_script.pyo
9.38
KB
-rw-r--r--
2025-11-12 17:55
test_code.py
3.13
KB
-rw-r--r--
2025-11-12 17:54
test_code.pyc
3.92
KB
-rw-r--r--
2025-11-12 17:55
test_code.pyo
3.92
KB
-rw-r--r--
2025-11-12 17:55
test_codeccallbacks.py
30.48
KB
-rw-r--r--
2025-11-12 17:54
test_codeccallbacks.pyc
26.14
KB
-rw-r--r--
2025-11-12 17:55
test_codeccallbacks.pyo
26.14
KB
-rw-r--r--
2025-11-12 17:55
test_codecencodings_cn.py
3.08
KB
-rw-r--r--
2025-11-12 17:54
test_codecencodings_cn.pyc
3.67
KB
-rw-r--r--
2025-11-12 17:55
test_codecencodings_cn.pyo
3.67
KB
-rw-r--r--
2025-11-12 17:55
test_codecencodings_hk.py
809
B
-rw-r--r--
2025-11-12 17:54
test_codecencodings_hk.pyc
1.16
KB
-rw-r--r--
2025-11-12 17:55
test_codecencodings_hk.pyo
1.16
KB
-rw-r--r--
2025-11-12 17:55
test_codecencodings_iso2022.py
1.43
KB
-rw-r--r--
2025-11-12 17:54
test_codecencodings_iso2022.pyc
2.16
KB
-rw-r--r--
2025-11-12 17:55
test_codecencodings_iso2022.pyo
2.16
KB
-rw-r--r--
2025-11-12 17:55
test_codecencodings_jp.py
3.85
KB
-rw-r--r--
2025-11-12 17:54
test_codecencodings_jp.pyc
4.57
KB
-rw-r--r--
2025-11-12 17:55
test_codecencodings_jp.pyo
4.57
KB
-rw-r--r--
2025-11-12 17:55
test_codecencodings_kr.py
2.69
KB
-rw-r--r--
2025-11-12 17:54
test_codecencodings_kr.pyc
3.04
KB
-rw-r--r--
2025-11-12 17:55
test_codecencodings_kr.pyo
3.04
KB
-rw-r--r--
2025-11-12 17:55
test_codecencodings_tw.py
789
B
-rw-r--r--
2025-11-12 17:54
test_codecencodings_tw.pyc
1.15
KB
-rw-r--r--
2025-11-12 17:55
test_codecencodings_tw.pyo
1.15
KB
-rw-r--r--
2025-11-12 17:55
test_codecmaps_cn.py
983
B
-rw-r--r--
2025-11-12 17:54
test_codecmaps_cn.pyc
1.43
KB
-rw-r--r--
2025-11-12 17:55
test_codecmaps_cn.pyo
1.43
KB
-rw-r--r--
2025-11-12 17:55
test_codecmaps_hk.py
553
B
-rw-r--r--
2025-11-12 17:54
test_codecmaps_hk.pyc
912
B
-rw-r--r--
2025-11-12 17:55
test_codecmaps_hk.pyo
912
B
-rw-r--r--
2025-11-12 17:55
test_codecmaps_jp.py
1.94
KB
-rw-r--r--
2025-11-12 17:54
test_codecmaps_jp.pyc
2.64
KB
-rw-r--r--
2025-11-12 17:55
test_codecmaps_jp.pyo
2.64
KB
-rw-r--r--
2025-11-12 17:55
test_codecmaps_kr.py
1.39
KB
-rw-r--r--
2025-11-12 17:54
test_codecmaps_kr.pyc
1.61
KB
-rw-r--r--
2025-11-12 17:55
test_codecmaps_kr.pyo
1.61
KB
-rw-r--r--
2025-11-12 17:55
test_codecmaps_tw.py
858
B
-rw-r--r--
2025-11-12 17:54
test_codecmaps_tw.pyc
1.24
KB
-rw-r--r--
2025-11-12 17:55
test_codecmaps_tw.pyo
1.24
KB
-rw-r--r--
2025-11-12 17:55
test_codecs.py
72.53
KB
-rw-r--r--
2025-11-12 17:54
test_codecs.pyc
62.91
KB
-rw-r--r--
2025-11-12 17:55
test_codecs.pyo
62.91
KB
-rw-r--r--
2025-11-12 17:55
test_codeop.py
7.47
KB
-rw-r--r--
2025-11-12 17:54
test_codeop.pyc
7.92
KB
-rw-r--r--
2025-11-12 17:55
test_codeop.pyo
7.92
KB
-rw-r--r--
2025-11-12 17:55
test_coding.py
1.18
KB
-rw-r--r--
2025-11-12 17:54
test_coding.pyc
2.01
KB
-rw-r--r--
2025-11-12 17:55
test_coding.pyo
2.01
KB
-rw-r--r--
2025-11-12 17:55
test_coercion.py
11.13
KB
-rw-r--r--
2025-11-12 17:54
test_coercion.pyc
15.63
KB
-rw-r--r--
2025-11-12 17:55
test_coercion.pyo
15.63
KB
-rw-r--r--
2025-11-12 17:55
test_collections.py
42.49
KB
-rw-r--r--
2025-11-12 17:54
test_collections.pyc
49.74
KB
-rw-r--r--
2025-11-12 17:55
test_collections.pyo
49.74
KB
-rw-r--r--
2025-11-12 17:55
test_colorsys.py
2.78
KB
-rw-r--r--
2025-11-12 17:54
test_colorsys.pyc
3.78
KB
-rw-r--r--
2025-11-12 17:55
test_colorsys.pyo
3.78
KB
-rw-r--r--
2025-11-12 17:55
test_commands.py
2.58
KB
-rw-r--r--
2025-11-12 17:54
test_commands.pyc
2.25
KB
-rw-r--r--
2025-11-12 17:55
test_commands.pyo
2.25
KB
-rw-r--r--
2025-11-12 17:55
test_compare.py
1.45
KB
-rw-r--r--
2025-11-12 17:54
test_compare.pyc
3.22
KB
-rw-r--r--
2025-11-12 17:55
test_compare.pyo
3.22
KB
-rw-r--r--
2025-11-12 17:55
test_compile.py
18.31
KB
-rw-r--r--
2025-11-12 17:54
test_compile.pyc
20
KB
-rw-r--r--
2025-11-12 17:55
test_compile.pyo
20
KB
-rw-r--r--
2025-11-12 17:55
test_compileall.py
2.66
KB
-rw-r--r--
2025-11-12 17:54
test_compileall.pyc
3.57
KB
-rw-r--r--
2025-11-12 17:55
test_compileall.pyo
3.57
KB
-rw-r--r--
2025-11-12 17:55
test_compiler.py
10.97
KB
-rw-r--r--
2025-11-12 17:54
test_compiler.pyc
12.67
KB
-rw-r--r--
2025-11-12 17:55
test_compiler.pyo
12.67
KB
-rw-r--r--
2025-11-12 17:55
test_complex.py
26.94
KB
-rw-r--r--
2025-11-12 17:54
test_complex.pyc
33.53
KB
-rw-r--r--
2025-11-12 17:55
test_complex.pyo
33.53
KB
-rw-r--r--
2025-11-12 17:55
test_complex_args.py
3.42
KB
-rw-r--r--
2025-11-12 17:54
test_complex_args.pyc
4.83
KB
-rw-r--r--
2025-11-12 17:55
test_complex_args.pyo
4.83
KB
-rw-r--r--
2025-11-12 17:55
test_contains.py
3.08
KB
-rw-r--r--
2025-11-12 17:54
test_contains.pyc
4.89
KB
-rw-r--r--
2025-11-12 17:55
test_contains.pyo
4.89
KB
-rw-r--r--
2025-11-12 17:55
test_contextlib.py
8.89
KB
-rw-r--r--
2025-11-12 17:54
test_contextlib.pyc
14.11
KB
-rw-r--r--
2025-11-12 17:55
test_contextlib.pyo
14.11
KB
-rw-r--r--
2025-11-12 17:55
test_cookie.py
4.85
KB
-rw-r--r--
2025-11-12 17:54
test_cookie.pyc
5.41
KB
-rw-r--r--
2025-11-12 17:55
test_cookie.pyo
5.41
KB
-rw-r--r--
2025-11-12 17:55
test_cookielib.py
71.54
KB
-rw-r--r--
2025-11-12 17:54
test_cookielib.pyc
49.41
KB
-rw-r--r--
2025-11-12 17:55
test_cookielib.pyo
49.41
KB
-rw-r--r--
2025-11-12 17:55
test_copy.py
21.07
KB
-rw-r--r--
2025-11-12 17:54
test_copy.pyc
39.84
KB
-rw-r--r--
2025-11-12 17:55
test_copy.pyo
39.84
KB
-rw-r--r--
2025-11-12 17:55
test_copy_reg.py
4.16
KB
-rw-r--r--
2025-11-12 17:54
test_copy_reg.pyc
4.43
KB
-rw-r--r--
2025-11-12 17:55
test_copy_reg.pyo
4.43
KB
-rw-r--r--
2025-11-12 17:55
test_cpickle.py
6.07
KB
-rw-r--r--
2025-11-12 17:54
test_cpickle.pyc
9.75
KB
-rw-r--r--
2025-11-12 17:55
test_cpickle.pyo
9.75
KB
-rw-r--r--
2025-11-12 17:55
test_cprofile.py
6.93
KB
-rw-r--r--
2025-11-12 17:54
test_cprofile.pyc
7.45
KB
-rw-r--r--
2025-11-12 17:55
test_cprofile.pyo
7.45
KB
-rw-r--r--
2025-11-12 17:55
test_crypt.py
1.13
KB
-rw-r--r--
2025-11-12 17:54
test_crypt.pyc
1.88
KB
-rw-r--r--
2025-11-12 17:55
test_crypt.pyo
1.88
KB
-rw-r--r--
2025-11-12 17:55
test_csv.py
39.94
KB
-rw-r--r--
2025-11-12 17:54
test_csv.pyc
42.81
KB
-rw-r--r--
2025-11-12 17:55
test_csv.pyo
42.81
KB
-rw-r--r--
2025-11-12 17:55
test_ctypes.py
418
B
-rw-r--r--
2025-11-12 17:54
test_ctypes.pyc
743
B
-rw-r--r--
2025-11-12 17:55
test_ctypes.pyo
743
B
-rw-r--r--
2025-11-12 17:55
test_curses.py
8.69
KB
-rw-r--r--
2025-11-12 17:54
test_curses.pyc
8.45
KB
-rw-r--r--
2025-11-12 17:55
test_curses.pyo
8.45
KB
-rw-r--r--
2025-11-12 17:55
test_datetime.py
131.76
KB
-rw-r--r--
2025-11-12 17:54
test_datetime.pyc
124.3
KB
-rw-r--r--
2025-11-12 17:55
test_datetime.pyo
123.98
KB
-rw-r--r--
2025-11-12 17:55
test_dbm.py
1.24
KB
-rw-r--r--
2025-11-12 17:54
test_dbm.pyc
2.43
KB
-rw-r--r--
2025-11-12 17:55
test_dbm.pyo
2.43
KB
-rw-r--r--
2025-11-12 17:55
test_decimal.py
81.9
KB
-rw-r--r--
2025-11-12 17:54
test_decimal.pyc
79.09
KB
-rw-r--r--
2025-11-12 17:55
test_decimal.pyo
79.09
KB
-rw-r--r--
2025-11-12 17:55
test_decorators.py
9.62
KB
-rw-r--r--
2025-11-12 17:54
test_decorators.pyc
14.21
KB
-rw-r--r--
2025-11-12 17:55
test_decorators.pyo
14.14
KB
-rw-r--r--
2025-11-12 17:55
test_defaultdict.py
5.69
KB
-rw-r--r--
2025-11-12 17:54
test_defaultdict.pyc
6.49
KB
-rw-r--r--
2025-11-12 17:55
test_defaultdict.pyo
6.49
KB
-rw-r--r--
2025-11-12 17:55
test_deque.py
24.74
KB
-rw-r--r--
2025-11-12 17:54
test_deque.pyc
27.99
KB
-rw-r--r--
2025-11-12 17:55
test_deque.pyo
27.95
KB
-rw-r--r--
2025-11-12 17:55
test_descr.py
156.56
KB
-rw-r--r--
2025-11-12 17:54
test_descr.pyc
200.03
KB
-rw-r--r--
2025-11-12 17:55
test_descr.pyo
199.95
KB
-rw-r--r--
2025-11-12 17:55
test_descrtut.py
11.77
KB
-rw-r--r--
2025-11-12 17:54
test_descrtut.pyc
13.09
KB
-rw-r--r--
2025-11-12 17:55
test_descrtut.pyo
13.09
KB
-rw-r--r--
2025-11-12 17:55
test_dict.py
20.71
KB
-rw-r--r--
2025-11-12 17:54
test_dict.pyc
29.18
KB
-rw-r--r--
2025-11-12 17:55
test_dict.pyo
29.18
KB
-rw-r--r--
2025-11-12 17:55
test_dictcomps.py
3.76
KB
-rw-r--r--
2025-11-12 17:54
test_dictcomps.pyc
5.81
KB
-rw-r--r--
2025-11-12 17:55
test_dictcomps.pyo
5.81
KB
-rw-r--r--
2025-11-12 17:55
test_dictviews.py
6.36
KB
-rw-r--r--
2025-11-12 17:54
test_dictviews.pyc
6.52
KB
-rw-r--r--
2025-11-12 17:55
test_dictviews.pyo
6.52
KB
-rw-r--r--
2025-11-12 17:55
test_difflib.py
10.9
KB
-rw-r--r--
2025-11-12 17:54
test_difflib.pyc
12.67
KB
-rw-r--r--
2025-11-12 17:55
test_difflib.pyo
12.67
KB
-rw-r--r--
2025-11-12 17:55
test_difflib_expect.html
100.86
KB
-rw-r--r--
2025-11-12 17:54
test_dircache.py
2.35
KB
-rw-r--r--
2025-11-12 17:54
test_dircache.pyc
2.94
KB
-rw-r--r--
2025-11-12 17:55
test_dircache.pyo
2.94
KB
-rw-r--r--
2025-11-12 17:55
test_dis.py
4.48
KB
-rw-r--r--
2025-11-12 17:54
test_dis.pyc
5.54
KB
-rw-r--r--
2025-11-12 17:55
test_dis.pyo
5.43
KB
-rw-r--r--
2025-11-12 17:55
test_distutils.py
385
B
-rw-r--r--
2025-11-12 17:54
test_distutils.pyc
724
B
-rw-r--r--
2025-11-12 17:55
test_distutils.pyo
724
B
-rw-r--r--
2025-11-12 17:55
test_dl.py
1.12
KB
-rwxr-xr-x
2025-11-12 17:54
test_dl.pyc
1.39
KB
-rw-r--r--
2025-11-12 17:55
test_dl.pyo
1.39
KB
-rw-r--r--
2025-11-12 17:55
test_doctest.py
82.72
KB
-rw-r--r--
2025-11-12 17:54
test_doctest.pyc
86.7
KB
-rw-r--r--
2025-11-12 17:55
test_doctest.pyo
86.64
KB
-rw-r--r--
2025-11-12 17:55
test_doctest.txt
296
B
-rw-r--r--
2025-11-12 17:54
test_doctest2.py
2.33
KB
-rw-r--r--
2025-11-12 17:54
test_doctest2.pyc
3.55
KB
-rw-r--r--
2025-11-12 17:55
test_doctest2.pyo
3.55
KB
-rw-r--r--
2025-11-12 17:55
test_doctest2.txt
392
B
-rw-r--r--
2025-11-12 17:54
test_doctest3.txt
81
B
-rw-r--r--
2025-11-12 17:54
test_doctest4.txt
314
B
-rw-r--r--
2025-11-12 17:54
test_docxmlrpc.py
8.31
KB
-rw-r--r--
2025-11-12 17:54
test_docxmlrpc.pyc
9.37
KB
-rw-r--r--
2025-11-12 17:55
test_docxmlrpc.pyo
9.37
KB
-rw-r--r--
2025-11-12 17:55
test_dumbdbm.py
4.73
KB
-rw-r--r--
2025-11-12 17:54
test_dumbdbm.pyc
5.95
KB
-rw-r--r--
2025-11-12 17:55
test_dumbdbm.pyo
5.95
KB
-rw-r--r--
2025-11-12 17:55
test_dummy_thread.py
7.01
KB
-rw-r--r--
2025-11-12 17:54
test_dummy_thread.pyc
7.84
KB
-rw-r--r--
2025-11-12 17:55
test_dummy_thread.pyo
7.84
KB
-rw-r--r--
2025-11-12 17:55
test_dummy_threading.py
1.8
KB
-rw-r--r--
2025-11-12 17:54
test_dummy_threading.pyc
2.26
KB
-rw-r--r--
2025-11-12 17:55
test_dummy_threading.pyo
2.26
KB
-rw-r--r--
2025-11-12 17:55
test_email.py
398
B
-rw-r--r--
2025-11-12 17:54
test_email.pyc
565
B
-rw-r--r--
2025-11-12 17:55
test_email.pyo
565
B
-rw-r--r--
2025-11-12 17:55
test_email_codecs.py
462
B
-rw-r--r--
2025-11-12 17:54
test_email_codecs.pyc
616
B
-rw-r--r--
2025-11-12 17:55
test_email_codecs.pyo
616
B
-rw-r--r--
2025-11-12 17:55
test_email_renamed.py
308
B
-rw-r--r--
2025-11-12 17:54
test_email_renamed.pyc
503
B
-rw-r--r--
2025-11-12 17:55
test_email_renamed.pyo
503
B
-rw-r--r--
2025-11-12 17:55
test_enumerate.py
7.34
KB
-rw-r--r--
2025-11-12 17:54
test_enumerate.pyc
14.53
KB
-rw-r--r--
2025-11-12 17:55
test_enumerate.pyo
14.53
KB
-rw-r--r--
2025-11-12 17:55
test_eof.py
894
B
-rw-r--r--
2025-11-12 17:54
test_eof.pyc
1.43
KB
-rw-r--r--
2025-11-12 17:55
test_eof.pyo
1.43
KB
-rw-r--r--
2025-11-12 17:55
test_epoll.py
7.32
KB
-rw-r--r--
2025-11-12 17:54
test_epoll.pyc
6.13
KB
-rw-r--r--
2025-11-12 17:55
test_epoll.pyo
6.13
KB
-rw-r--r--
2025-11-12 17:55
test_errno.py
1.16
KB
-rwxr-xr-x
2025-11-12 17:54
test_errno.pyc
1.88
KB
-rw-r--r--
2025-11-12 17:55
test_errno.pyo
1.88
KB
-rw-r--r--
2025-11-12 17:55
test_exception_variations.py
3.95
KB
-rw-r--r--
2025-11-12 17:54
test_exception_variations.pyc
4.14
KB
-rw-r--r--
2025-11-12 17:55
test_exception_variations.pyo
4.14
KB
-rw-r--r--
2025-11-12 17:55
test_exceptions.py
25.41
KB
-rw-r--r--
2025-11-12 17:54
test_exceptions.pyc
22.66
KB
-rw-r--r--
2025-11-12 17:55
test_exceptions.pyo
22.62
KB
-rw-r--r--
2025-11-12 17:55
test_extcall.py
7.52
KB
-rw-r--r--
2025-11-12 17:54
test_extcall.pyc
8.15
KB
-rw-r--r--
2025-11-12 17:55
test_extcall.pyo
8.15
KB
-rw-r--r--
2025-11-12 17:55
test_fcntl.py
4.19
KB
-rw-r--r--
2025-11-12 17:54
test_fcntl.pyc
4.74
KB
-rw-r--r--
2025-11-12 17:55
test_fcntl.pyo
4.74
KB
-rw-r--r--
2025-11-12 17:55
test_file.py
11.92
KB
-rw-r--r--
2025-11-12 17:54
test_file.pyc
11.49
KB
-rw-r--r--
2025-11-12 17:55
test_file.pyo
11.4
KB
-rw-r--r--
2025-11-12 17:55
test_file2k.py
30.77
KB
-rw-r--r--
2025-11-12 17:54
test_file2k.pyc
31.24
KB
-rw-r--r--
2025-11-12 17:55
test_file2k.pyo
31.06
KB
-rw-r--r--
2025-11-12 17:55
test_file_eintr.py
10.23
KB
-rw-r--r--
2025-11-12 17:54
test_file_eintr.pyc
8.59
KB
-rw-r--r--
2025-11-12 17:55
test_file_eintr.pyo
8.5
KB
-rw-r--r--
2025-11-12 17:55
test_filecmp.py
5.27
KB
-rw-r--r--
2025-11-12 17:54
test_filecmp.pyc
5.17
KB
-rw-r--r--
2025-11-12 17:55
test_filecmp.pyo
5.17
KB
-rw-r--r--
2025-11-12 17:55
test_fileinput.py
7.77
KB
-rw-r--r--
2025-11-12 17:54
test_fileinput.pyc
7.87
KB
-rw-r--r--
2025-11-12 17:55
test_fileinput.pyo
7.87
KB
-rw-r--r--
2025-11-12 17:55
test_fileio.py
15.14
KB
-rw-r--r--
2025-11-12 17:54
test_fileio.pyc
17.62
KB
-rw-r--r--
2025-11-12 17:55
test_fileio.pyo
17.62
KB
-rw-r--r--
2025-11-12 17:55
test_float.py
60.81
KB
-rw-r--r--
2025-11-12 17:54
test_float.pyc
47.87
KB
-rw-r--r--
2025-11-12 17:55
test_float.pyo
47.87
KB
-rw-r--r--
2025-11-12 17:55
test_fnmatch.py
2.07
KB
-rw-r--r--
2025-11-12 17:54
test_fnmatch.pyc
2.57
KB
-rw-r--r--
2025-11-12 17:55
test_fnmatch.pyo
2.57
KB
-rw-r--r--
2025-11-12 17:55
test_fork1.py
2.16
KB
-rw-r--r--
2025-11-12 17:54
test_fork1.pyc
2.41
KB
-rw-r--r--
2025-11-12 17:55
test_fork1.pyo
2.41
KB
-rw-r--r--
2025-11-12 17:55
test_format.py
13.7
KB
-rw-r--r--
2025-11-12 17:54
test_format.pyc
10.41
KB
-rw-r--r--
2025-11-12 17:55
test_format.pyo
10.41
KB
-rw-r--r--
2025-11-12 17:55
test_fpformat.py
2.25
KB
-rw-r--r--
2025-11-12 17:54
test_fpformat.pyc
2.79
KB
-rw-r--r--
2025-11-12 17:55
test_fpformat.pyo
2.79
KB
-rw-r--r--
2025-11-12 17:55
test_fractions.py
23.94
KB
-rw-r--r--
2025-11-12 17:54
test_fractions.pyc
26.32
KB
-rw-r--r--
2025-11-12 17:55
test_fractions.pyo
26.08
KB
-rw-r--r--
2025-11-12 17:55
test_frozen.py
1.21
KB
-rw-r--r--
2025-11-12 17:54
test_frozen.pyc
1.54
KB
-rw-r--r--
2025-11-12 17:55
test_frozen.pyo
1.54
KB
-rw-r--r--
2025-11-12 17:55
test_ftplib.py
25.24
KB
-rw-r--r--
2025-11-12 17:54
test_ftplib.pyc
34.13
KB
-rw-r--r--
2025-11-12 17:55
test_ftplib.pyo
34.07
KB
-rw-r--r--
2025-11-12 17:55
test_funcattrs.py
12.45
KB
-rw-r--r--
2025-11-12 17:54
test_funcattrs.pyc
14.92
KB
-rw-r--r--
2025-11-12 17:55
test_funcattrs.pyo
14.92
KB
-rw-r--r--
2025-11-12 17:55
test_functools.py
16.58
KB
-rw-r--r--
2025-11-12 17:54
test_functools.pyc
25.7
KB
-rw-r--r--
2025-11-12 17:55
test_functools.pyo
25.7
KB
-rw-r--r--
2025-11-12 17:55
test_future.py
3.77
KB
-rw-r--r--
2025-11-12 17:54
test_future.pyc
5.26
KB
-rw-r--r--
2025-11-12 17:55
test_future.pyo
5.26
KB
-rw-r--r--
2025-11-12 17:55
test_future1.py
229
B
-rw-r--r--
2025-11-12 17:54
test_future1.pyc
577
B
-rw-r--r--
2025-11-12 17:55
test_future1.pyo
577
B
-rw-r--r--
2025-11-12 17:55
test_future2.py
151
B
-rw-r--r--
2025-11-12 17:54
test_future2.pyc
591
B
-rw-r--r--
2025-11-12 17:55
test_future2.pyo
591
B
-rw-r--r--
2025-11-12 17:55
test_future3.py
576
B
-rw-r--r--
2025-11-12 17:54
test_future3.pyc
1.65
KB
-rw-r--r--
2025-11-12 17:55
test_future3.pyo
1.65
KB
-rw-r--r--
2025-11-12 17:55
test_future4.py
1.48
KB
-rw-r--r--
2025-11-12 17:54
test_future4.pyc
1.63
KB
-rw-r--r--
2025-11-12 17:55
test_future4.pyo
1.63
KB
-rw-r--r--
2025-11-12 17:55
test_future5.py
543
B
-rw-r--r--
2025-11-12 17:54
test_future5.pyc
1.25
KB
-rw-r--r--
2025-11-12 17:55
test_future5.pyo
1.25
KB
-rw-r--r--
2025-11-12 17:55
test_future_builtins.py
1.29
KB
-rw-r--r--
2025-11-12 17:54
test_future_builtins.pyc
1.92
KB
-rw-r--r--
2025-11-12 17:55
test_future_builtins.pyo
1.92
KB
-rw-r--r--
2025-11-12 17:55
test_gc.py
24.02
KB
-rw-r--r--
2025-11-12 17:54
test_gc.pyc
22.11
KB
-rw-r--r--
2025-11-12 17:55
test_gc.pyo
22.05
KB
-rw-r--r--
2025-11-12 17:55
test_gdb.py
32.45
KB
-rw-r--r--
2025-11-12 17:54
test_gdb.pyc
28.07
KB
-rw-r--r--
2025-11-12 17:55
test_gdb.pyo
28.07
KB
-rw-r--r--
2025-11-12 17:55
test_gdbm.py
2.48
KB
-rw-r--r--
2025-11-12 17:54
test_gdbm.pyc
3.45
KB
-rw-r--r--
2025-11-12 17:55
test_gdbm.pyo
3.45
KB
-rw-r--r--
2025-11-12 17:55
test_generators.py
49.58
KB
-rw-r--r--
2025-11-12 17:54
test_generators.pyc
45.06
KB
-rw-r--r--
2025-11-12 17:55
test_generators.pyo
44.4
KB
-rw-r--r--
2025-11-12 17:55
test_genericpath.py
8.97
KB
-rw-r--r--
2025-11-12 17:54
test_genericpath.pyc
8.94
KB
-rw-r--r--
2025-11-12 17:55
test_genericpath.pyo
8.94
KB
-rw-r--r--
2025-11-12 17:55
test_genexps.py
7.23
KB
-rw-r--r--
2025-11-12 17:54
test_genexps.pyc
7.47
KB
-rw-r--r--
2025-11-12 17:55
test_genexps.pyo
7.47
KB
-rw-r--r--
2025-11-12 17:55
test_getargs.py
938
B
-rw-r--r--
2025-11-12 17:54
test_getargs.pyc
1.15
KB
-rw-r--r--
2025-11-12 17:55
test_getargs.pyo
1.15
KB
-rw-r--r--
2025-11-12 17:55
test_getargs2.py
11.92
KB
-rw-r--r--
2025-11-12 17:54
test_getargs2.pyc
12.22
KB
-rw-r--r--
2025-11-12 17:55
test_getargs2.pyo
12.22
KB
-rw-r--r--
2025-11-12 17:55
test_getopt.py
6.81
KB
-rw-r--r--
2025-11-12 17:54
test_getopt.pyc
6.78
KB
-rw-r--r--
2025-11-12 17:55
test_getopt.pyo
6.78
KB
-rw-r--r--
2025-11-12 17:55
test_gettext.py
17.95
KB
-rw-r--r--
2025-11-12 17:54
test_gettext.pyc
18.64
KB
-rw-r--r--
2025-11-12 17:55
test_gettext.pyo
18.64
KB
-rw-r--r--
2025-11-12 17:55
test_gl.py
6.59
KB
-rwxr-xr-x
2025-11-12 17:54
test_gl.pyc
8.39
KB
-rw-r--r--
2025-11-12 17:55
test_gl.pyo
8.39
KB
-rw-r--r--
2025-11-12 17:55
test_glob.py
6.78
KB
-rw-r--r--
2025-11-12 17:54
test_glob.pyc
8.3
KB
-rw-r--r--
2025-11-12 17:55
test_glob.pyo
8.3
KB
-rw-r--r--
2025-11-12 17:55
test_global.py
1003
B
-rw-r--r--
2025-11-12 17:54
test_global.pyc
1.81
KB
-rw-r--r--
2025-11-12 17:55
test_global.pyo
1.81
KB
-rw-r--r--
2025-11-12 17:55
test_grammar.py
31.94
KB
-rw-r--r--
2025-11-12 17:54
test_grammar.pyc
39.38
KB
-rw-r--r--
2025-11-12 17:55
test_grammar.pyo
38.97
KB
-rw-r--r--
2025-11-12 17:55
test_grp.py
3.1
KB
-rw-r--r--
2025-11-12 17:54
test_grp.pyc
2.73
KB
-rw-r--r--
2025-11-12 17:55
test_grp.pyo
2.73
KB
-rw-r--r--
2025-11-12 17:55
test_gzip.py
9.74
KB
-rw-r--r--
2025-11-12 17:54
test_gzip.pyc
9.68
KB
-rw-r--r--
2025-11-12 17:55
test_gzip.pyo
9.68
KB
-rw-r--r--
2025-11-12 17:55
test_hash.py
7.92
KB
-rw-r--r--
2025-11-12 17:54
test_hash.pyc
12.12
KB
-rw-r--r--
2025-11-12 17:55
test_hash.pyo
12.12
KB
-rw-r--r--
2025-11-12 17:55
test_hashlib.py
20.71
KB
-rw-r--r--
2025-11-12 17:54
test_hashlib.pyc
20.84
KB
-rw-r--r--
2025-11-12 17:55
test_hashlib.pyo
20.65
KB
-rw-r--r--
2025-11-12 17:55
test_heapq.py
15.02
KB
-rw-r--r--
2025-11-12 17:54
test_heapq.pyc
22.29
KB
-rw-r--r--
2025-11-12 17:55
test_heapq.pyo
22.29
KB
-rw-r--r--
2025-11-12 17:55
test_hmac.py
16.85
KB
-rw-r--r--
2025-11-12 17:54
test_hmac.pyc
15.12
KB
-rw-r--r--
2025-11-12 17:55
test_hmac.pyo
15.12
KB
-rw-r--r--
2025-11-12 17:55
test_hotshot.py
4.87
KB
-rw-r--r--
2025-11-12 17:54
test_hotshot.pyc
6.33
KB
-rw-r--r--
2025-11-12 17:55
test_hotshot.pyo
6.33
KB
-rw-r--r--
2025-11-12 17:55
test_htmllib.py
1.93
KB
-rw-r--r--
2025-11-12 17:54
test_htmllib.pyc
3.32
KB
-rw-r--r--
2025-11-12 17:55
test_htmllib.pyo
3.32
KB
-rw-r--r--
2025-11-12 17:55
test_htmlparser.py
24.26
KB
-rw-r--r--
2025-11-12 17:54
test_htmlparser.pyc
27.42
KB
-rw-r--r--
2025-11-12 17:55
test_htmlparser.pyo
27.42
KB
-rw-r--r--
2025-11-12 17:55
test_httplib.py
31.89
KB
-rw-r--r--
2025-11-12 17:54
test_httplib.pyc
33.72
KB
-rw-r--r--
2025-11-12 17:55
test_httplib.pyo
33.72
KB
-rw-r--r--
2025-11-12 17:55
test_httpservers.py
18.75
KB
-rw-r--r--
2025-11-12 17:54
test_httpservers.pyc
24.38
KB
-rw-r--r--
2025-11-12 17:55
test_httpservers.pyo
24.38
KB
-rw-r--r--
2025-11-12 17:55
test_imageop.py
6.72
KB
-rwxr-xr-x
2025-11-12 17:54
test_imageop.pyc
5.15
KB
-rw-r--r--
2025-11-12 17:55
test_imageop.pyo
5.15
KB
-rw-r--r--
2025-11-12 17:55
test_imaplib.py
7.47
KB
-rw-r--r--
2025-11-12 17:54
test_imaplib.pyc
9.68
KB
-rw-r--r--
2025-11-12 17:55
test_imaplib.pyo
9.68
KB
-rw-r--r--
2025-11-12 17:55
test_imgfile.py
4.21
KB
-rwxr-xr-x
2025-11-12 17:54
test_imgfile.pyc
2.4
KB
-rw-r--r--
2025-11-12 17:55
test_imgfile.pyo
2.4
KB
-rw-r--r--
2025-11-12 17:55
test_imp.py
2.28
KB
-rw-r--r--
2025-11-12 17:54
test_imp.pyc
2.61
KB
-rw-r--r--
2025-11-12 17:55
test_imp.pyo
2.61
KB
-rw-r--r--
2025-11-12 17:55
test_import.py
23.25
KB
-rw-r--r--
2025-11-12 17:54
test_import.pyc
21.24
KB
-rw-r--r--
2025-11-12 17:55
test_import.pyo
21.11
KB
-rw-r--r--
2025-11-12 17:55
test_importhooks.py
8.17
KB
-rw-r--r--
2025-11-12 17:54
test_importhooks.pyc
9.93
KB
-rw-r--r--
2025-11-12 17:55
test_importhooks.pyo
9.93
KB
-rw-r--r--
2025-11-12 17:55
test_importlib.py
5.63
KB
-rw-r--r--
2025-11-12 17:54
test_importlib.pyc
6.39
KB
-rw-r--r--
2025-11-12 17:55
test_importlib.pyo
6.39
KB
-rw-r--r--
2025-11-12 17:55
test_index.py
9.72
KB
-rw-r--r--
2025-11-12 17:54
test_index.pyc
16.62
KB
-rw-r--r--
2025-11-12 17:55
test_index.pyo
16.62
KB
-rw-r--r--
2025-11-12 17:55
test_inspect.py
32.7
KB
-rw-r--r--
2025-11-12 17:54
test_inspect.pyc
39.29
KB
-rw-r--r--
2025-11-12 17:55
test_inspect.pyo
39.23
KB
-rw-r--r--
2025-11-12 17:55
test_int.py
18.11
KB
-rw-r--r--
2025-11-12 17:54
test_int.pyc
18.47
KB
-rw-r--r--
2025-11-12 17:55
test_int.pyo
18.47
KB
-rw-r--r--
2025-11-12 17:55
test_int_literal.py
8.91
KB
-rw-r--r--
2025-11-12 17:54
test_int_literal.pyc
4.88
KB
-rw-r--r--
2025-11-12 17:55
test_int_literal.pyo
4.88
KB
-rw-r--r--
2025-11-12 17:55
test_io.py
110.51
KB
-rw-r--r--
2025-11-12 17:54
test_io.pyc
117.57
KB
-rw-r--r--
2025-11-12 17:55
test_io.pyo
117.48
KB
-rw-r--r--
2025-11-12 17:55
test_ioctl.py
3.23
KB
-rw-r--r--
2025-11-12 17:54
test_ioctl.pyc
3.5
KB
-rw-r--r--
2025-11-12 17:55
test_ioctl.pyo
3.5
KB
-rw-r--r--
2025-11-12 17:55
test_isinstance.py
9.58
KB
-rw-r--r--
2025-11-12 17:54
test_isinstance.pyc
12.32
KB
-rw-r--r--
2025-11-12 17:55
test_isinstance.pyo
12.32
KB
-rw-r--r--
2025-11-12 17:55
test_iter.py
28.83
KB
-rw-r--r--
2025-11-12 17:54
test_iter.pyc
34.77
KB
-rw-r--r--
2025-11-12 17:55
test_iter.pyo
34.73
KB
-rw-r--r--
2025-11-12 17:55
test_iterlen.py
7.95
KB
-rw-r--r--
2025-11-12 17:54
test_iterlen.pyc
12.32
KB
-rw-r--r--
2025-11-12 17:55
test_iterlen.pyo
12.32
KB
-rw-r--r--
2025-11-12 17:55
test_itertools.py
65.78
KB
-rw-r--r--
2025-11-12 17:54
test_itertools.pyc
77.93
KB
-rw-r--r--
2025-11-12 17:55
test_itertools.pyo
77.93
KB
-rw-r--r--
2025-11-12 17:55
test_json.py
327
B
-rw-r--r--
2025-11-12 17:54
test_json.pyc
670
B
-rw-r--r--
2025-11-12 17:55
test_json.pyo
670
B
-rw-r--r--
2025-11-12 17:55
test_kqueue.py
6.53
KB
-rw-r--r--
2025-11-12 17:54
test_kqueue.pyc
5.75
KB
-rw-r--r--
2025-11-12 17:55
test_kqueue.pyo
5.75
KB
-rw-r--r--
2025-11-12 17:55
test_largefile.py
7.46
KB
-rw-r--r--
2025-11-12 17:54
test_largefile.pyc
6.41
KB
-rw-r--r--
2025-11-12 17:55
test_largefile.pyo
6.41
KB
-rw-r--r--
2025-11-12 17:55
test_lib2to3.py
614
B
-rw-r--r--
2025-11-12 17:54
test_lib2to3.pyc
989
B
-rw-r--r--
2025-11-12 17:55
test_lib2to3.pyo
989
B
-rw-r--r--
2025-11-12 17:55
test_linecache.py
3.98
KB
-rw-r--r--
2025-11-12 17:54
test_linecache.pyc
3.71
KB
-rw-r--r--
2025-11-12 17:55
test_linecache.pyo
3.71
KB
-rw-r--r--
2025-11-12 17:55
test_linuxaudiodev.py
3.1
KB
-rw-r--r--
2025-11-12 17:54
test_linuxaudiodev.pyc
3.71
KB
-rw-r--r--
2025-11-12 17:55
test_linuxaudiodev.pyo
3.71
KB
-rw-r--r--
2025-11-12 17:55
test_list.py
2.58
KB
-rw-r--r--
2025-11-12 17:54
test_list.pyc
3.1
KB
-rw-r--r--
2025-11-12 17:55
test_list.pyo
3.1
KB
-rw-r--r--
2025-11-12 17:55
test_locale.py
15.45
KB
-rw-r--r--
2025-11-12 17:54
test_locale.pyc
18.25
KB
-rw-r--r--
2025-11-12 17:55
test_locale.pyo
18.25
KB
-rw-r--r--
2025-11-12 17:55
test_logging.py
60.55
KB
-rw-r--r--
2025-11-12 17:54
test_logging.pyc
47.42
KB
-rw-r--r--
2025-11-12 17:55
test_logging.pyo
47.42
KB
-rw-r--r--
2025-11-12 17:55
test_long.py
36.4
KB
-rw-r--r--
2025-11-12 17:54
test_long.pyc
43.9
KB
-rw-r--r--
2025-11-12 17:55
test_long.pyo
43.71
KB
-rw-r--r--
2025-11-12 17:55
test_long_future.py
8.81
KB
-rw-r--r--
2025-11-12 17:54
test_long_future.pyc
12.05
KB
-rw-r--r--
2025-11-12 17:55
test_long_future.pyo
12.05
KB
-rw-r--r--
2025-11-12 17:55
test_longexp.py
318
B
-rw-r--r--
2025-11-12 17:54
test_longexp.pyc
918
B
-rw-r--r--
2025-11-12 17:55
test_longexp.pyo
918
B
-rw-r--r--
2025-11-12 17:55
test_macos.py
2.6
KB
-rw-r--r--
2025-11-12 17:54
test_macos.pyc
2.75
KB
-rw-r--r--
2025-11-12 17:55
test_macos.pyo
2.75
KB
-rw-r--r--
2025-11-12 17:55
test_macostools.py
2.89
KB
-rw-r--r--
2025-11-12 17:54
test_macostools.pyc
3.49
KB
-rw-r--r--
2025-11-12 17:55
test_macostools.pyo
3.49
KB
-rw-r--r--
2025-11-12 17:55
test_macpath.py
1.95
KB
-rw-r--r--
2025-11-12 17:54
test_macpath.pyc
3.06
KB
-rw-r--r--
2025-11-12 17:55
test_macpath.pyo
3.06
KB
-rw-r--r--
2025-11-12 17:55
test_mailbox.py
84.51
KB
-rw-r--r--
2025-11-12 17:54
test_mailbox.pyc
84.79
KB
-rw-r--r--
2025-11-12 17:55
test_mailbox.pyo
84.79
KB
-rw-r--r--
2025-11-12 17:55
test_marshal.py
12.2
KB
-rw-r--r--
2025-11-12 17:54
test_marshal.pyc
13.6
KB
-rw-r--r--
2025-11-12 17:55
test_marshal.pyo
13.6
KB
-rw-r--r--
2025-11-12 17:55
test_math.py
43.2
KB
-rw-r--r--
2025-11-12 17:54
test_math.pyc
38.71
KB
-rw-r--r--
2025-11-12 17:55
test_math.pyo
38.71
KB
-rw-r--r--
2025-11-12 17:55
test_md5.py
1.75
KB
-rw-r--r--
2025-11-12 17:54
test_md5.pyc
2.74
KB
-rw-r--r--
2025-11-12 17:55
test_md5.pyo
2.74
KB
-rw-r--r--
2025-11-12 17:55
test_memoryio.py
25.46
KB
-rw-r--r--
2025-11-12 17:54
test_memoryio.pyc
27.06
KB
-rw-r--r--
2025-11-12 17:55
test_memoryio.pyo
27.06
KB
-rw-r--r--
2025-11-12 17:55
test_memoryview.py
11.53
KB
-rw-r--r--
2025-11-12 17:54
test_memoryview.pyc
12.71
KB
-rw-r--r--
2025-11-12 17:55
test_memoryview.pyo
12.71
KB
-rw-r--r--
2025-11-12 17:55
test_mhlib.py
10.88
KB
-rw-r--r--
2025-11-12 17:54
test_mhlib.pyc
11.5
KB
-rw-r--r--
2025-11-12 17:55
test_mhlib.pyo
11.5
KB
-rw-r--r--
2025-11-12 17:55
test_mimetools.py
1.74
KB
-rw-r--r--
2025-11-12 17:54
test_mimetools.pyc
2.5
KB
-rw-r--r--
2025-11-12 17:55
test_mimetools.pyo
2.5
KB
-rw-r--r--
2025-11-12 17:55
test_mimetypes.py
3.53
KB
-rw-r--r--
2025-11-12 17:54
test_mimetypes.pyc
4.54
KB
-rw-r--r--
2025-11-12 17:55
test_mimetypes.pyo
4.54
KB
-rw-r--r--
2025-11-12 17:55
test_minidom.py
61.11
KB
-rw-r--r--
2025-11-12 17:54
test_minidom.pyc
55.47
KB
-rw-r--r--
2025-11-12 17:55
test_minidom.pyo
55.47
KB
-rw-r--r--
2025-11-12 17:55
test_mmap.py
24.4
KB
-rw-r--r--
2025-11-12 17:54
test_mmap.pyc
20.38
KB
-rw-r--r--
2025-11-12 17:55
test_mmap.pyo
20.33
KB
-rw-r--r--
2025-11-12 17:55
test_module.py
2.69
KB
-rw-r--r--
2025-11-12 17:54
test_module.pyc
3.31
KB
-rw-r--r--
2025-11-12 17:55
test_module.pyo
3.31
KB
-rw-r--r--
2025-11-12 17:55
test_modulefinder.py
7.87
KB
-rw-r--r--
2025-11-12 17:54
test_modulefinder.pyc
7.83
KB
-rw-r--r--
2025-11-12 17:55
test_modulefinder.pyo
7.83
KB
-rw-r--r--
2025-11-12 17:55
test_msilib.py
1.43
KB
-rw-r--r--
2025-11-12 17:54
test_msilib.pyc
1.92
KB
-rw-r--r--
2025-11-12 17:55
test_msilib.pyo
1.92
KB
-rw-r--r--
2025-11-12 17:55
test_multibytecodec.py
10.61
KB
-rw-r--r--
2025-11-12 17:54
test_multibytecodec.pyc
11.97
KB
-rw-r--r--
2025-11-12 17:55
test_multibytecodec.pyo
11.97
KB
-rw-r--r--
2025-11-12 17:55
test_multibytecodec_support.py
14.19
KB
-rw-r--r--
2025-11-12 17:54
test_multibytecodec_support.pyc
15.35
KB
-rw-r--r--
2025-11-12 17:55
test_multibytecodec_support.pyo
15.35
KB
-rw-r--r--
2025-11-12 17:55
test_multifile.py
1.66
KB
-rw-r--r--
2025-11-12 17:54
test_multifile.pyc
2.03
KB
-rw-r--r--
2025-11-12 17:55
test_multifile.pyo
1.96
KB
-rw-r--r--
2025-11-12 17:55
test_multiprocessing.py
76.8
KB
-rw-r--r--
2025-11-12 17:54
test_multiprocessing.pyc
81.16
KB
-rw-r--r--
2025-11-12 17:55
test_multiprocessing.pyo
81.08
KB
-rw-r--r--
2025-11-12 17:55
test_mutants.py
8.3
KB
-rw-r--r--
2025-11-12 17:54
test_mutants.pyc
6.46
KB
-rw-r--r--
2025-11-12 17:55
test_mutants.pyo
6.46
KB
-rw-r--r--
2025-11-12 17:55
test_mutex.py
999
B
-rw-r--r--
2025-11-12 17:54
test_mutex.pyc
1.7
KB
-rw-r--r--
2025-11-12 17:55
test_mutex.pyo
1.7
KB
-rw-r--r--
2025-11-12 17:55
test_netrc.py
3.63
KB
-rw-r--r--
2025-11-12 17:54
test_netrc.pyc
5.67
KB
-rw-r--r--
2025-11-12 17:55
test_netrc.pyo
5.67
KB
-rw-r--r--
2025-11-12 17:55
test_new.py
5.91
KB
-rw-r--r--
2025-11-12 17:54
test_new.pyc
5.62
KB
-rw-r--r--
2025-11-12 17:55
test_new.pyo
5.62
KB
-rw-r--r--
2025-11-12 17:55
test_nis.py
1.31
KB
-rw-r--r--
2025-11-12 17:54
test_nis.pyc
1.33
KB
-rw-r--r--
2025-11-12 17:55
test_nis.pyo
1.33
KB
-rw-r--r--
2025-11-12 17:55
test_nntplib.py
1.44
KB
-rw-r--r--
2025-11-12 17:54
test_nntplib.pyc
2.76
KB
-rw-r--r--
2025-11-12 17:55
test_nntplib.pyo
2.76
KB
-rw-r--r--
2025-11-12 17:55
test_normalization.py
3.06
KB
-rw-r--r--
2025-11-12 17:54
test_normalization.pyc
4.02
KB
-rw-r--r--
2025-11-12 17:55
test_normalization.pyo
4.02
KB
-rw-r--r--
2025-11-12 17:55
test_ntpath.py
8.97
KB
-rw-r--r--
2025-11-12 17:54
test_ntpath.pyc
10.59
KB
-rw-r--r--
2025-11-12 17:55
test_ntpath.pyo
10.59
KB
-rw-r--r--
2025-11-12 17:55
test_old_mailbox.py
4.77
KB
-rw-r--r--
2025-11-12 17:54
test_old_mailbox.pyc
5.88
KB
-rw-r--r--
2025-11-12 17:55
test_old_mailbox.pyo
5.88
KB
-rw-r--r--
2025-11-12 17:55
test_opcodes.py
3.04
KB
-rw-r--r--
2025-11-12 17:54
test_opcodes.pyc
4.07
KB
-rw-r--r--
2025-11-12 17:55
test_opcodes.pyo
4.07
KB
-rw-r--r--
2025-11-12 17:55
test_openpty.py
699
B
-rw-r--r--
2025-11-12 17:54
test_openpty.pyc
1.22
KB
-rw-r--r--
2025-11-12 17:55
test_openpty.pyo
1.22
KB
-rw-r--r--
2025-11-12 17:55
test_operator.py
20.96
KB
-rw-r--r--
2025-11-12 17:54
test_operator.pyc
27.16
KB
-rw-r--r--
2025-11-12 17:55
test_operator.pyo
27.16
KB
-rw-r--r--
2025-11-12 17:55
test_optparse.py
60.66
KB
-rw-r--r--
2025-11-12 17:54
test_optparse.pyc
75.26
KB
-rw-r--r--
2025-11-12 17:55
test_optparse.pyo
75.26
KB
-rw-r--r--
2025-11-12 17:55
test_os.py
32.6
KB
-rw-r--r--
2025-11-12 17:54
test_os.pyc
30.04
KB
-rw-r--r--
2025-11-12 17:55
test_os.pyo
30.04
KB
-rw-r--r--
2025-11-12 17:55
test_ossaudiodev.py
5.95
KB
-rw-r--r--
2025-11-12 17:54
test_ossaudiodev.pyc
5.04
KB
-rw-r--r--
2025-11-12 17:55
test_ossaudiodev.pyo
5.04
KB
-rw-r--r--
2025-11-12 17:55
test_parser.py
21.81
KB
-rw-r--r--
2025-11-12 17:54
test_parser.pyc
22.67
KB
-rw-r--r--
2025-11-12 17:55
test_parser.pyo
22.67
KB
-rw-r--r--
2025-11-12 17:55
test_pdb.py
10.96
KB
-rw-r--r--
2025-11-12 17:54
test_pdb.pyc
12.53
KB
-rw-r--r--
2025-11-12 17:55
test_pdb.pyo
12.53
KB
-rw-r--r--
2025-11-12 17:55
test_peepholer.py
8.64
KB
-rw-r--r--
2025-11-12 17:54
test_peepholer.pyc
9.77
KB
-rw-r--r--
2025-11-12 17:55
test_peepholer.pyo
9.77
KB
-rw-r--r--
2025-11-12 17:55
test_pep247.py
1.99
KB
-rw-r--r--
2025-11-12 17:54
test_pep247.pyc
2.48
KB
-rw-r--r--
2025-11-12 17:55
test_pep247.pyo
2.48
KB
-rw-r--r--
2025-11-12 17:55
test_pep263.py
1.34
KB
-rw-r--r--
2025-11-12 17:54
test_pep263.pyc
1.77
KB
-rw-r--r--
2025-11-12 17:55
test_pep263.pyo
1.77
KB
-rw-r--r--
2025-11-12 17:55
test_pep277.py
7.69
KB
-rw-r--r--
2025-11-12 17:54
test_pep277.pyc
7.24
KB
-rw-r--r--
2025-11-12 17:55
test_pep277.pyo
7.24
KB
-rw-r--r--
2025-11-12 17:55
test_pep292.py
7.5
KB
-rw-r--r--
2025-11-12 17:54
test_pep292.pyc
9.49
KB
-rw-r--r--
2025-11-12 17:55
test_pep292.pyo
9.49
KB
-rw-r--r--
2025-11-12 17:55
test_pep352.py
8.83
KB
-rw-r--r--
2025-11-12 17:54
test_pep352.pyc
8.83
KB
-rw-r--r--
2025-11-12 17:55
test_pep352.pyo
8.83
KB
-rw-r--r--
2025-11-12 17:55
test_pickle.py
2.3
KB
-rw-r--r--
2025-11-12 17:54
test_pickle.pyc
4.25
KB
-rw-r--r--
2025-11-12 17:55
test_pickle.pyo
4.25
KB
-rw-r--r--
2025-11-12 17:55
test_pickletools.py
611
B
-rw-r--r--
2025-11-12 17:54
test_pickletools.pyc
1.27
KB
-rw-r--r--
2025-11-12 17:55
test_pickletools.pyo
1.27
KB
-rw-r--r--
2025-11-12 17:55
test_pipes.py
6.83
KB
-rw-r--r--
2025-11-12 17:54
test_pipes.pyc
7.21
KB
-rw-r--r--
2025-11-12 17:55
test_pipes.pyo
7.21
KB
-rw-r--r--
2025-11-12 17:55
test_pkg.py
9.25
KB
-rw-r--r--
2025-11-12 17:54
test_pkg.pyc
9.17
KB
-rw-r--r--
2025-11-12 17:55
test_pkg.pyo
9.17
KB
-rw-r--r--
2025-11-12 17:55
test_pkgimport.py
2.81
KB
-rw-r--r--
2025-11-12 17:54
test_pkgimport.pyc
3.41
KB
-rw-r--r--
2025-11-12 17:55
test_pkgimport.pyo
3.41
KB
-rw-r--r--
2025-11-12 17:55
test_pkgutil.py
4.54
KB
-rw-r--r--
2025-11-12 17:54
test_pkgutil.pyc
5.45
KB
-rw-r--r--
2025-11-12 17:55
test_pkgutil.pyo
5.45
KB
-rw-r--r--
2025-11-12 17:55
test_platform.py
9.49
KB
-rw-r--r--
2025-11-12 17:54
test_platform.pyc
10.63
KB
-rw-r--r--
2025-11-12 17:55
test_platform.pyo
10.63
KB
-rw-r--r--
2025-11-12 17:55
test_plistlib.py
7.79
KB
-rw-r--r--
2025-11-12 17:54
test_plistlib.pyc
9.15
KB
-rw-r--r--
2025-11-12 17:55
test_plistlib.pyo
9.15
KB
-rw-r--r--
2025-11-12 17:55
test_poll.py
4.88
KB
-rw-r--r--
2025-11-12 17:54
test_poll.pyc
4.97
KB
-rw-r--r--
2025-11-12 17:55
test_poll.pyo
4.97
KB
-rw-r--r--
2025-11-12 17:55
test_popen.py
1.59
KB
-rw-r--r--
2025-11-12 17:54
test_popen.pyc
1.99
KB
-rw-r--r--
2025-11-12 17:55
test_popen.pyo
1.99
KB
-rw-r--r--
2025-11-12 17:55
test_popen2.py
4.24
KB
-rw-r--r--
2025-11-12 17:54
test_popen2.pyc
4.46
KB
-rw-r--r--
2025-11-12 17:55
test_popen2.pyo
4.46
KB
-rw-r--r--
2025-11-12 17:55
test_poplib.py
10.61
KB
-rw-r--r--
2025-11-12 17:54
test_poplib.pyc
15.67
KB
-rw-r--r--
2025-11-12 17:55
test_poplib.pyo
15.61
KB
-rw-r--r--
2025-11-12 17:55
test_posix.py
20.64
KB
-rw-r--r--
2025-11-12 17:54
test_posix.pyc
19.38
KB
-rw-r--r--
2025-11-12 17:55
test_posix.pyo
19.38
KB
-rw-r--r--
2025-11-12 17:55
test_posixpath.py
17.3
KB
-rw-r--r--
2025-11-12 17:54
test_posixpath.pyc
14.3
KB
-rw-r--r--
2025-11-12 17:55
test_posixpath.pyo
14.3
KB
-rw-r--r--
2025-11-12 17:55
test_pow.py
4.51
KB
-rw-r--r--
2025-11-12 17:54
test_pow.pyc
4.67
KB
-rw-r--r--
2025-11-12 17:55
test_pow.pyo
4.67
KB
-rw-r--r--
2025-11-12 17:55
test_pprint.py
24.11
KB
-rw-r--r--
2025-11-12 17:54
test_pprint.pyc
24.15
KB
-rw-r--r--
2025-11-12 17:55
test_pprint.pyo
24.15
KB
-rw-r--r--
2025-11-12 17:55
test_print.py
4.68
KB
-rw-r--r--
2025-11-12 17:54
test_print.pyc
5.95
KB
-rw-r--r--
2025-11-12 17:55
test_print.pyo
5.95
KB
-rw-r--r--
2025-11-12 17:55
test_profile.py
7.84
KB
-rw-r--r--
2025-11-12 17:54
test_profile.pyc
8.33
KB
-rw-r--r--
2025-11-12 17:55
test_profile.pyo
8.33
KB
-rw-r--r--
2025-11-12 17:55
test_property.py
6.77
KB
-rw-r--r--
2025-11-12 17:54
test_property.pyc
11.66
KB
-rw-r--r--
2025-11-12 17:55
test_property.pyo
11.66
KB
-rw-r--r--
2025-11-12 17:55
test_pstats.py
959
B
-rw-r--r--
2025-11-12 17:54
test_pstats.pyc
1.41
KB
-rw-r--r--
2025-11-12 17:55
test_pstats.pyo
1.41
KB
-rw-r--r--
2025-11-12 17:55
test_pty.py
11.43
KB
-rw-r--r--
2025-11-12 17:54
test_pty.pyc
8.21
KB
-rw-r--r--
2025-11-12 17:55
test_pty.pyo
8.21
KB
-rw-r--r--
2025-11-12 17:55
test_pwd.py
4.01
KB
-rw-r--r--
2025-11-12 17:54
test_pwd.pyc
2.93
KB
-rw-r--r--
2025-11-12 17:55
test_pwd.pyo
2.93
KB
-rw-r--r--
2025-11-12 17:55
test_py3kwarn.py
17.91
KB
-rw-r--r--
2025-11-12 17:54
test_py3kwarn.pyc
22.41
KB
-rw-r--r--
2025-11-12 17:55
test_py3kwarn.pyo
22.41
KB
-rw-r--r--
2025-11-12 17:55
test_py_compile.py
1.7
KB
-rw-r--r--
2025-11-12 17:54
test_py_compile.pyc
2.4
KB
-rw-r--r--
2025-11-12 17:55
test_py_compile.pyo
2.4
KB
-rw-r--r--
2025-11-12 17:55
test_pyclbr.py
7.71
KB
-rw-r--r--
2025-11-12 17:54
test_pyclbr.pyc
6.81
KB
-rw-r--r--
2025-11-12 17:55
test_pyclbr.pyo
6.81
KB
-rw-r--r--
2025-11-12 17:55
test_pydoc.py
15.29
KB
-rw-r--r--
2025-11-12 17:54
test_pydoc.pyc
17.49
KB
-rw-r--r--
2025-11-12 17:55
test_pydoc.pyo
17.49
KB
-rw-r--r--
2025-11-12 17:55
test_pyexpat.py
24.42
KB
-rw-r--r--
2025-11-12 17:54
test_pyexpat.pyc
28.65
KB
-rw-r--r--
2025-11-12 17:55
test_pyexpat.pyo
28.65
KB
-rw-r--r--
2025-11-12 17:55
test_queue.py
11.69
KB
-rw-r--r--
2025-11-12 17:54
test_queue.pyc
10.03
KB
-rw-r--r--
2025-11-12 17:55
test_queue.pyo
10.03
KB
-rw-r--r--
2025-11-12 17:55
test_quopri.py
7.31
KB
-rw-r--r--
2025-11-12 17:54
test_quopri.pyc
7.96
KB
-rw-r--r--
2025-11-12 17:55
test_quopri.pyo
7.96
KB
-rw-r--r--
2025-11-12 17:55
test_random.py
23.96
KB
-rw-r--r--
2025-11-12 17:54
test_random.pyc
24.04
KB
-rw-r--r--
2025-11-12 17:55
test_random.pyo
24.04
KB
-rw-r--r--
2025-11-12 17:55
test_re.py
46.42
KB
-rw-r--r--
2025-11-12 17:54
test_re.pyc
43.16
KB
-rw-r--r--
2025-11-12 17:55
test_re.pyo
43.16
KB
-rw-r--r--
2025-11-12 17:55
test_readline.py
2.36
KB
-rw-r--r--
2025-11-12 17:54
test_readline.pyc
2.57
KB
-rw-r--r--
2025-11-12 17:55
test_readline.pyo
2.57
KB
-rw-r--r--
2025-11-12 17:55
test_repr.py
12.06
KB
-rw-r--r--
2025-11-12 17:54
test_repr.pyc
14.7
KB
-rw-r--r--
2025-11-12 17:55
test_repr.pyo
14.7
KB
-rw-r--r--
2025-11-12 17:55
test_resource.py
4.9
KB
-rw-r--r--
2025-11-12 17:54
test_resource.pyc
3.88
KB
-rw-r--r--
2025-11-12 17:55
test_resource.pyo
3.88
KB
-rw-r--r--
2025-11-12 17:55
test_rfc822.py
9.02
KB
-rw-r--r--
2025-11-12 17:54
test_rfc822.pyc
9.36
KB
-rw-r--r--
2025-11-12 17:55
test_rfc822.pyo
9.36
KB
-rw-r--r--
2025-11-12 17:55
test_richcmp.py
11.2
KB
-rw-r--r--
2025-11-12 17:54
test_richcmp.pyc
15.97
KB
-rw-r--r--
2025-11-12 17:55
test_richcmp.pyo
15.97
KB
-rw-r--r--
2025-11-12 17:55
test_rlcompleter.py
2.78
KB
-rw-r--r--
2025-11-12 17:54
test_rlcompleter.pyc
3.35
KB
-rw-r--r--
2025-11-12 17:55
test_rlcompleter.pyo
3.35
KB
-rw-r--r--
2025-11-12 17:55
test_robotparser.py
6.39
KB
-rw-r--r--
2025-11-12 17:54
test_robotparser.pyc
5.99
KB
-rw-r--r--
2025-11-12 17:55
test_robotparser.pyo
5.99
KB
-rw-r--r--
2025-11-12 17:55
test_runpy.py
16
KB
-rw-r--r--
2025-11-12 17:54
test_runpy.pyc
15.18
KB
-rw-r--r--
2025-11-12 17:55
test_runpy.pyo
15.18
KB
-rw-r--r--
2025-11-12 17:55
test_sax.py
29.9
KB
-rw-r--r--
2025-11-12 17:54
test_sax.pyc
30.48
KB
-rw-r--r--
2025-11-12 17:55
test_sax.pyo
30.48
KB
-rw-r--r--
2025-11-12 17:55
test_scope.py
15.17
KB
-rw-r--r--
2025-11-12 17:54
test_scope.pyc
24.83
KB
-rw-r--r--
2025-11-12 17:55
test_scope.pyo
24.83
KB
-rw-r--r--
2025-11-12 17:55
test_scriptpackages.py
1.36
KB
-rw-r--r--
2025-11-12 17:54
test_scriptpackages.pyc
2.53
KB
-rw-r--r--
2025-11-12 17:55
test_scriptpackages.pyo
2.53
KB
-rw-r--r--
2025-11-12 17:55
test_select.py
2.11
KB
-rw-r--r--
2025-11-12 17:54
test_select.pyc
3.41
KB
-rw-r--r--
2025-11-12 17:55
test_select.pyo
3.41
KB
-rw-r--r--
2025-11-12 17:55
test_set.py
61.44
KB
-rw-r--r--
2025-11-12 17:54
test_set.pyc
85.37
KB
-rw-r--r--
2025-11-12 17:55
test_set.pyo
85.37
KB
-rw-r--r--
2025-11-12 17:55
test_setcomps.py
3.76
KB
-rw-r--r--
2025-11-12 17:54
test_setcomps.pyc
3.99
KB
-rw-r--r--
2025-11-12 17:55
test_setcomps.pyo
3.99
KB
-rw-r--r--
2025-11-12 17:55
test_sets.py
27.2
KB
-rw-r--r--
2025-11-12 17:54
test_sets.pyc
41.03
KB
-rw-r--r--
2025-11-12 17:55
test_sets.pyo
41.03
KB
-rw-r--r--
2025-11-12 17:55
test_sgmllib.py
15.36
KB
-rw-r--r--
2025-11-12 17:54
test_sgmllib.pyc
18.31
KB
-rw-r--r--
2025-11-12 17:55
test_sgmllib.pyo
18.31
KB
-rw-r--r--
2025-11-12 17:55
test_sha.py
1.66
KB
-rw-r--r--
2025-11-12 17:54
test_sha.pyc
2.14
KB
-rw-r--r--
2025-11-12 17:55
test_sha.pyo
2.14
KB
-rw-r--r--
2025-11-12 17:55
test_shelve.py
4.49
KB
-rw-r--r--
2025-11-12 17:54
test_shelve.pyc
6.87
KB
-rw-r--r--
2025-11-12 17:55
test_shelve.pyo
6.87
KB
-rw-r--r--
2025-11-12 17:55
test_shlex.py
5.18
KB
-rw-r--r--
2025-11-12 17:54
test_shlex.pyc
5.85
KB
-rw-r--r--
2025-11-12 17:55
test_shlex.pyo
5.85
KB
-rw-r--r--
2025-11-12 17:55
test_shutil.py
30.92
KB
-rw-r--r--
2025-11-12 17:54
test_shutil.pyc
28.4
KB
-rw-r--r--
2025-11-12 17:55
test_shutil.pyo
28.3
KB
-rw-r--r--
2025-11-12 17:55
test_signal.py
18.46
KB
-rw-r--r--
2025-11-12 17:54
test_signal.pyc
16.86
KB
-rw-r--r--
2025-11-12 17:55
test_signal.pyo
16.86
KB
-rw-r--r--
2025-11-12 17:55
test_site.py
15.36
KB
-rw-r--r--
2025-11-12 17:54
test_site.py.lib64
15.19
KB
-rw-r--r--
2025-11-12 17:54
test_site.pyc
14.35
KB
-rw-r--r--
2025-11-12 17:55
test_site.pyo
14.35
KB
-rw-r--r--
2025-11-12 17:55
test_slice.py
4.31
KB
-rw-r--r--
2025-11-12 17:54
test_slice.pyc
5.87
KB
-rw-r--r--
2025-11-12 17:55
test_slice.pyo
5.87
KB
-rw-r--r--
2025-11-12 17:55
test_smtplib.py
18.87
KB
-rw-r--r--
2025-11-12 17:54
test_smtplib.pyc
20.3
KB
-rw-r--r--
2025-11-12 17:55
test_smtplib.pyo
20.3
KB
-rw-r--r--
2025-11-12 17:55
test_smtpnet.py
842
B
-rw-r--r--
2025-11-12 17:54
test_smtpnet.pyc
1.39
KB
-rw-r--r--
2025-11-12 17:55
test_smtpnet.pyo
1.39
KB
-rw-r--r--
2025-11-12 17:55
test_socket.py
58.99
KB
-rw-r--r--
2025-11-12 17:54
test_socket.pyc
70.11
KB
-rw-r--r--
2025-11-12 17:55
test_socket.pyo
70.11
KB
-rw-r--r--
2025-11-12 17:55
test_socketserver.py
10.58
KB
-rw-r--r--
2025-11-12 17:54
test_socketserver.pyc
11.25
KB
-rw-r--r--
2025-11-12 17:55
test_socketserver.pyo
11.25
KB
-rw-r--r--
2025-11-12 17:55
test_softspace.py
640
B
-rw-r--r--
2025-11-12 17:54
test_softspace.pyc
1.32
KB
-rw-r--r--
2025-11-12 17:55
test_softspace.pyo
1.32
KB
-rw-r--r--
2025-11-12 17:55
test_sort.py
9.24
KB
-rw-r--r--
2025-11-12 17:54
test_sort.pyc
12.42
KB
-rw-r--r--
2025-11-12 17:55
test_sort.pyo
12.42
KB
-rw-r--r--
2025-11-12 17:55
test_sqlite.py
583
B
-rw-r--r--
2025-11-12 17:54
test_sqlite.pyc
841
B
-rw-r--r--
2025-11-12 17:55
test_sqlite.pyo
841
B
-rw-r--r--
2025-11-12 17:55
test_ssl.py
143.47
KB
-rw-r--r--
2025-11-12 17:54
test_ssl.pyc
109.64
KB
-rw-r--r--
2025-11-12 17:55
test_ssl.pyo
109.64
KB
-rw-r--r--
2025-11-12 17:55
test_startfile.py
1.39
KB
-rw-r--r--
2025-11-12 17:54
test_startfile.pyc
1.81
KB
-rw-r--r--
2025-11-12 17:55
test_startfile.pyo
1.81
KB
-rw-r--r--
2025-11-12 17:55
test_str.py
18.46
KB
-rw-r--r--
2025-11-12 17:54
test_str.pyc
20.95
KB
-rw-r--r--
2025-11-12 17:55
test_str.pyo
20.95
KB
-rw-r--r--
2025-11-12 17:55
test_strftime.py
6.79
KB
-rw-r--r--
2025-11-12 17:54
test_strftime.pyc
7.16
KB
-rw-r--r--
2025-11-12 17:55
test_strftime.pyo
7.16
KB
-rw-r--r--
2025-11-12 17:55
test_string.py
8.94
KB
-rw-r--r--
2025-11-12 17:54
test_string.pyc
9.85
KB
-rw-r--r--
2025-11-12 17:55
test_string.pyo
9.85
KB
-rw-r--r--
2025-11-12 17:55
test_stringprep.py
3.17
KB
-rw-r--r--
2025-11-12 17:54
test_stringprep.pyc
2.12
KB
-rw-r--r--
2025-11-12 17:55
test_stringprep.pyo
2.12
KB
-rw-r--r--
2025-11-12 17:55
test_strop.py
6.22
KB
-rw-r--r--
2025-11-12 17:54
test_strop.pyc
7.95
KB
-rw-r--r--
2025-11-12 17:55
test_strop.pyo
7.95
KB
-rw-r--r--
2025-11-12 17:55
test_strptime.py
25.24
KB
-rw-r--r--
2025-11-12 17:54
test_strptime.pyc
23.68
KB
-rw-r--r--
2025-11-12 17:55
test_strptime.pyo
23.68
KB
-rw-r--r--
2025-11-12 17:55
test_strtod.py
18.53
KB
-rw-r--r--
2025-11-12 17:54
test_strtod.pyc
14.03
KB
-rw-r--r--
2025-11-12 17:55
test_strtod.pyo
13.81
KB
-rw-r--r--
2025-11-12 17:55
test_struct.py
23.58
KB
-rw-r--r--
2025-11-12 17:54
test_struct.pyc
20.69
KB
-rw-r--r--
2025-11-12 17:55
test_struct.pyo
20.69
KB
-rw-r--r--
2025-11-12 17:55
test_structmembers.py
3.36
KB
-rw-r--r--
2025-11-12 17:54
test_structmembers.pyc
5.07
KB
-rw-r--r--
2025-11-12 17:55
test_structmembers.pyo
5.07
KB
-rw-r--r--
2025-11-12 17:55
test_structseq.py
3.6
KB
-rw-r--r--
2025-11-12 17:54
test_structseq.pyc
5.38
KB
-rw-r--r--
2025-11-12 17:55
test_structseq.pyo
5.38
KB
-rw-r--r--
2025-11-12 17:55
test_subprocess.py
57.32
KB
-rw-r--r--
2025-11-12 17:54
test_subprocess.pyc
51.93
KB
-rw-r--r--
2025-11-12 17:55
test_subprocess.pyo
51.93
KB
-rw-r--r--
2025-11-12 17:55
test_sunaudiodev.py
687
B
-rw-r--r--
2025-11-12 17:54
test_sunaudiodev.pyc
1.18
KB
-rw-r--r--
2025-11-12 17:55
test_sunaudiodev.pyo
1.18
KB
-rw-r--r--
2025-11-12 17:55
test_sundry.py
3.02
KB
-rw-r--r--
2025-11-12 17:54
test_sundry.pyc
3.5
KB
-rw-r--r--
2025-11-12 17:55
test_sundry.pyo
3.5
KB
-rw-r--r--
2025-11-12 17:55
test_support.py
48.85
KB
-rw-r--r--
2025-11-12 17:54
test_support.pyc
48.08
KB
-rw-r--r--
2025-11-12 17:55
test_support.pyo
48.03
KB
-rw-r--r--
2025-11-12 17:55
test_symtable.py
6.16
KB
-rw-r--r--
2025-11-12 17:54
test_symtable.pyc
8.17
KB
-rw-r--r--
2025-11-12 17:55
test_symtable.pyo
8.17
KB
-rw-r--r--
2025-11-12 17:55
test_syntax.py
18.3
KB
-rw-r--r--
2025-11-12 17:54
test_syntax.pyc
19.69
KB
-rw-r--r--
2025-11-12 17:55
test_syntax.pyo
19.69
KB
-rw-r--r--
2025-11-12 17:55
test_sys.py
28.5
KB
-rw-r--r--
2025-11-12 17:54
test_sys.pyc
25.02
KB
-rw-r--r--
2025-11-12 17:55
test_sys.pyo
25.02
KB
-rw-r--r--
2025-11-12 17:55
test_sys_setprofile.py
11.11
KB
-rw-r--r--
2025-11-12 17:54
test_sys_setprofile.pyc
16.55
KB
-rw-r--r--
2025-11-12 17:55
test_sys_setprofile.pyo
16.55
KB
-rw-r--r--
2025-11-12 17:55
test_sys_settrace.py
23.44
KB
-rw-r--r--
2025-11-12 17:54
test_sys_settrace.pyc
30.56
KB
-rw-r--r--
2025-11-12 17:55
test_sys_settrace.pyo
30.48
KB
-rw-r--r--
2025-11-12 17:55
test_sysconfig.py
12.34
KB
-rw-r--r--
2025-11-12 17:54
test_sysconfig.pyc
10.63
KB
-rw-r--r--
2025-11-12 17:55
test_sysconfig.pyo
10.63
KB
-rw-r--r--
2025-11-12 17:55
test_tarfile.py
64.06
KB
-rw-r--r--
2025-11-12 17:54
test_tarfile.pyc
67.45
KB
-rw-r--r--
2025-11-12 17:55
test_tarfile.pyo
67.45
KB
-rw-r--r--
2025-11-12 17:55
test_tcl.py
5.76
KB
-rw-r--r--
2025-11-12 17:54
test_tcl.pyc
8.28
KB
-rw-r--r--
2025-11-12 17:55
test_tcl.pyo
8.28
KB
-rw-r--r--
2025-11-12 17:55
test_telnetlib.py
15.41
KB
-rw-r--r--
2025-11-12 17:54
test_telnetlib.pyc
18.38
KB
-rw-r--r--
2025-11-12 17:55
test_telnetlib.pyo
18.38
KB
-rw-r--r--
2025-11-12 17:55
test_tempfile.py
30.04
KB
-rw-r--r--
2025-11-12 17:54
test_tempfile.pyc
30.6
KB
-rw-r--r--
2025-11-12 17:55
test_tempfile.pyo
30.6
KB
-rw-r--r--
2025-11-12 17:55
test_textwrap.py
24.96
KB
-rw-r--r--
2025-11-12 17:54
test_textwrap.pyc
21.34
KB
-rw-r--r--
2025-11-12 17:55
test_textwrap.pyo
21.34
KB
-rw-r--r--
2025-11-12 17:55
test_thread.py
8.48
KB
-rw-r--r--
2025-11-12 17:54
test_thread.pyc
9.4
KB
-rw-r--r--
2025-11-12 17:55
test_thread.pyo
9.4
KB
-rw-r--r--
2025-11-12 17:55
test_threaded_import.py
2.52
KB
-rw-r--r--
2025-11-12 17:54
test_threaded_import.pyc
1.84
KB
-rw-r--r--
2025-11-12 17:55
test_threaded_import.pyo
1.84
KB
-rw-r--r--
2025-11-12 17:55
test_threadedtempfile.py
2.16
KB
-rw-r--r--
2025-11-12 17:54
test_threadedtempfile.pyc
2.95
KB
-rw-r--r--
2025-11-12 17:55
test_threadedtempfile.pyo
2.95
KB
-rw-r--r--
2025-11-12 17:55
test_threading.py
28.8
KB
-rw-r--r--
2025-11-12 17:54
test_threading.pyc
27.33
KB
-rw-r--r--
2025-11-12 17:55
test_threading.pyo
27.33
KB
-rw-r--r--
2025-11-12 17:55
test_threading_local.py
6.51
KB
-rw-r--r--
2025-11-12 17:54
test_threading_local.pyc
9.27
KB
-rw-r--r--
2025-11-12 17:55
test_threading_local.pyo
9.27
KB
-rw-r--r--
2025-11-12 17:55
test_threadsignals.py
2.92
KB
-rw-r--r--
2025-11-12 17:54
test_threadsignals.pyc
3.13
KB
-rw-r--r--
2025-11-12 17:55
test_threadsignals.pyo
3.13
KB
-rw-r--r--
2025-11-12 17:55
test_time.py
10.16
KB
-rw-r--r--
2025-11-12 17:54
test_time.pyc
8.26
KB
-rw-r--r--
2025-11-12 17:55
test_time.pyo
8.26
KB
-rw-r--r--
2025-11-12 17:55
test_timeout.py
6.8
KB
-rw-r--r--
2025-11-12 17:54
test_timeout.pyc
6.9
KB
-rw-r--r--
2025-11-12 17:55
test_timeout.pyo
6.9
KB
-rw-r--r--
2025-11-12 17:55
test_tk.py
886
B
-rw-r--r--
2025-11-12 17:54
test_tk.pyc
1.04
KB
-rw-r--r--
2025-11-12 17:55
test_tk.pyo
1.04
KB
-rw-r--r--
2025-11-12 17:55
test_tokenize.py
22.76
KB
-rw-r--r--
2025-11-12 17:54
test_tokenize.pyc
23.15
KB
-rw-r--r--
2025-11-12 17:55
test_tokenize.pyo
23.15
KB
-rw-r--r--
2025-11-12 17:55
test_tools.py
9.34
KB
-rw-r--r--
2025-11-12 17:54
test_tools.pyc
10.48
KB
-rw-r--r--
2025-11-12 17:55
test_tools.pyo
10.48
KB
-rw-r--r--
2025-11-12 17:55
test_trace.py
11.55
KB
-rw-r--r--
2025-11-12 17:54
test_trace.pyc
14.03
KB
-rw-r--r--
2025-11-12 17:55
test_trace.pyo
14.03
KB
-rw-r--r--
2025-11-12 17:55
test_traceback.py
7.41
KB
-rw-r--r--
2025-11-12 17:54
test_traceback.pyc
7.68
KB
-rw-r--r--
2025-11-12 17:55
test_traceback.pyo
7.68
KB
-rw-r--r--
2025-11-12 17:55
test_transformer.py
1.09
KB
-rw-r--r--
2025-11-12 17:54
test_transformer.pyc
1.53
KB
-rw-r--r--
2025-11-12 17:55
test_transformer.pyo
1.45
KB
-rw-r--r--
2025-11-12 17:55
test_ttk_guionly.py
1.18
KB
-rw-r--r--
2025-11-12 17:54
test_ttk_guionly.pyc
1.38
KB
-rw-r--r--
2025-11-12 17:55
test_ttk_guionly.pyo
1.38
KB
-rw-r--r--
2025-11-12 17:55
test_ttk_textonly.py
543
B
-rw-r--r--
2025-11-12 17:54
test_ttk_textonly.pyc
859
B
-rw-r--r--
2025-11-12 17:55
test_ttk_textonly.pyo
859
B
-rw-r--r--
2025-11-12 17:55
test_tuple.py
5.28
KB
-rw-r--r--
2025-11-12 17:54
test_tuple.pyc
7.22
KB
-rw-r--r--
2025-11-12 17:55
test_tuple.pyo
7.22
KB
-rw-r--r--
2025-11-12 17:55
test_typechecks.py
3.09
KB
-rw-r--r--
2025-11-12 17:54
test_typechecks.pyc
5.12
KB
-rw-r--r--
2025-11-12 17:55
test_typechecks.pyo
5.12
KB
-rw-r--r--
2025-11-12 17:55
test_types.py
29.03
KB
-rw-r--r--
2025-11-12 17:54
test_types.pyc
25.3
KB
-rw-r--r--
2025-11-12 17:55
test_types.pyo
25.07
KB
-rw-r--r--
2025-11-12 17:55
test_ucn.py
5.98
KB
-rw-r--r--
2025-11-12 17:54
test_ucn.pyc
6.14
KB
-rw-r--r--
2025-11-12 17:55
test_ucn.pyo
6.14
KB
-rw-r--r--
2025-11-12 17:55
test_unary.py
1.82
KB
-rw-r--r--
2025-11-12 17:54
test_unary.pyc
2.75
KB
-rw-r--r--
2025-11-12 17:55
test_unary.pyo
2.75
KB
-rw-r--r--
2025-11-12 17:55
test_undocumented_details.py
1.14
KB
-rw-r--r--
2025-11-12 17:54
test_undocumented_details.pyc
2.03
KB
-rw-r--r--
2025-11-12 17:55
test_undocumented_details.pyo
2.03
KB
-rw-r--r--
2025-11-12 17:55
test_unicode.py
77.72
KB
-rw-r--r--
2025-11-12 17:54
test_unicode.pyc
64.72
KB
-rw-r--r--
2025-11-12 17:55
test_unicode.pyo
64.72
KB
-rw-r--r--
2025-11-12 17:55
test_unicode_file.py
8.29
KB
-rw-r--r--
2025-11-12 17:54
test_unicode_file.pyc
5.76
KB
-rw-r--r--
2025-11-12 17:55
test_unicode_file.pyo
5.76
KB
-rw-r--r--
2025-11-12 17:55
test_unicodedata.py
11.8
KB
-rw-r--r--
2025-11-12 17:54
test_unicodedata.pyc
11.76
KB
-rw-r--r--
2025-11-12 17:55
test_unicodedata.pyo
11.76
KB
-rw-r--r--
2025-11-12 17:55
test_unittest.py
202
B
-rw-r--r--
2025-11-12 17:54
test_unittest.pyc
517
B
-rw-r--r--
2025-11-12 17:55
test_unittest.pyo
517
B
-rw-r--r--
2025-11-12 17:55
test_univnewlines.py
3.98
KB
-rw-r--r--
2025-11-12 17:54
test_univnewlines.pyc
5.33
KB
-rw-r--r--
2025-11-12 17:55
test_univnewlines.pyo
5.33
KB
-rw-r--r--
2025-11-12 17:55
test_univnewlines2k.py
3.76
KB
-rw-r--r--
2025-11-12 17:54
test_univnewlines2k.pyc
5.24
KB
-rw-r--r--
2025-11-12 17:55
test_univnewlines2k.pyo
5.24
KB
-rw-r--r--
2025-11-12 17:55
test_unpack.py
2.5
KB
-rw-r--r--
2025-11-12 17:54
test_unpack.pyc
2.79
KB
-rw-r--r--
2025-11-12 17:55
test_unpack.pyo
2.79
KB
-rw-r--r--
2025-11-12 17:55
test_urllib.py
38.18
KB
-rw-r--r--
2025-11-12 17:54
test_urllib.pyc
35.87
KB
-rw-r--r--
2025-11-12 17:55
test_urllib.pyo
35.83
KB
-rw-r--r--
2025-11-12 17:55
test_urllib2.py
55.86
KB
-rw-r--r--
2025-11-12 17:54
test_urllib2.pyc
54.43
KB
-rw-r--r--
2025-11-12 17:55
test_urllib2.pyo
54.26
KB
-rw-r--r--
2025-11-12 17:55
test_urllib2_localnet.py
22.75
KB
-rw-r--r--
2025-11-12 17:54
test_urllib2_localnet.pyc
22.76
KB
-rw-r--r--
2025-11-12 17:55
test_urllib2_localnet.pyo
22.69
KB
-rw-r--r--
2025-11-12 17:55
test_urllib2net.py
11.98
KB
-rw-r--r--
2025-11-12 17:54
test_urllib2net.pyc
10.01
KB
-rw-r--r--
2025-11-12 17:55
test_urllib2net.pyo
10.01
KB
-rw-r--r--
2025-11-12 17:55
test_urllibnet.py
7.66
KB
-rw-r--r--
2025-11-12 17:54
test_urllibnet.pyc
8.08
KB
-rw-r--r--
2025-11-12 17:55
test_urllibnet.pyo
8.08
KB
-rw-r--r--
2025-11-12 17:55
test_urlparse.py
34.48
KB
-rw-r--r--
2025-11-12 17:54
test_urlparse.pyc
27.76
KB
-rw-r--r--
2025-11-12 17:55
test_urlparse.pyo
27.76
KB
-rw-r--r--
2025-11-12 17:55
test_userdict.py
10.39
KB
-rw-r--r--
2025-11-12 17:54
test_userdict.pyc
10.25
KB
-rw-r--r--
2025-11-12 17:55
test_userdict.pyo
10.25
KB
-rw-r--r--
2025-11-12 17:55
test_userlist.py
1.85
KB
-rw-r--r--
2025-11-12 17:54
test_userlist.pyc
3.22
KB
-rw-r--r--
2025-11-12 17:55
test_userlist.pyo
3.22
KB
-rw-r--r--
2025-11-12 17:55
test_userstring.py
4.74
KB
-rwxr-xr-x
2025-11-12 17:54
test_userstring.pyc
5.24
KB
-rw-r--r--
2025-11-12 17:55
test_userstring.pyo
5.24
KB
-rw-r--r--
2025-11-12 17:55
test_uu.py
5.62
KB
-rw-r--r--
2025-11-12 17:54
test_uu.pyc
6.67
KB
-rw-r--r--
2025-11-12 17:55
test_uu.pyo
6.67
KB
-rw-r--r--
2025-11-12 17:55
test_uuid.py
20.29
KB
-rw-r--r--
2025-11-12 17:54
test_uuid.pyc
23.24
KB
-rw-r--r--
2025-11-12 17:55
test_uuid.pyo
23.24
KB
-rw-r--r--
2025-11-12 17:55
test_wait3.py
1.04
KB
-rw-r--r--
2025-11-12 17:54
test_wait3.pyc
1.52
KB
-rw-r--r--
2025-11-12 17:55
test_wait3.pyo
1.52
KB
-rw-r--r--
2025-11-12 17:55
test_wait4.py
940
B
-rw-r--r--
2025-11-12 17:54
test_wait4.pyc
1.33
KB
-rw-r--r--
2025-11-12 17:55
test_wait4.pyo
1.33
KB
-rw-r--r--
2025-11-12 17:55
test_warnings.py
31.51
KB
-rw-r--r--
2025-11-12 17:54
test_warnings.pyc
26.95
KB
-rw-r--r--
2025-11-12 17:55
test_warnings.pyo
26.93
KB
-rw-r--r--
2025-11-12 17:55
test_wave.py
1.12
KB
-rw-r--r--
2025-11-12 17:54
test_wave.pyc
1.88
KB
-rw-r--r--
2025-11-12 17:55
test_wave.pyo
1.88
KB
-rw-r--r--
2025-11-12 17:55
test_weakref.py
46.06
KB
-rw-r--r--
2025-11-12 17:54
test_weakref.pyc
47.82
KB
-rw-r--r--
2025-11-12 17:55
test_weakref.pyo
47.82
KB
-rw-r--r--
2025-11-12 17:55
test_weakset.py
15.14
KB
-rw-r--r--
2025-11-12 17:54
test_weakset.pyc
18.83
KB
-rw-r--r--
2025-11-12 17:55
test_weakset.pyo
18.83
KB
-rw-r--r--
2025-11-12 17:55
test_whichdb.py
1.76
KB
-rw-r--r--
2025-11-12 17:54
test_whichdb.pyc
2.21
KB
-rw-r--r--
2025-11-12 17:55
test_whichdb.pyo
2.21
KB
-rw-r--r--
2025-11-12 17:55
test_winreg.py
19.37
KB
-rw-r--r--
2025-11-12 17:54
test_winreg.pyc
14.53
KB
-rw-r--r--
2025-11-12 17:55
test_winreg.pyo
14.53
KB
-rw-r--r--
2025-11-12 17:55
test_winsound.py
8.96
KB
-rw-r--r--
2025-11-12 17:54
test_winsound.pyc
7.82
KB
-rw-r--r--
2025-11-12 17:55
test_winsound.pyo
7.82
KB
-rw-r--r--
2025-11-12 17:55
test_with.py
25.82
KB
-rw-r--r--
2025-11-12 17:54
test_with.pyc
34.27
KB
-rw-r--r--
2025-11-12 17:55
test_with.pyo
34.27
KB
-rw-r--r--
2025-11-12 17:55
test_wsgiref.py
18.67
KB
-rw-r--r--
2025-11-12 17:54
test_wsgiref.pyc
22.87
KB
-rw-r--r--
2025-11-12 17:55
test_wsgiref.pyo
22.87
KB
-rw-r--r--
2025-11-12 17:55
test_xdrlib.py
1.56
KB
-rw-r--r--
2025-11-12 17:54
test_xdrlib.pyc
2.03
KB
-rw-r--r--
2025-11-12 17:55
test_xdrlib.pyo
2.03
KB
-rw-r--r--
2025-11-12 17:55
test_xml_etree.py
52.78
KB
-rw-r--r--
2025-11-12 17:54
test_xml_etree.pyc
58.69
KB
-rw-r--r--
2025-11-12 17:55
test_xml_etree.pyo
58.61
KB
-rw-r--r--
2025-11-12 17:55
test_xml_etree_c.py
1.49
KB
-rw-r--r--
2025-11-12 17:54
test_xml_etree_c.pyc
1.81
KB
-rw-r--r--
2025-11-12 17:55
test_xml_etree_c.pyo
1.81
KB
-rw-r--r--
2025-11-12 17:55
test_xmllib.py
1.27
KB
-rw-r--r--
2025-11-12 17:54
test_xmllib.pyc
2.11
KB
-rw-r--r--
2025-11-12 17:55
test_xmllib.pyo
2.11
KB
-rw-r--r--
2025-11-12 17:55
test_xmlrpc.py
38.93
KB
-rw-r--r--
2025-11-12 17:54
test_xmlrpc.pyc
41.57
KB
-rw-r--r--
2025-11-12 17:55
test_xmlrpc.pyo
41.57
KB
-rw-r--r--
2025-11-12 17:55
test_xpickle.py
8.05
KB
-rw-r--r--
2025-11-12 17:54
test_xpickle.pyc
9.34
KB
-rw-r--r--
2025-11-12 17:55
test_xpickle.pyo
9.34
KB
-rw-r--r--
2025-11-12 17:55
test_xrange.py
7.64
KB
-rw-r--r--
2025-11-12 17:54
test_xrange.pyc
7
KB
-rw-r--r--
2025-11-12 17:55
test_xrange.pyo
7
KB
-rw-r--r--
2025-11-12 17:55
test_zipfile.py
59.61
KB
-rw-r--r--
2025-11-12 17:54
test_zipfile.pyc
58.41
KB
-rw-r--r--
2025-11-12 17:55
test_zipfile.pyo
58.41
KB
-rw-r--r--
2025-11-12 17:55
test_zipfile64.py
4.32
KB
-rw-r--r--
2025-11-12 17:54
test_zipfile64.pyc
4.23
KB
-rw-r--r--
2025-11-12 17:55
test_zipfile64.pyo
4.23
KB
-rw-r--r--
2025-11-12 17:55
test_zipimport.py
16.42
KB
-rw-r--r--
2025-11-12 17:54
test_zipimport.pyc
16.61
KB
-rw-r--r--
2025-11-12 17:55
test_zipimport.pyo
16.61
KB
-rw-r--r--
2025-11-12 17:55
test_zipimport_support.py
10.6
KB
-rw-r--r--
2025-11-12 17:54
test_zipimport_support.pyc
7.13
KB
-rw-r--r--
2025-11-12 17:55
test_zipimport_support.pyo
7.07
KB
-rw-r--r--
2025-11-12 17:55
test_zlib.py
21.8
KB
-rw-r--r--
2025-11-12 17:54
test_zlib.pyc
20.8
KB
-rw-r--r--
2025-11-12 17:55
test_zlib.pyo
20.8
KB
-rw-r--r--
2025-11-12 17:55
testall.py
274
B
-rw-r--r--
2025-11-12 17:54
testall.pyc
392
B
-rw-r--r--
2025-11-12 17:55
testall.pyo
392
B
-rw-r--r--
2025-11-12 17:55
testcodec.py
1.02
KB
-rw-r--r--
2025-11-12 17:54
testcodec.pyc
1.68
KB
-rw-r--r--
2025-11-12 17:55
testcodec.pyo
1.68
KB
-rw-r--r--
2025-11-12 17:55
testimg.uue
70.67
KB
-rw-r--r--
2025-11-12 17:54
testimgr.uue
70.67
KB
-rw-r--r--
2025-11-12 17:54
testrgb.uue
58.63
KB
-rw-r--r--
2025-11-12 17:54
testtar.tar
275
KB
-rw-r--r--
2025-11-12 17:54
tf_inherit_check.py
581
B
-rw-r--r--
2025-11-12 17:54
tf_inherit_check.pyc
542
B
-rw-r--r--
2025-11-12 17:55
tf_inherit_check.pyo
542
B
-rw-r--r--
2025-11-12 17:55
threaded_import_hangers.py
1.38
KB
-rw-r--r--
2025-11-12 17:54
threaded_import_hangers.pyc
1.22
KB
-rw-r--r--
2025-11-12 17:55
threaded_import_hangers.pyo
1.22
KB
-rw-r--r--
2025-11-12 17:55
time_hashlib.py
2.79
KB
-rw-r--r--
2025-11-12 17:54
time_hashlib.pyc
3.19
KB
-rw-r--r--
2025-11-12 17:55
time_hashlib.pyo
3.19
KB
-rw-r--r--
2025-11-12 17:55
tokenize_tests.txt
2.39
KB
-rw-r--r--
2025-11-12 17:54
warning_tests.py
240
B
-rw-r--r--
2025-11-12 17:54
warning_tests.pyc
535
B
-rw-r--r--
2025-11-12 17:55
warning_tests.pyo
535
B
-rw-r--r--
2025-11-12 17:55
win_console_handler.py
1.39
KB
-rw-r--r--
2025-11-12 17:54
win_console_handler.pyc
1.42
KB
-rw-r--r--
2025-11-12 17:55
win_console_handler.pyo
1.42
KB
-rw-r--r--
2025-11-12 17:55
xmltests.py
497
B
-rw-r--r--
2025-11-12 17:54
xmltests.pyc
753
B
-rw-r--r--
2025-11-12 17:55
xmltests.pyo
753
B
-rw-r--r--
2025-11-12 17:55
zipdir.zip
374
B
-rw-r--r--
2025-11-12 17:54
Save
Rename
import unittest from test import test_support from itertools import * from weakref import proxy from decimal import Decimal from fractions import Fraction import sys import operator import random import copy import pickle from functools import reduce maxsize = test_support.MAX_Py_ssize_t minsize = -maxsize-1 def onearg(x): 'Test function of one argument' return 2*x def errfunc(*args): 'Test function that raises an error' raise ValueError def gen3(): 'Non-restartable source sequence' for i in (0, 1, 2): yield i def isEven(x): 'Test predicate' return x%2==0 def isOdd(x): 'Test predicate' return x%2==1 class StopNow: 'Class emulating an empty iterable.' def __iter__(self): return self def next(self): raise StopIteration def take(n, seq): 'Convenience function for partially consuming a long of infinite iterable' return list(islice(seq, n)) def prod(iterable): return reduce(operator.mul, iterable, 1) def fact(n): 'Factorial' return prod(range(1, n+1)) class TestBasicOps(unittest.TestCase): def test_chain(self): def chain2(*iterables): 'Pure python version in the docs' for it in iterables: for element in it: yield element for c in (chain, chain2): self.assertEqual(list(c('abc', 'def')), list('abcdef')) self.assertEqual(list(c('abc')), list('abc')) self.assertEqual(list(c('')), []) self.assertEqual(take(4, c('abc', 'def')), list('abcd')) self.assertRaises(TypeError, list,c(2, 3)) def test_chain_from_iterable(self): self.assertEqual(list(chain.from_iterable(['abc', 'def'])), list('abcdef')) self.assertEqual(list(chain.from_iterable(['abc'])), list('abc')) self.assertEqual(list(chain.from_iterable([''])), []) self.assertEqual(take(4, chain.from_iterable(['abc', 'def'])), list('abcd')) self.assertRaises(TypeError, list, chain.from_iterable([2, 3])) def test_combinations(self): self.assertRaises(TypeError, combinations, 'abc') # missing r argument self.assertRaises(TypeError, combinations, 'abc', 2, 1) # too many arguments self.assertRaises(TypeError, combinations, None) # pool is not iterable self.assertRaises(ValueError, combinations, 'abc', -2) # r is negative self.assertEqual(list(combinations('abc', 32)), []) # r > n self.assertEqual(list(combinations(range(4), 3)), [(0,1,2), (0,1,3), (0,2,3), (1,2,3)]) def combinations1(iterable, r): 'Pure python version shown in the docs' pool = tuple(iterable) n = len(pool) if r > n: return indices = range(r) yield tuple(pool[i] for i in indices) while 1: for i in reversed(range(r)): if indices[i] != i + n - r: break else: return indices[i] += 1 for j in range(i+1, r): indices[j] = indices[j-1] + 1 yield tuple(pool[i] for i in indices) def combinations2(iterable, r): 'Pure python version shown in the docs' pool = tuple(iterable) n = len(pool) for indices in permutations(range(n), r): if sorted(indices) == list(indices): yield tuple(pool[i] for i in indices) def combinations3(iterable, r): 'Pure python version from cwr()' pool = tuple(iterable) n = len(pool) for indices in combinations_with_replacement(range(n), r): if len(set(indices)) == r: yield tuple(pool[i] for i in indices) for n in range(7): values = [5*x-12 for x in range(n)] for r in range(n+2): result = list(combinations(values, r)) self.assertEqual(len(result), 0 if r>n else fact(n) // fact(r) // fact(n-r)) # right number of combs self.assertEqual(len(result), len(set(result))) # no repeats self.assertEqual(result, sorted(result)) # lexicographic order for c in result: self.assertEqual(len(c), r) # r-length combinations self.assertEqual(len(set(c)), r) # no duplicate elements self.assertEqual(list(c), sorted(c)) # keep original ordering self.assertTrue(all(e in values for e in c)) # elements taken from input iterable self.assertEqual(list(c), [e for e in values if e in c]) # comb is a subsequence of the input iterable self.assertEqual(result, list(combinations1(values, r))) # matches first pure python version self.assertEqual(result, list(combinations2(values, r))) # matches second pure python version self.assertEqual(result, list(combinations3(values, r))) # matches second pure python version @test_support.impl_detail("tuple reuse is specific to CPython") def test_combinations_tuple_reuse(self): self.assertEqual(len(set(map(id, combinations('abcde', 3)))), 1) self.assertNotEqual(len(set(map(id, list(combinations('abcde', 3))))), 1) def test_combinations_with_replacement(self): cwr = combinations_with_replacement self.assertRaises(TypeError, cwr, 'abc') # missing r argument self.assertRaises(TypeError, cwr, 'abc', 2, 1) # too many arguments self.assertRaises(TypeError, cwr, None) # pool is not iterable self.assertRaises(ValueError, cwr, 'abc', -2) # r is negative self.assertEqual(list(cwr('ABC', 2)), [('A','A'), ('A','B'), ('A','C'), ('B','B'), ('B','C'), ('C','C')]) def cwr1(iterable, r): 'Pure python version shown in the docs' # number items returned: (n+r-1)! / r! / (n-1)! when n>0 pool = tuple(iterable) n = len(pool) if not n and r: return indices = [0] * r yield tuple(pool[i] for i in indices) while 1: for i in reversed(range(r)): if indices[i] != n - 1: break else: return indices[i:] = [indices[i] + 1] * (r - i) yield tuple(pool[i] for i in indices) def cwr2(iterable, r): 'Pure python version shown in the docs' pool = tuple(iterable) n = len(pool) for indices in product(range(n), repeat=r): if sorted(indices) == list(indices): yield tuple(pool[i] for i in indices) def numcombs(n, r): if not n: return 0 if r else 1 return fact(n+r-1) // fact(r) // fact(n-1) for n in range(7): values = [5*x-12 for x in range(n)] for r in range(n+2): result = list(cwr(values, r)) self.assertEqual(len(result), numcombs(n, r)) # right number of combs self.assertEqual(len(result), len(set(result))) # no repeats self.assertEqual(result, sorted(result)) # lexicographic order regular_combs = list(combinations(values, r)) # compare to combs without replacement if n == 0 or r <= 1: self.assertEqual(result, regular_combs) # cases that should be identical else: self.assertTrue(set(result) >= set(regular_combs)) # rest should be supersets of regular combs for c in result: self.assertEqual(len(c), r) # r-length combinations noruns = [k for k,v in groupby(c)] # combo without consecutive repeats self.assertEqual(len(noruns), len(set(noruns))) # no repeats other than consecutive self.assertEqual(list(c), sorted(c)) # keep original ordering self.assertTrue(all(e in values for e in c)) # elements taken from input iterable self.assertEqual(noruns, [e for e in values if e in c]) # comb is a subsequence of the input iterable self.assertEqual(result, list(cwr1(values, r))) # matches first pure python version self.assertEqual(result, list(cwr2(values, r))) # matches second pure python version @test_support.impl_detail("tuple reuse is specific to CPython") def test_combinations_with_replacement_tuple_reuse(self): cwr = combinations_with_replacement self.assertEqual(len(set(map(id, cwr('abcde', 3)))), 1) self.assertNotEqual(len(set(map(id, list(cwr('abcde', 3))))), 1) def test_permutations(self): self.assertRaises(TypeError, permutations) # too few arguments self.assertRaises(TypeError, permutations, 'abc', 2, 1) # too many arguments self.assertRaises(TypeError, permutations, None) # pool is not iterable self.assertRaises(ValueError, permutations, 'abc', -2) # r is negative self.assertEqual(list(permutations('abc', 32)), []) # r > n self.assertRaises(TypeError, permutations, 'abc', 's') # r is not an int or None self.assertEqual(list(permutations(range(3), 2)), [(0,1), (0,2), (1,0), (1,2), (2,0), (2,1)]) def permutations1(iterable, r=None): 'Pure python version shown in the docs' pool = tuple(iterable) n = len(pool) r = n if r is None else r if r > n: return indices = range(n) cycles = range(n, n-r, -1) yield tuple(pool[i] for i in indices[:r]) while n: for i in reversed(range(r)): cycles[i] -= 1 if cycles[i] == 0: indices[i:] = indices[i+1:] + indices[i:i+1] cycles[i] = n - i else: j = cycles[i] indices[i], indices[-j] = indices[-j], indices[i] yield tuple(pool[i] for i in indices[:r]) break else: return def permutations2(iterable, r=None): 'Pure python version shown in the docs' pool = tuple(iterable) n = len(pool) r = n if r is None else r for indices in product(range(n), repeat=r): if len(set(indices)) == r: yield tuple(pool[i] for i in indices) for n in range(7): values = [5*x-12 for x in range(n)] for r in range(n+2): result = list(permutations(values, r)) self.assertEqual(len(result), 0 if r>n else fact(n) // fact(n-r)) # right number of perms self.assertEqual(len(result), len(set(result))) # no repeats self.assertEqual(result, sorted(result)) # lexicographic order for p in result: self.assertEqual(len(p), r) # r-length permutations self.assertEqual(len(set(p)), r) # no duplicate elements self.assertTrue(all(e in values for e in p)) # elements taken from input iterable self.assertEqual(result, list(permutations1(values, r))) # matches first pure python version self.assertEqual(result, list(permutations2(values, r))) # matches second pure python version if r == n: self.assertEqual(result, list(permutations(values, None))) # test r as None self.assertEqual(result, list(permutations(values))) # test default r @test_support.impl_detail("tuple resuse is CPython specific") def test_permutations_tuple_reuse(self): self.assertEqual(len(set(map(id, permutations('abcde', 3)))), 1) self.assertNotEqual(len(set(map(id, list(permutations('abcde', 3))))), 1) def test_combinatorics(self): # Test relationships between product(), permutations(), # combinations() and combinations_with_replacement(). for n in range(6): s = 'ABCDEFG'[:n] for r in range(8): prod = list(product(s, repeat=r)) cwr = list(combinations_with_replacement(s, r)) perm = list(permutations(s, r)) comb = list(combinations(s, r)) # Check size self.assertEqual(len(prod), n**r) self.assertEqual(len(cwr), (fact(n+r-1) // fact(r) // fact(n-1)) if n else (not r)) self.assertEqual(len(perm), 0 if r>n else fact(n) // fact(n-r)) self.assertEqual(len(comb), 0 if r>n else fact(n) // fact(r) // fact(n-r)) # Check lexicographic order without repeated tuples self.assertEqual(prod, sorted(set(prod))) self.assertEqual(cwr, sorted(set(cwr))) self.assertEqual(perm, sorted(set(perm))) self.assertEqual(comb, sorted(set(comb))) # Check interrelationships self.assertEqual(cwr, [t for t in prod if sorted(t)==list(t)]) # cwr: prods which are sorted self.assertEqual(perm, [t for t in prod if len(set(t))==r]) # perm: prods with no dups self.assertEqual(comb, [t for t in perm if sorted(t)==list(t)]) # comb: perms that are sorted self.assertEqual(comb, [t for t in cwr if len(set(t))==r]) # comb: cwrs without dups self.assertEqual(comb, filter(set(cwr).__contains__, perm)) # comb: perm that is a cwr self.assertEqual(comb, filter(set(perm).__contains__, cwr)) # comb: cwr that is a perm self.assertEqual(comb, sorted(set(cwr) & set(perm))) # comb: both a cwr and a perm def test_compress(self): self.assertEqual(list(compress(data='ABCDEF', selectors=[1,0,1,0,1,1])), list('ACEF')) self.assertEqual(list(compress('ABCDEF', [1,0,1,0,1,1])), list('ACEF')) self.assertEqual(list(compress('ABCDEF', [0,0,0,0,0,0])), list('')) self.assertEqual(list(compress('ABCDEF', [1,1,1,1,1,1])), list('ABCDEF')) self.assertEqual(list(compress('ABCDEF', [1,0,1])), list('AC')) self.assertEqual(list(compress('ABC', [0,1,1,1,1,1])), list('BC')) n = 10000 data = chain.from_iterable(repeat(range(6), n)) selectors = chain.from_iterable(repeat((0, 1))) self.assertEqual(list(compress(data, selectors)), [1,3,5] * n) self.assertRaises(TypeError, compress, None, range(6)) # 1st arg not iterable self.assertRaises(TypeError, compress, range(6), None) # 2nd arg not iterable self.assertRaises(TypeError, compress, range(6)) # too few args self.assertRaises(TypeError, compress, range(6), None) # too many args def test_count(self): self.assertEqual(zip('abc',count()), [('a', 0), ('b', 1), ('c', 2)]) self.assertEqual(zip('abc',count(3)), [('a', 3), ('b', 4), ('c', 5)]) self.assertEqual(take(2, zip('abc',count(3))), [('a', 3), ('b', 4)]) self.assertEqual(take(2, zip('abc',count(-1))), [('a', -1), ('b', 0)]) self.assertEqual(take(2, zip('abc',count(-3))), [('a', -3), ('b', -2)]) self.assertRaises(TypeError, count, 2, 3, 4) self.assertRaises(TypeError, count, 'a') self.assertEqual(list(islice(count(maxsize-5), 10)), range(maxsize-5, maxsize+5)) self.assertEqual(list(islice(count(-maxsize-5), 10)), range(-maxsize-5, -maxsize+5)) c = count(3) self.assertEqual(repr(c), 'count(3)') c.next() self.assertEqual(repr(c), 'count(4)') c = count(-9) self.assertEqual(repr(c), 'count(-9)') c.next() self.assertEqual(repr(count(10.25)), 'count(10.25)') self.assertEqual(c.next(), -8) for i in (-sys.maxint-5, -sys.maxint+5 ,-10, -1, 0, 10, sys.maxint-5, sys.maxint+5): # Test repr (ignoring the L in longs) r1 = repr(count(i)).replace('L', '') r2 = 'count(%r)'.__mod__(i).replace('L', '') self.assertEqual(r1, r2) # check copy, deepcopy, pickle for value in -3, 3, sys.maxint-5, sys.maxint+5: c = count(value) self.assertEqual(next(copy.copy(c)), value) self.assertEqual(next(copy.deepcopy(c)), value) self.assertEqual(next(pickle.loads(pickle.dumps(c))), value) def test_count_with_stride(self): self.assertEqual(zip('abc',count(2,3)), [('a', 2), ('b', 5), ('c', 8)]) self.assertEqual(zip('abc',count(start=2,step=3)), [('a', 2), ('b', 5), ('c', 8)]) self.assertEqual(zip('abc',count(step=-1)), [('a', 0), ('b', -1), ('c', -2)]) self.assertEqual(zip('abc',count(2,0)), [('a', 2), ('b', 2), ('c', 2)]) self.assertEqual(zip('abc',count(2,1)), [('a', 2), ('b', 3), ('c', 4)]) self.assertEqual(take(20, count(maxsize-15, 3)), take(20, range(maxsize-15, maxsize+100, 3))) self.assertEqual(take(20, count(-maxsize-15, 3)), take(20, range(-maxsize-15,-maxsize+100, 3))) self.assertEqual(take(3, count(2, 3.25-4j)), [2, 5.25-4j, 8.5-8j]) self.assertEqual(take(3, count(Decimal('1.1'), Decimal('.1'))), [Decimal('1.1'), Decimal('1.2'), Decimal('1.3')]) self.assertEqual(take(3, count(Fraction(2,3), Fraction(1,7))), [Fraction(2,3), Fraction(17,21), Fraction(20,21)]) self.assertEqual(repr(take(3, count(10, 2.5))), repr([10, 12.5, 15.0])) c = count(3, 5) self.assertEqual(repr(c), 'count(3, 5)') c.next() self.assertEqual(repr(c), 'count(8, 5)') c = count(-9, 0) self.assertEqual(repr(c), 'count(-9, 0)') c.next() self.assertEqual(repr(c), 'count(-9, 0)') c = count(-9, -3) self.assertEqual(repr(c), 'count(-9, -3)') c.next() self.assertEqual(repr(c), 'count(-12, -3)') self.assertEqual(repr(c), 'count(-12, -3)') self.assertEqual(repr(count(10.5, 1.25)), 'count(10.5, 1.25)') self.assertEqual(repr(count(10.5, 1)), 'count(10.5)') # suppress step=1 when it's an int self.assertEqual(repr(count(10.5, 1.00)), 'count(10.5, 1.0)') # do show float values lilke 1.0 for i in (-sys.maxint-5, -sys.maxint+5 ,-10, -1, 0, 10, sys.maxint-5, sys.maxint+5): for j in (-sys.maxint-5, -sys.maxint+5 ,-10, -1, 0, 1, 10, sys.maxint-5, sys.maxint+5): # Test repr (ignoring the L in longs) r1 = repr(count(i, j)).replace('L', '') if j == 1: r2 = ('count(%r)' % i).replace('L', '') else: r2 = ('count(%r, %r)' % (i, j)).replace('L', '') self.assertEqual(r1, r2) def test_cycle(self): self.assertEqual(take(10, cycle('abc')), list('abcabcabca')) self.assertEqual(list(cycle('')), []) self.assertRaises(TypeError, cycle) self.assertRaises(TypeError, cycle, 5) self.assertEqual(list(islice(cycle(gen3()),10)), [0,1,2,0,1,2,0,1,2,0]) def test_groupby(self): # Check whether it accepts arguments correctly self.assertEqual([], list(groupby([]))) self.assertEqual([], list(groupby([], key=id))) self.assertRaises(TypeError, list, groupby('abc', [])) self.assertRaises(TypeError, groupby, None) self.assertRaises(TypeError, groupby, 'abc', lambda x:x, 10) # Check normal input s = [(0, 10, 20), (0, 11,21), (0,12,21), (1,13,21), (1,14,22), (2,15,22), (3,16,23), (3,17,23)] dup = [] for k, g in groupby(s, lambda r:r[0]): for elem in g: self.assertEqual(k, elem[0]) dup.append(elem) self.assertEqual(s, dup) # Check nested case dup = [] for k, g in groupby(s, lambda r:r[0]): for ik, ig in groupby(g, lambda r:r[2]): for elem in ig: self.assertEqual(k, elem[0]) self.assertEqual(ik, elem[2]) dup.append(elem) self.assertEqual(s, dup) # Check case where inner iterator is not used keys = [k for k, g in groupby(s, lambda r:r[0])] expectedkeys = set([r[0] for r in s]) self.assertEqual(set(keys), expectedkeys) self.assertEqual(len(keys), len(expectedkeys)) # Exercise pipes and filters style s = 'abracadabra' # sort s | uniq r = [k for k, g in groupby(sorted(s))] self.assertEqual(r, ['a', 'b', 'c', 'd', 'r']) # sort s | uniq -d r = [k for k, g in groupby(sorted(s)) if list(islice(g,1,2))] self.assertEqual(r, ['a', 'b', 'r']) # sort s | uniq -c r = [(len(list(g)), k) for k, g in groupby(sorted(s))] self.assertEqual(r, [(5, 'a'), (2, 'b'), (1, 'c'), (1, 'd'), (2, 'r')]) # sort s | uniq -c | sort -rn | head -3 r = sorted([(len(list(g)) , k) for k, g in groupby(sorted(s))], reverse=True)[:3] self.assertEqual(r, [(5, 'a'), (2, 'r'), (2, 'b')]) # iter.next failure class ExpectedError(Exception): pass def delayed_raise(n=0): for i in range(n): yield 'yo' raise ExpectedError def gulp(iterable, keyp=None, func=list): return [func(g) for k, g in groupby(iterable, keyp)] # iter.next failure on outer object self.assertRaises(ExpectedError, gulp, delayed_raise(0)) # iter.next failure on inner object self.assertRaises(ExpectedError, gulp, delayed_raise(1)) # __cmp__ failure class DummyCmp: def __cmp__(self, dst): raise ExpectedError s = [DummyCmp(), DummyCmp(), None] # __cmp__ failure on outer object self.assertRaises(ExpectedError, gulp, s, func=id) # __cmp__ failure on inner object self.assertRaises(ExpectedError, gulp, s) # keyfunc failure def keyfunc(obj): if keyfunc.skip > 0: keyfunc.skip -= 1 return obj else: raise ExpectedError # keyfunc failure on outer object keyfunc.skip = 0 self.assertRaises(ExpectedError, gulp, [None], keyfunc) keyfunc.skip = 1 self.assertRaises(ExpectedError, gulp, [None, None], keyfunc) def test_ifilter(self): self.assertEqual(list(ifilter(isEven, range(6))), [0,2,4]) self.assertEqual(list(ifilter(None, [0,1,0,2,0])), [1,2]) self.assertEqual(list(ifilter(bool, [0,1,0,2,0])), [1,2]) self.assertEqual(take(4, ifilter(isEven, count())), [0,2,4,6]) self.assertRaises(TypeError, ifilter) self.assertRaises(TypeError, ifilter, lambda x:x) self.assertRaises(TypeError, ifilter, lambda x:x, range(6), 7) self.assertRaises(TypeError, ifilter, isEven, 3) self.assertRaises(TypeError, ifilter(range(6), range(6)).next) def test_ifilterfalse(self): self.assertEqual(list(ifilterfalse(isEven, range(6))), [1,3,5]) self.assertEqual(list(ifilterfalse(None, [0,1,0,2,0])), [0,0,0]) self.assertEqual(list(ifilterfalse(bool, [0,1,0,2,0])), [0,0,0]) self.assertEqual(take(4, ifilterfalse(isEven, count())), [1,3,5,7]) self.assertRaises(TypeError, ifilterfalse) self.assertRaises(TypeError, ifilterfalse, lambda x:x) self.assertRaises(TypeError, ifilterfalse, lambda x:x, range(6), 7) self.assertRaises(TypeError, ifilterfalse, isEven, 3) self.assertRaises(TypeError, ifilterfalse(range(6), range(6)).next) def test_izip(self): ans = [(x,y) for x, y in izip('abc',count())] self.assertEqual(ans, [('a', 0), ('b', 1), ('c', 2)]) self.assertEqual(list(izip('abc', range(6))), zip('abc', range(6))) self.assertEqual(list(izip('abcdef', range(3))), zip('abcdef', range(3))) self.assertEqual(take(3,izip('abcdef', count())), zip('abcdef', range(3))) self.assertEqual(list(izip('abcdef')), zip('abcdef')) self.assertEqual(list(izip()), zip()) self.assertRaises(TypeError, izip, 3) self.assertRaises(TypeError, izip, range(3), 3) self.assertEqual([tuple(list(pair)) for pair in izip('abc', 'def')], zip('abc', 'def')) self.assertEqual([pair for pair in izip('abc', 'def')], zip('abc', 'def')) @test_support.impl_detail("tuple reuse is specific to CPython") def test_izip_tuple_resuse(self): ids = map(id, izip('abc', 'def')) self.assertEqual(min(ids), max(ids)) ids = map(id, list(izip('abc', 'def'))) self.assertEqual(len(dict.fromkeys(ids)), len(ids)) def test_iziplongest(self): for args in [ ['abc', range(6)], [range(6), 'abc'], [range(1000), range(2000,2100), range(3000,3050)], [range(1000), range(0), range(3000,3050), range(1200), range(1500)], [range(1000), range(0), range(3000,3050), range(1200), range(1500), range(0)], ]: # target = map(None, *args) <- this raises a py3k warning # this is the replacement: target = [tuple([arg[i] if i < len(arg) else None for arg in args]) for i in range(max(map(len, args)))] self.assertEqual(list(izip_longest(*args)), target) self.assertEqual(list(izip_longest(*args, **{})), target) target = [tuple((e is None and 'X' or e) for e in t) for t in target] # Replace None fills with 'X' self.assertEqual(list(izip_longest(*args, **dict(fillvalue='X'))), target) self.assertEqual(take(3,izip_longest('abcdef', count())), zip('abcdef', range(3))) # take 3 from infinite input self.assertEqual(list(izip_longest()), zip()) self.assertEqual(list(izip_longest([])), zip([])) self.assertEqual(list(izip_longest('abcdef')), zip('abcdef')) self.assertEqual(list(izip_longest('abc', 'defg', **{})), zip(list('abc') + [None], 'defg')) # empty keyword dict self.assertRaises(TypeError, izip_longest, 3) self.assertRaises(TypeError, izip_longest, range(3), 3) for stmt in [ "izip_longest('abc', fv=1)", "izip_longest('abc', fillvalue=1, bogus_keyword=None)", ]: try: eval(stmt, globals(), locals()) except TypeError: pass else: self.fail('Did not raise Type in: ' + stmt) self.assertEqual([tuple(list(pair)) for pair in izip_longest('abc', 'def')], zip('abc', 'def')) self.assertEqual([pair for pair in izip_longest('abc', 'def')], zip('abc', 'def')) @test_support.impl_detail("tuple reuse is specific to CPython") def test_izip_longest_tuple_reuse(self): ids = map(id, izip_longest('abc', 'def')) self.assertEqual(min(ids), max(ids)) ids = map(id, list(izip_longest('abc', 'def'))) self.assertEqual(len(dict.fromkeys(ids)), len(ids)) def test_bug_7244(self): class Repeater(object): # this class is similar to itertools.repeat def __init__(self, o, t, e): self.o = o self.t = int(t) self.e = e def __iter__(self): # its iterator is itself return self def next(self): if self.t > 0: self.t -= 1 return self.o else: raise self.e # Formerly this code in would fail in debug mode # with Undetected Error and Stop Iteration r1 = Repeater(1, 3, StopIteration) r2 = Repeater(2, 4, StopIteration) def run(r1, r2): result = [] for i, j in izip_longest(r1, r2, fillvalue=0): with test_support.captured_output('stdout'): print (i, j) result.append((i, j)) return result self.assertEqual(run(r1, r2), [(1,2), (1,2), (1,2), (0,2)]) # Formerly, the RuntimeError would be lost # and StopIteration would stop as expected r1 = Repeater(1, 3, RuntimeError) r2 = Repeater(2, 4, StopIteration) it = izip_longest(r1, r2, fillvalue=0) self.assertEqual(next(it), (1, 2)) self.assertEqual(next(it), (1, 2)) self.assertEqual(next(it), (1, 2)) self.assertRaises(RuntimeError, next, it) def test_product(self): for args, result in [ ([], [()]), # zero iterables (['ab'], [('a',), ('b',)]), # one iterable ([range(2), range(3)], [(0,0), (0,1), (0,2), (1,0), (1,1), (1,2)]), # two iterables ([range(0), range(2), range(3)], []), # first iterable with zero length ([range(2), range(0), range(3)], []), # middle iterable with zero length ([range(2), range(3), range(0)], []), # last iterable with zero length ]: self.assertEqual(list(product(*args)), result) for r in range(4): self.assertEqual(list(product(*(args*r))), list(product(*args, **dict(repeat=r)))) self.assertEqual(len(list(product(*[range(7)]*6))), 7**6) self.assertRaises(TypeError, product, range(6), None) def product1(*args, **kwds): pools = map(tuple, args) * kwds.get('repeat', 1) n = len(pools) if n == 0: yield () return if any(len(pool) == 0 for pool in pools): return indices = [0] * n yield tuple(pool[i] for pool, i in zip(pools, indices)) while 1: for i in reversed(range(n)): # right to left if indices[i] == len(pools[i]) - 1: continue indices[i] += 1 for j in range(i+1, n): indices[j] = 0 yield tuple(pool[i] for pool, i in zip(pools, indices)) break else: return def product2(*args, **kwds): 'Pure python version used in docs' pools = map(tuple, args) * kwds.get('repeat', 1) result = [[]] for pool in pools: result = [x+[y] for x in result for y in pool] for prod in result: yield tuple(prod) argtypes = ['', 'abc', '', xrange(0), xrange(4), dict(a=1, b=2, c=3), set('abcdefg'), range(11), tuple(range(13))] for i in range(100): args = [random.choice(argtypes) for j in range(random.randrange(5))] expected_len = prod(map(len, args)) self.assertEqual(len(list(product(*args))), expected_len) self.assertEqual(list(product(*args)), list(product1(*args))) self.assertEqual(list(product(*args)), list(product2(*args))) args = map(iter, args) self.assertEqual(len(list(product(*args))), expected_len) @test_support.impl_detail("tuple reuse is specific to CPython") def test_product_tuple_reuse(self): self.assertEqual(len(set(map(id, product('abc', 'def')))), 1) self.assertNotEqual(len(set(map(id, list(product('abc', 'def'))))), 1) def test_repeat(self): self.assertEqual(list(repeat(object='a', times=3)), ['a', 'a', 'a']) self.assertEqual(zip(xrange(3),repeat('a')), [(0, 'a'), (1, 'a'), (2, 'a')]) self.assertEqual(list(repeat('a', 3)), ['a', 'a', 'a']) self.assertEqual(take(3, repeat('a')), ['a', 'a', 'a']) self.assertEqual(list(repeat('a', 0)), []) self.assertEqual(list(repeat('a', -3)), []) self.assertRaises(TypeError, repeat) self.assertRaises(TypeError, repeat, None, 3, 4) self.assertRaises(TypeError, repeat, None, 'a') r = repeat(1+0j) self.assertEqual(repr(r), 'repeat((1+0j))') r = repeat(1+0j, 5) self.assertEqual(repr(r), 'repeat((1+0j), 5)') list(r) self.assertEqual(repr(r), 'repeat((1+0j), 0)') def test_imap(self): self.assertEqual(list(imap(operator.pow, range(3), range(1,7))), [0**1, 1**2, 2**3]) self.assertEqual(list(imap(None, 'abc', range(5))), [('a',0),('b',1),('c',2)]) self.assertEqual(list(imap(None, 'abc', count())), [('a',0),('b',1),('c',2)]) self.assertEqual(take(2,imap(None, 'abc', count())), [('a',0),('b',1)]) self.assertEqual(list(imap(operator.pow, [])), []) self.assertRaises(TypeError, imap) self.assertRaises(TypeError, imap, operator.neg) self.assertRaises(TypeError, imap(10, range(5)).next) self.assertRaises(ValueError, imap(errfunc, [4], [5]).next) self.assertRaises(TypeError, imap(onearg, [4], [5]).next) def test_starmap(self): self.assertEqual(list(starmap(operator.pow, zip(range(3), range(1,7)))), [0**1, 1**2, 2**3]) self.assertEqual(take(3, starmap(operator.pow, izip(count(), count(1)))), [0**1, 1**2, 2**3]) self.assertEqual(list(starmap(operator.pow, [])), []) self.assertEqual(list(starmap(operator.pow, [iter([4,5])])), [4**5]) self.assertRaises(TypeError, list, starmap(operator.pow, [None])) self.assertRaises(TypeError, starmap) self.assertRaises(TypeError, starmap, operator.pow, [(4,5)], 'extra') self.assertRaises(TypeError, starmap(10, [(4,5)]).next) self.assertRaises(ValueError, starmap(errfunc, [(4,5)]).next) self.assertRaises(TypeError, starmap(onearg, [(4,5)]).next) def test_islice(self): for args in [ # islice(args) should agree with range(args) (10, 20, 3), (10, 3, 20), (10, 20), (10, 3), (20,) ]: self.assertEqual(list(islice(xrange(100), *args)), range(*args)) for args, tgtargs in [ # Stop when seqn is exhausted ((10, 110, 3), ((10, 100, 3))), ((10, 110), ((10, 100))), ((110,), (100,)) ]: self.assertEqual(list(islice(xrange(100), *args)), range(*tgtargs)) # Test stop=None self.assertEqual(list(islice(xrange(10), None)), range(10)) self.assertEqual(list(islice(xrange(10), None, None)), range(10)) self.assertEqual(list(islice(xrange(10), None, None, None)), range(10)) self.assertEqual(list(islice(xrange(10), 2, None)), range(2, 10)) self.assertEqual(list(islice(xrange(10), 1, None, 2)), range(1, 10, 2)) # Test number of items consumed SF #1171417 it = iter(range(10)) self.assertEqual(list(islice(it, 3)), range(3)) self.assertEqual(list(it), range(3, 10)) # Test invalid arguments self.assertRaises(TypeError, islice, xrange(10)) self.assertRaises(TypeError, islice, xrange(10), 1, 2, 3, 4) self.assertRaises(ValueError, islice, xrange(10), -5, 10, 1) self.assertRaises(ValueError, islice, xrange(10), 1, -5, -1) self.assertRaises(ValueError, islice, xrange(10), 1, 10, -1) self.assertRaises(ValueError, islice, xrange(10), 1, 10, 0) self.assertRaises(ValueError, islice, xrange(10), 'a') self.assertRaises(ValueError, islice, xrange(10), 'a', 1) self.assertRaises(ValueError, islice, xrange(10), 1, 'a') self.assertRaises(ValueError, islice, xrange(10), 'a', 1, 1) self.assertRaises(ValueError, islice, xrange(10), 1, 'a', 1) self.assertEqual(len(list(islice(count(), 1, 10, maxsize))), 1) # Issue #10323: Less islice in a predictable state c = count() self.assertEqual(list(islice(c, 1, 3, 50)), [1]) self.assertEqual(next(c), 3) def test_takewhile(self): data = [1, 3, 5, 20, 2, 4, 6, 8] underten = lambda x: x<10 self.assertEqual(list(takewhile(underten, data)), [1, 3, 5]) self.assertEqual(list(takewhile(underten, [])), []) self.assertRaises(TypeError, takewhile) self.assertRaises(TypeError, takewhile, operator.pow) self.assertRaises(TypeError, takewhile, operator.pow, [(4,5)], 'extra') self.assertRaises(TypeError, takewhile(10, [(4,5)]).next) self.assertRaises(ValueError, takewhile(errfunc, [(4,5)]).next) t = takewhile(bool, [1, 1, 1, 0, 0, 0]) self.assertEqual(list(t), [1, 1, 1]) self.assertRaises(StopIteration, t.next) def test_dropwhile(self): data = [1, 3, 5, 20, 2, 4, 6, 8] underten = lambda x: x<10 self.assertEqual(list(dropwhile(underten, data)), [20, 2, 4, 6, 8]) self.assertEqual(list(dropwhile(underten, [])), []) self.assertRaises(TypeError, dropwhile) self.assertRaises(TypeError, dropwhile, operator.pow) self.assertRaises(TypeError, dropwhile, operator.pow, [(4,5)], 'extra') self.assertRaises(TypeError, dropwhile(10, [(4,5)]).next) self.assertRaises(ValueError, dropwhile(errfunc, [(4,5)]).next) def test_tee(self): n = 200 def irange(n): for i in xrange(n): yield i a, b = tee([]) # test empty iterator self.assertEqual(list(a), []) self.assertEqual(list(b), []) a, b = tee(irange(n)) # test 100% interleaved self.assertEqual(zip(a,b), zip(range(n),range(n))) a, b = tee(irange(n)) # test 0% interleaved self.assertEqual(list(a), range(n)) self.assertEqual(list(b), range(n)) a, b = tee(irange(n)) # test dealloc of leading iterator for i in xrange(100): self.assertEqual(a.next(), i) del a self.assertEqual(list(b), range(n)) a, b = tee(irange(n)) # test dealloc of trailing iterator for i in xrange(100): self.assertEqual(a.next(), i) del b self.assertEqual(list(a), range(100, n)) for j in xrange(5): # test randomly interleaved order = [0]*n + [1]*n random.shuffle(order) lists = ([], []) its = tee(irange(n)) for i in order: value = its[i].next() lists[i].append(value) self.assertEqual(lists[0], range(n)) self.assertEqual(lists[1], range(n)) # test argument format checking self.assertRaises(TypeError, tee) self.assertRaises(TypeError, tee, 3) self.assertRaises(TypeError, tee, [1,2], 'x') self.assertRaises(TypeError, tee, [1,2], 3, 'x') # tee object should be instantiable a, b = tee('abc') c = type(a)('def') self.assertEqual(list(c), list('def')) # test long-lagged and multi-way split a, b, c = tee(xrange(2000), 3) for i in xrange(100): self.assertEqual(a.next(), i) self.assertEqual(list(b), range(2000)) self.assertEqual([c.next(), c.next()], range(2)) self.assertEqual(list(a), range(100,2000)) self.assertEqual(list(c), range(2,2000)) # test values of n self.assertRaises(TypeError, tee, 'abc', 'invalid') self.assertRaises(ValueError, tee, [], -1) for n in xrange(5): result = tee('abc', n) self.assertEqual(type(result), tuple) self.assertEqual(len(result), n) self.assertEqual(map(list, result), [list('abc')]*n) # tee pass-through to copyable iterator a, b = tee('abc') c, d = tee(a) self.assertTrue(a is c) # test tee_new t1, t2 = tee('abc') tnew = type(t1) self.assertRaises(TypeError, tnew) self.assertRaises(TypeError, tnew, 10) t3 = tnew(t1) self.assertTrue(list(t1) == list(t2) == list(t3) == list('abc')) # test that tee objects are weak referencable a, b = tee(xrange(10)) p = proxy(a) self.assertEqual(getattr(p, '__class__'), type(b)) del a self.assertRaises(ReferenceError, getattr, p, '__class__') # Issue 13454: Crash when deleting backward iterator from tee() def test_tee_del_backward(self): forward, backward = tee(repeat(None, 20000000)) any(forward) # exhaust the iterator del backward def test_StopIteration(self): self.assertRaises(StopIteration, izip().next) for f in (chain, cycle, izip, groupby): self.assertRaises(StopIteration, f([]).next) self.assertRaises(StopIteration, f(StopNow()).next) self.assertRaises(StopIteration, islice([], None).next) self.assertRaises(StopIteration, islice(StopNow(), None).next) p, q = tee([]) self.assertRaises(StopIteration, p.next) self.assertRaises(StopIteration, q.next) p, q = tee(StopNow()) self.assertRaises(StopIteration, p.next) self.assertRaises(StopIteration, q.next) self.assertRaises(StopIteration, repeat(None, 0).next) for f in (ifilter, ifilterfalse, imap, takewhile, dropwhile, starmap): self.assertRaises(StopIteration, f(lambda x:x, []).next) self.assertRaises(StopIteration, f(lambda x:x, StopNow()).next) class TestExamples(unittest.TestCase): def test_chain(self): self.assertEqual(''.join(chain('ABC', 'DEF')), 'ABCDEF') def test_chain_from_iterable(self): self.assertEqual(''.join(chain.from_iterable(['ABC', 'DEF'])), 'ABCDEF') def test_combinations(self): self.assertEqual(list(combinations('ABCD', 2)), [('A','B'), ('A','C'), ('A','D'), ('B','C'), ('B','D'), ('C','D')]) self.assertEqual(list(combinations(range(4), 3)), [(0,1,2), (0,1,3), (0,2,3), (1,2,3)]) def test_combinations_with_replacement(self): self.assertEqual(list(combinations_with_replacement('ABC', 2)), [('A','A'), ('A','B'), ('A','C'), ('B','B'), ('B','C'), ('C','C')]) def test_compress(self): self.assertEqual(list(compress('ABCDEF', [1,0,1,0,1,1])), list('ACEF')) def test_count(self): self.assertEqual(list(islice(count(10), 5)), [10, 11, 12, 13, 14]) def test_cycle(self): self.assertEqual(list(islice(cycle('ABCD'), 12)), list('ABCDABCDABCD')) def test_dropwhile(self): self.assertEqual(list(dropwhile(lambda x: x<5, [1,4,6,4,1])), [6,4,1]) def test_groupby(self): self.assertEqual([k for k, g in groupby('AAAABBBCCDAABBB')], list('ABCDAB')) self.assertEqual([(list(g)) for k, g in groupby('AAAABBBCCD')], [list('AAAA'), list('BBB'), list('CC'), list('D')]) def test_ifilter(self): self.assertEqual(list(ifilter(lambda x: x%2, range(10))), [1,3,5,7,9]) def test_ifilterfalse(self): self.assertEqual(list(ifilterfalse(lambda x: x%2, range(10))), [0,2,4,6,8]) def test_imap(self): self.assertEqual(list(imap(pow, (2,3,10), (5,2,3))), [32, 9, 1000]) def test_islice(self): self.assertEqual(list(islice('ABCDEFG', 2)), list('AB')) self.assertEqual(list(islice('ABCDEFG', 2, 4)), list('CD')) self.assertEqual(list(islice('ABCDEFG', 2, None)), list('CDEFG')) self.assertEqual(list(islice('ABCDEFG', 0, None, 2)), list('ACEG')) def test_izip(self): self.assertEqual(list(izip('ABCD', 'xy')), [('A', 'x'), ('B', 'y')]) def test_izip_longest(self): self.assertEqual(list(izip_longest('ABCD', 'xy', fillvalue='-')), [('A', 'x'), ('B', 'y'), ('C', '-'), ('D', '-')]) def test_permutations(self): self.assertEqual(list(permutations('ABCD', 2)), map(tuple, 'AB AC AD BA BC BD CA CB CD DA DB DC'.split())) self.assertEqual(list(permutations(range(3))), [(0,1,2), (0,2,1), (1,0,2), (1,2,0), (2,0,1), (2,1,0)]) def test_product(self): self.assertEqual(list(product('ABCD', 'xy')), map(tuple, 'Ax Ay Bx By Cx Cy Dx Dy'.split())) self.assertEqual(list(product(range(2), repeat=3)), [(0,0,0), (0,0,1), (0,1,0), (0,1,1), (1,0,0), (1,0,1), (1,1,0), (1,1,1)]) def test_repeat(self): self.assertEqual(list(repeat(10, 3)), [10, 10, 10]) def test_stapmap(self): self.assertEqual(list(starmap(pow, [(2,5), (3,2), (10,3)])), [32, 9, 1000]) def test_takewhile(self): self.assertEqual(list(takewhile(lambda x: x<5, [1,4,6,4,1])), [1,4]) class TestGC(unittest.TestCase): def makecycle(self, iterator, container): container.append(iterator) iterator.next() del container, iterator def test_chain(self): a = [] self.makecycle(chain(a), a) def test_chain_from_iterable(self): a = [] self.makecycle(chain.from_iterable([a]), a) def test_combinations(self): a = [] self.makecycle(combinations([1,2,a,3], 3), a) def test_combinations_with_replacement(self): a = [] self.makecycle(combinations_with_replacement([1,2,a,3], 3), a) def test_compress(self): a = [] self.makecycle(compress('ABCDEF', [1,0,1,0,1,0]), a) def test_count(self): a = [] Int = type('Int', (int,), dict(x=a)) self.makecycle(count(Int(0), Int(1)), a) def test_cycle(self): a = [] self.makecycle(cycle([a]*2), a) def test_dropwhile(self): a = [] self.makecycle(dropwhile(bool, [0, a, a]), a) def test_groupby(self): a = [] self.makecycle(groupby([a]*2, lambda x:x), a) def test_issue2246(self): # Issue 2246 -- the _grouper iterator was not included in GC n = 10 keyfunc = lambda x: x for i, j in groupby(xrange(n), key=keyfunc): keyfunc.__dict__.setdefault('x',[]).append(j) def test_ifilter(self): a = [] self.makecycle(ifilter(lambda x:True, [a]*2), a) def test_ifilterfalse(self): a = [] self.makecycle(ifilterfalse(lambda x:False, a), a) def test_izip(self): a = [] self.makecycle(izip([a]*2, [a]*3), a) def test_izip_longest(self): a = [] self.makecycle(izip_longest([a]*2, [a]*3), a) b = [a, None] self.makecycle(izip_longest([a]*2, [a]*3, fillvalue=b), a) def test_imap(self): a = [] self.makecycle(imap(lambda x:x, [a]*2), a) def test_islice(self): a = [] self.makecycle(islice([a]*2, None), a) def test_permutations(self): a = [] self.makecycle(permutations([1,2,a,3], 3), a) def test_product(self): a = [] self.makecycle(product([1,2,a,3], repeat=3), a) def test_repeat(self): a = [] self.makecycle(repeat(a), a) def test_starmap(self): a = [] self.makecycle(starmap(lambda *t: t, [(a,a)]*2), a) def test_takewhile(self): a = [] self.makecycle(takewhile(bool, [1, 0, a, a]), a) def R(seqn): 'Regular generator' for i in seqn: yield i class G: 'Sequence using __getitem__' def __init__(self, seqn): self.seqn = seqn def __getitem__(self, i): return self.seqn[i] class I: 'Sequence using iterator protocol' def __init__(self, seqn): self.seqn = seqn self.i = 0 def __iter__(self): return self def next(self): if self.i >= len(self.seqn): raise StopIteration v = self.seqn[self.i] self.i += 1 return v class Ig: 'Sequence using iterator protocol defined with a generator' def __init__(self, seqn): self.seqn = seqn self.i = 0 def __iter__(self): for val in self.seqn: yield val class X: 'Missing __getitem__ and __iter__' def __init__(self, seqn): self.seqn = seqn self.i = 0 def next(self): if self.i >= len(self.seqn): raise StopIteration v = self.seqn[self.i] self.i += 1 return v class N: 'Iterator missing next()' def __init__(self, seqn): self.seqn = seqn self.i = 0 def __iter__(self): return self class E: 'Test propagation of exceptions' def __init__(self, seqn): self.seqn = seqn self.i = 0 def __iter__(self): return self def next(self): 3 // 0 class S: 'Test immediate stop' def __init__(self, seqn): pass def __iter__(self): return self def next(self): raise StopIteration def L(seqn): 'Test multiple tiers of iterators' return chain(imap(lambda x:x, R(Ig(G(seqn))))) class TestVariousIteratorArgs(unittest.TestCase): def test_chain(self): for s in ("123", "", range(1000), ('do', 1.2), xrange(2000,2200,5)): for g in (G, I, Ig, S, L, R): self.assertEqual(list(chain(g(s))), list(g(s))) self.assertEqual(list(chain(g(s), g(s))), list(g(s))+list(g(s))) self.assertRaises(TypeError, list, chain(X(s))) self.assertRaises(TypeError, list, chain(N(s))) self.assertRaises(ZeroDivisionError, list, chain(E(s))) def test_compress(self): for s in ("123", "", range(1000), ('do', 1.2), xrange(2000,2200,5)): n = len(s) for g in (G, I, Ig, S, L, R): self.assertEqual(list(compress(g(s), repeat(1))), list(g(s))) self.assertRaises(TypeError, compress, X(s), repeat(1)) self.assertRaises(TypeError, list, compress(N(s), repeat(1))) self.assertRaises(ZeroDivisionError, list, compress(E(s), repeat(1))) def test_product(self): for s in ("123", "", range(1000), ('do', 1.2), xrange(2000,2200,5)): self.assertRaises(TypeError, product, X(s)) self.assertRaises(TypeError, product, N(s)) self.assertRaises(ZeroDivisionError, product, E(s)) def test_cycle(self): for s in ("123", "", range(1000), ('do', 1.2), xrange(2000,2200,5)): for g in (G, I, Ig, S, L, R): tgtlen = len(s) * 3 expected = list(g(s))*3 actual = list(islice(cycle(g(s)), tgtlen)) self.assertEqual(actual, expected) self.assertRaises(TypeError, cycle, X(s)) self.assertRaises(TypeError, list, cycle(N(s))) self.assertRaises(ZeroDivisionError, list, cycle(E(s))) def test_groupby(self): for s in (range(10), range(0), range(1000), (7,11), xrange(2000,2200,5)): for g in (G, I, Ig, S, L, R): self.assertEqual([k for k, sb in groupby(g(s))], list(g(s))) self.assertRaises(TypeError, groupby, X(s)) self.assertRaises(TypeError, list, groupby(N(s))) self.assertRaises(ZeroDivisionError, list, groupby(E(s))) def test_ifilter(self): for s in (range(10), range(0), range(1000), (7,11), xrange(2000,2200,5)): for g in (G, I, Ig, S, L, R): self.assertEqual(list(ifilter(isEven, g(s))), filter(isEven, g(s))) self.assertRaises(TypeError, ifilter, isEven, X(s)) self.assertRaises(TypeError, list, ifilter(isEven, N(s))) self.assertRaises(ZeroDivisionError, list, ifilter(isEven, E(s))) def test_ifilterfalse(self): for s in (range(10), range(0), range(1000), (7,11), xrange(2000,2200,5)): for g in (G, I, Ig, S, L, R): self.assertEqual(list(ifilterfalse(isEven, g(s))), filter(isOdd, g(s))) self.assertRaises(TypeError, ifilterfalse, isEven, X(s)) self.assertRaises(TypeError, list, ifilterfalse(isEven, N(s))) self.assertRaises(ZeroDivisionError, list, ifilterfalse(isEven, E(s))) def test_izip(self): for s in ("123", "", range(1000), ('do', 1.2), xrange(2000,2200,5)): for g in (G, I, Ig, S, L, R): self.assertEqual(list(izip(g(s))), zip(g(s))) self.assertEqual(list(izip(g(s), g(s))), zip(g(s), g(s))) self.assertRaises(TypeError, izip, X(s)) self.assertRaises(TypeError, list, izip(N(s))) self.assertRaises(ZeroDivisionError, list, izip(E(s))) def test_iziplongest(self): for s in ("123", "", range(1000), ('do', 1.2), xrange(2000,2200,5)): for g in (G, I, Ig, S, L, R): self.assertEqual(list(izip_longest(g(s))), zip(g(s))) self.assertEqual(list(izip_longest(g(s), g(s))), zip(g(s), g(s))) self.assertRaises(TypeError, izip_longest, X(s)) self.assertRaises(TypeError, list, izip_longest(N(s))) self.assertRaises(ZeroDivisionError, list, izip_longest(E(s))) def test_imap(self): for s in (range(10), range(0), range(100), (7,11), xrange(20,50,5)): for g in (G, I, Ig, S, L, R): self.assertEqual(list(imap(onearg, g(s))), map(onearg, g(s))) self.assertEqual(list(imap(operator.pow, g(s), g(s))), map(operator.pow, g(s), g(s))) self.assertRaises(TypeError, imap, onearg, X(s)) self.assertRaises(TypeError, list, imap(onearg, N(s))) self.assertRaises(ZeroDivisionError, list, imap(onearg, E(s))) def test_islice(self): for s in ("12345", "", range(1000), ('do', 1.2), xrange(2000,2200,5)): for g in (G, I, Ig, S, L, R): self.assertEqual(list(islice(g(s),1,None,2)), list(g(s))[1::2]) self.assertRaises(TypeError, islice, X(s), 10) self.assertRaises(TypeError, list, islice(N(s), 10)) self.assertRaises(ZeroDivisionError, list, islice(E(s), 10)) def test_starmap(self): for s in (range(10), range(0), range(100), (7,11), xrange(20,50,5)): for g in (G, I, Ig, S, L, R): ss = zip(s, s) self.assertEqual(list(starmap(operator.pow, g(ss))), map(operator.pow, g(s), g(s))) self.assertRaises(TypeError, starmap, operator.pow, X(ss)) self.assertRaises(TypeError, list, starmap(operator.pow, N(ss))) self.assertRaises(ZeroDivisionError, list, starmap(operator.pow, E(ss))) def test_takewhile(self): for s in (range(10), range(0), range(1000), (7,11), xrange(2000,2200,5)): for g in (G, I, Ig, S, L, R): tgt = [] for elem in g(s): if not isEven(elem): break tgt.append(elem) self.assertEqual(list(takewhile(isEven, g(s))), tgt) self.assertRaises(TypeError, takewhile, isEven, X(s)) self.assertRaises(TypeError, list, takewhile(isEven, N(s))) self.assertRaises(ZeroDivisionError, list, takewhile(isEven, E(s))) def test_dropwhile(self): for s in (range(10), range(0), range(1000), (7,11), xrange(2000,2200,5)): for g in (G, I, Ig, S, L, R): tgt = [] for elem in g(s): if not tgt and isOdd(elem): continue tgt.append(elem) self.assertEqual(list(dropwhile(isOdd, g(s))), tgt) self.assertRaises(TypeError, dropwhile, isOdd, X(s)) self.assertRaises(TypeError, list, dropwhile(isOdd, N(s))) self.assertRaises(ZeroDivisionError, list, dropwhile(isOdd, E(s))) def test_tee(self): for s in ("123", "", range(1000), ('do', 1.2), xrange(2000,2200,5)): for g in (G, I, Ig, S, L, R): it1, it2 = tee(g(s)) self.assertEqual(list(it1), list(g(s))) self.assertEqual(list(it2), list(g(s))) self.assertRaises(TypeError, tee, X(s)) self.assertRaises(TypeError, list, tee(N(s))[0]) self.assertRaises(ZeroDivisionError, list, tee(E(s))[0]) class LengthTransparency(unittest.TestCase): def test_repeat(self): from test.test_iterlen import len self.assertEqual(len(repeat(None, 50)), 50) self.assertRaises(TypeError, len, repeat(None)) class RegressionTests(unittest.TestCase): def test_sf_793826(self): # Fix Armin Rigo's successful efforts to wreak havoc def mutatingtuple(tuple1, f, tuple2): # this builds a tuple t which is a copy of tuple1, # then calls f(t), then mutates t to be equal to tuple2 # (needs len(tuple1) == len(tuple2)). def g(value, first=[1]): if first: del first[:] f(z.next()) return value items = list(tuple2) items[1:1] = list(tuple1) gen = imap(g, items) z = izip(*[gen]*len(tuple1)) z.next() def f(t): global T T = t first[:] = list(T) first = [] mutatingtuple((1,2,3), f, (4,5,6)) second = list(T) self.assertEqual(first, second) def test_sf_950057(self): # Make sure that chain() and cycle() catch exceptions immediately # rather than when shifting between input sources def gen1(): hist.append(0) yield 1 hist.append(1) raise AssertionError hist.append(2) def gen2(x): hist.append(3) yield 2 hist.append(4) if x: raise StopIteration hist = [] self.assertRaises(AssertionError, list, chain(gen1(), gen2(False))) self.assertEqual(hist, [0,1]) hist = [] self.assertRaises(AssertionError, list, chain(gen1(), gen2(True))) self.assertEqual(hist, [0,1]) hist = [] self.assertRaises(AssertionError, list, cycle(gen1())) self.assertEqual(hist, [0,1]) class SubclassWithKwargsTest(unittest.TestCase): def test_keywords_in_subclass(self): # count is not subclassable... for cls in (repeat, izip, ifilter, ifilterfalse, chain, imap, starmap, islice, takewhile, dropwhile, cycle, compress): class Subclass(cls): def __init__(self, newarg=None, *args): cls.__init__(self, *args) try: Subclass(newarg=1) except TypeError, err: # we expect type errors because of wrong argument count self.assertNotIn("does not take keyword arguments", err.args[0]) libreftest = """ Doctest for examples in the library reference: libitertools.tex >>> amounts = [120.15, 764.05, 823.14] >>> for checknum, amount in izip(count(1200), amounts): ... print 'Check %d is for $%.2f' % (checknum, amount) ... Check 1200 is for $120.15 Check 1201 is for $764.05 Check 1202 is for $823.14 >>> import operator >>> for cube in imap(operator.pow, xrange(1,4), repeat(3)): ... print cube ... 1 8 27 >>> reportlines = ['EuroPython', 'Roster', '', 'alex', '', 'laura', '', 'martin', '', 'walter', '', 'samuele'] >>> for name in islice(reportlines, 3, None, 2): ... print name.title() ... Alex Laura Martin Walter Samuele >>> from operator import itemgetter >>> d = dict(a=1, b=2, c=1, d=2, e=1, f=2, g=3) >>> di = sorted(sorted(d.iteritems()), key=itemgetter(1)) >>> for k, g in groupby(di, itemgetter(1)): ... print k, map(itemgetter(0), g) ... 1 ['a', 'c', 'e'] 2 ['b', 'd', 'f'] 3 ['g'] # Find runs of consecutive numbers using groupby. The key to the solution # is differencing with a range so that consecutive numbers all appear in # same group. >>> data = [ 1, 4,5,6, 10, 15,16,17,18, 22, 25,26,27,28] >>> for k, g in groupby(enumerate(data), lambda t:t[0]-t[1]): ... print map(operator.itemgetter(1), g) ... [1] [4, 5, 6] [10] [15, 16, 17, 18] [22] [25, 26, 27, 28] >>> def take(n, iterable): ... "Return first n items of the iterable as a list" ... return list(islice(iterable, n)) >>> def enumerate(iterable, start=0): ... return izip(count(start), iterable) >>> def tabulate(function, start=0): ... "Return function(0), function(1), ..." ... return imap(function, count(start)) >>> def nth(iterable, n, default=None): ... "Returns the nth item or a default value" ... return next(islice(iterable, n, None), default) >>> def quantify(iterable, pred=bool): ... "Count how many times the predicate is true" ... return sum(imap(pred, iterable)) >>> def padnone(iterable): ... "Returns the sequence elements and then returns None indefinitely" ... return chain(iterable, repeat(None)) >>> def ncycles(iterable, n): ... "Returns the sequence elements n times" ... return chain(*repeat(iterable, n)) >>> def dotproduct(vec1, vec2): ... return sum(imap(operator.mul, vec1, vec2)) >>> def flatten(listOfLists): ... return list(chain.from_iterable(listOfLists)) >>> def repeatfunc(func, times=None, *args): ... "Repeat calls to func with specified arguments." ... " Example: repeatfunc(random.random)" ... if times is None: ... return starmap(func, repeat(args)) ... else: ... return starmap(func, repeat(args, times)) >>> def pairwise(iterable): ... "s -> (s0,s1), (s1,s2), (s2, s3), ..." ... a, b = tee(iterable) ... for elem in b: ... break ... return izip(a, b) >>> def grouper(n, iterable, fillvalue=None): ... "grouper(3, 'ABCDEFG', 'x') --> ABC DEF Gxx" ... args = [iter(iterable)] * n ... return izip_longest(fillvalue=fillvalue, *args) >>> def roundrobin(*iterables): ... "roundrobin('ABC', 'D', 'EF') --> A D E B F C" ... # Recipe credited to George Sakkis ... pending = len(iterables) ... nexts = cycle(iter(it).next for it in iterables) ... while pending: ... try: ... for next in nexts: ... yield next() ... except StopIteration: ... pending -= 1 ... nexts = cycle(islice(nexts, pending)) >>> def powerset(iterable): ... "powerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)" ... s = list(iterable) ... return chain.from_iterable(combinations(s, r) for r in range(len(s)+1)) >>> def unique_everseen(iterable, key=None): ... "List unique elements, preserving order. Remember all elements ever seen." ... # unique_everseen('AAAABBBCCDAABBB') --> A B C D ... # unique_everseen('ABBCcAD', str.lower) --> A B C D ... seen = set() ... seen_add = seen.add ... if key is None: ... for element in iterable: ... if element not in seen: ... seen_add(element) ... yield element ... else: ... for element in iterable: ... k = key(element) ... if k not in seen: ... seen_add(k) ... yield element >>> def unique_justseen(iterable, key=None): ... "List unique elements, preserving order. Remember only the element just seen." ... # unique_justseen('AAAABBBCCDAABBB') --> A B C D A B ... # unique_justseen('ABBCcAD', str.lower) --> A B C A D ... return imap(next, imap(itemgetter(1), groupby(iterable, key))) This is not part of the examples but it tests to make sure the definitions perform as purported. >>> take(10, count()) [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] >>> list(enumerate('abc')) [(0, 'a'), (1, 'b'), (2, 'c')] >>> list(islice(tabulate(lambda x: 2*x), 4)) [0, 2, 4, 6] >>> nth('abcde', 3) 'd' >>> nth('abcde', 9) is None True >>> quantify(xrange(99), lambda x: x%2==0) 50 >>> a = [[1, 2, 3], [4, 5, 6]] >>> flatten(a) [1, 2, 3, 4, 5, 6] >>> list(repeatfunc(pow, 5, 2, 3)) [8, 8, 8, 8, 8] >>> import random >>> take(5, imap(int, repeatfunc(random.random))) [0, 0, 0, 0, 0] >>> list(pairwise('abcd')) [('a', 'b'), ('b', 'c'), ('c', 'd')] >>> list(pairwise([])) [] >>> list(pairwise('a')) [] >>> list(islice(padnone('abc'), 0, 6)) ['a', 'b', 'c', None, None, None] >>> list(ncycles('abc', 3)) ['a', 'b', 'c', 'a', 'b', 'c', 'a', 'b', 'c'] >>> dotproduct([1,2,3], [4,5,6]) 32 >>> list(grouper(3, 'abcdefg', 'x')) [('a', 'b', 'c'), ('d', 'e', 'f'), ('g', 'x', 'x')] >>> list(roundrobin('abc', 'd', 'ef')) ['a', 'd', 'e', 'b', 'f', 'c'] >>> list(powerset([1,2,3])) [(), (1,), (2,), (3,), (1, 2), (1, 3), (2, 3), (1, 2, 3)] >>> all(len(list(powerset(range(n)))) == 2**n for n in range(18)) True >>> list(powerset('abcde')) == sorted(sorted(set(powerset('abcde'))), key=len) True >>> list(unique_everseen('AAAABBBCCDAABBB')) ['A', 'B', 'C', 'D'] >>> list(unique_everseen('ABBCcAD', str.lower)) ['A', 'B', 'C', 'D'] >>> list(unique_justseen('AAAABBBCCDAABBB')) ['A', 'B', 'C', 'D', 'A', 'B'] >>> list(unique_justseen('ABBCcAD', str.lower)) ['A', 'B', 'C', 'A', 'D'] """ __test__ = {'libreftest' : libreftest} def test_main(verbose=None): test_classes = (TestBasicOps, TestVariousIteratorArgs, TestGC, RegressionTests, LengthTransparency, SubclassWithKwargsTest, TestExamples) test_support.run_unittest(*test_classes) # verify reference counting if verbose and hasattr(sys, "gettotalrefcount"): import gc counts = [None] * 5 for i in xrange(len(counts)): test_support.run_unittest(*test_classes) gc.collect() counts[i] = sys.gettotalrefcount() print counts # doctest the examples in the library reference test_support.run_doctest(sys.modules[__name__], verbose) if __name__ == "__main__": test_main(verbose=True)