• Jeremy Hylton's avatar
    Bug fixes large and small for tokenize. · 76467ba6
    Jeremy Hylton yazdı
    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.)
    76467ba6
Adı
Son kayıt (commit)
Son güncelleme
..
test_MimeWriter Loading commit data...
test_cProfile Loading commit data...
test_cgi Loading commit data...
test_class Loading commit data...
test_cookie Loading commit data...
test_extcall Loading commit data...
test_frozen Loading commit data...
test_global Loading commit data...
test_grammar Loading commit data...
test_httplib Loading commit data...
test_linuxaudiodev Loading commit data...
test_logging Loading commit data...
test_math Loading commit data...
test_mmap Loading commit data...
test_new Loading commit data...
test_nis Loading commit data...
test_opcodes Loading commit data...
test_openpty Loading commit data...
test_operations Loading commit data...
test_ossaudiodev Loading commit data...
test_pep277 Loading commit data...
test_pkg Loading commit data...
test_poll Loading commit data...
test_popen Loading commit data...
test_popen2 Loading commit data...
test_profile Loading commit data...
test_pty Loading commit data...
test_pyexpat Loading commit data...
test_regex Loading commit data...
test_resource Loading commit data...
test_rgbimg Loading commit data...
test_scope Loading commit data...
test_signal Loading commit data...
test_thread Loading commit data...
test_threadedtempfile Loading commit data...
test_tokenize Loading commit data...
test_types Loading commit data...
test_winreg Loading commit data...
test_xdrlib Loading commit data...
xmltests Loading commit data...