mirror of https://github.com/python/cpython
76467ba6d6
Small: Always generate a NL or NEWLINE token following a COMMENT token. The old code did not generate an NL token if the comment was on a line by itself. Large: The output of untokenize() will now match the input exactly if it is passed the full token sequence. The old, crufty output is still generated if a limited input sequence is provided, where limited means that it does not include position information for tokens. Remaining bug: There is no CONTINUATION token (\) so there is no way for untokenize() to handle such code. Also, expanded the number of doctests in hopes of eventually removing the old-style tests that compare against a golden file. Bug fix candidate for Python 2.5.1. (Sigh.) |
||
---|---|---|
.. | ||
test_MimeWriter | ||
test_cProfile | ||
test_cgi | ||
test_class | ||
test_cookie | ||
test_extcall | ||
test_frozen | ||
test_global | ||
test_grammar | ||
test_httplib | ||
test_linuxaudiodev | ||
test_logging | ||
test_math | ||
test_mmap | ||
test_new | ||
test_nis | ||
test_opcodes | ||
test_openpty | ||
test_operations | ||
test_ossaudiodev | ||
test_pep277 | ||
test_pkg | ||
test_poll | ||
test_popen | ||
test_popen2 | ||
test_profile | ||
test_pty | ||
test_pyexpat | ||
test_regex | ||
test_resource | ||
test_rgbimg | ||
test_scope | ||
test_signal | ||
test_thread | ||
test_threadedtempfile | ||
test_tokenize | ||
test_types | ||
test_winreg | ||
test_xdrlib | ||
xmltests |