mirror of https://github.com/python/cpython.git
77f6a65eb0
PEP 285. Everything described in the PEP is here, and there is even some documentation. I had to fix 12 unit tests; all but one of these were printing Boolean outcomes that changed from 0/1 to False/True. (The exception is test_unicode.py, which did a type(x) == type(y) style comparison. I could've fixed that with a single line using issubtype(x, type(y)), but instead chose to be explicit about those places where a bool is expected. Still to do: perhaps more documentation; change standard library modules to return False/True from predicates. |
||
---|---|---|
.. | ||
test_MimeWriter | ||
test_asynchat | ||
test_atexit | ||
test_augassign | ||
test_bastion | ||
test_binascii | ||
test_builtin | ||
test_cfgparser | ||
test_cgi | ||
test_charmapcodec | ||
test_class | ||
test_coercion | ||
test_compare | ||
test_compile | ||
test_cookie | ||
test_exceptions | ||
test_extcall | ||
test_frozen | ||
test_future | ||
test_gettext | ||
test_global | ||
test_grammar | ||
test_httplib | ||
test_linuxaudiodev | ||
test_longexp | ||
test_math | ||
test_md5 | ||
test_mimetools | ||
test_minidom | ||
test_mmap | ||
test_new | ||
test_nis | ||
test_opcodes | ||
test_openpty | ||
test_operations | ||
test_pkg | ||
test_poll | ||
test_popen | ||
test_popen2 | ||
test_posixpath | ||
test_pow | ||
test_profile | ||
test_pty | ||
test_pwd | ||
test_pyexpat | ||
test_re | ||
test_regex | ||
test_rgbimg | ||
test_richcmp | ||
test_rotor | ||
test_sax | ||
test_scope | ||
test_signal | ||
test_socket | ||
test_string | ||
test_thread | ||
test_threadedtempfile | ||
test_tokenize | ||
test_types | ||
test_ucn | ||
test_unicode | ||
test_unicode_file | ||
test_unicodedata | ||
test_winreg | ||
test_winsound | ||
test_xreadline | ||
test_zlib |