• Jeremy Hylton's avatar
    Fix compileall.py so that it fails on SyntaxErrors · 30906940
    Jeremy Hylton yazdı
    The changes cause compilation failures in any file in the Python
    installation lib directory to cause the install to fail.  It looks
    like compileall.py intended to behave this way, but a change to
    py_compile.py and a separate bug defeated it.
    
    Fixes SF bug #412436
    
    This change affects the test suite, which contains several files that
    contain intentional errors.  The solution is to extend compileall.py
    with the ability to skip compilation of selected files.
    
    In the test suite, rename nocaret.py and test_future[3..7].py to start
    with badsyntax_nocaret.py and badsyntax_future[3..7].py.  Update the
    makefile to skip compilation of these files.  Update the tests to use
    the name names for imports.
    
    NB compileall.py is changed so that compile_dir() returns success only
    if all recursive calls to compile_dir() also check success.
    30906940
Adı
Son kayıt (commit)
Son güncelleme
..
test_MimeWriter Loading commit data...
test_StringIO Loading commit data...
test___all__ Loading commit data...
test___future__ Loading commit data...
test_al Loading commit data...
test_array Loading commit data...
test_asynchat Loading commit data...
test_atexit Loading commit data...
test_audioop Loading commit data...
test_augassign Loading commit data...
test_bastion Loading commit data...
test_binascii Loading commit data...
test_binhex Loading commit data...
test_bisect Loading commit data...
test_bsddb Loading commit data...
test_bufio Loading commit data...
test_builtin Loading commit data...
test_capi Loading commit data...
test_cd Loading commit data...
test_cfgparser Loading commit data...
test_cgi Loading commit data...
test_charmapcodec Loading commit data...
test_cl Loading commit data...
test_class Loading commit data...
test_cmath Loading commit data...
test_coercion Loading commit data...
test_compare Loading commit data...
test_compile Loading commit data...
test_complex Loading commit data...
test_contains Loading commit data...
test_cookie Loading commit data...
test_copy_reg Loading commit data...
test_cpickle Loading commit data...
test_crypt Loading commit data...
test_dbm Loading commit data...
test_difflib Loading commit data...
test_dl Loading commit data...
test_doctest Loading commit data...
test_dospath Loading commit data...
test_dumbdbm Loading commit data...
test_errno Loading commit data...
test_exceptions Loading commit data...
test_extcall Loading commit data...
test_fcntl Loading commit data...
test_file Loading commit data...
test_fnmatch Loading commit data...
test_fork1 Loading commit data...
test_format Loading commit data...
test_funcattrs Loading commit data...
test_future Loading commit data...
test_gc Loading commit data...
test_gdbm Loading commit data...
test_getopt Loading commit data...
test_gettext Loading commit data...
test_gl Loading commit data...
test_global Loading commit data...
test_grammar Loading commit data...
test_grp Loading commit data...
test_gzip Loading commit data...
test_hash Loading commit data...
test_httplib Loading commit data...
test_imageop Loading commit data...
test_imgfile Loading commit data...
test_import Loading commit data...
test_inspect Loading commit data...
test_largefile Loading commit data...
test_linuxaudiodev Loading commit data...
test_locale Loading commit data...
test_long Loading commit data...
test_longexp Loading commit data...
test_mailbox Loading commit data...
test_math Loading commit data...
test_md5 Loading commit data...
test_mimetools Loading commit data...
test_minidom Loading commit data...
test_mmap Loading commit data...
test_new Loading commit data...
test_nis Loading commit data...
test_ntpath Loading commit data...
test_opcodes Loading commit data...
test_openpty Loading commit data...
test_operations Loading commit data...
test_operator Loading commit data...
test_parser Loading commit data...
test_pickle Loading commit data...
test_pkg Loading commit data...
test_poll Loading commit data...
test_popen2 Loading commit data...
test_posixpath Loading commit data...
test_pow Loading commit data...
test_pty Loading commit data...
test_pwd Loading commit data...
test_pyexpat Loading commit data...
test_re Loading commit data...
test_regex Loading commit data...
test_rfc822 Loading commit data...
test_rgbimg Loading commit data...
test_richcmp Loading commit data...
test_rotor Loading commit data...
test_sax Loading commit data...
test_scope Loading commit data...
test_select Loading commit data...
test_sha Loading commit data...
test_signal Loading commit data...
test_socket Loading commit data...
test_sre Loading commit data...
test_strftime Loading commit data...
test_string Loading commit data...
test_strop Loading commit data...
test_struct Loading commit data...
test_sunaudiodev Loading commit data...
test_sundry Loading commit data...
test_symtable Loading commit data...
test_thread Loading commit data...
test_threadedtempfile Loading commit data...
test_time Loading commit data...
test_timing Loading commit data...
test_tokenize Loading commit data...
test_traceback Loading commit data...
test_types Loading commit data...
test_ucn Loading commit data...
test_unicode Loading commit data...
test_unicodedata Loading commit data...
test_unpack Loading commit data...
test_urllib Loading commit data...
test_urlparse Loading commit data...
test_userdict Loading commit data...
test_userlist Loading commit data...
test_userstring Loading commit data...
test_wave Loading commit data...
test_weakref Loading commit data...
test_winreg Loading commit data...
test_winsound Loading commit data...
test_xmllib Loading commit data...
test_xreadline Loading commit data...
test_zipfile Loading commit data...
test_zlib Loading commit data...