1. 25 May, 2017 1 commit
    • Antoine Pitrou's avatar
      [2.7] bpo-30414: multiprocessing.Queue._feed do not break from main loop on exc (GH-1683) (#1817) · bdd96471
      Antoine Pitrou authored
      * bpo-30414: multiprocesing.Queue._feed do not break from main loop on exc
      
      Queue background running thread was not handling exceptions correctly.
      Any exception occurred inside thread (putting unpickable object) cause
      feeder to finish running. After that every message put into queue is
      silently ignored.
      
      * bpo-30414: multiprocesing.Queue._feed do not break from main loop on exc
      
      Queue background running thread was not handling exceptions correctly.
      Any exception occurred inside thread (putting unpickable object) cause
      feeder to finish running. After that every message put into queue is
      silently ignored..
      (cherry picked from commit bc50f03d)
      bdd96471
  2. 24 May, 2017 2 commits
  3. 23 May, 2017 2 commits
  4. 22 May, 2017 2 commits
  5. 21 May, 2017 2 commits
  6. 20 May, 2017 2 commits
  7. 19 May, 2017 1 commit
  8. 18 May, 2017 2 commits
  9. 17 May, 2017 2 commits
    • Serhiy Storchaka's avatar
      bpo-30365: Backport warnings and fix bugs in ElementTree. (#1581) · 09b52471
      Serhiy Storchaka authored
      Running Python with the -3 option now emits deprecation warnings for
      getchildren() and getiterator() methods of the Element class in the
      xml.etree.cElementTree module and when pass the html argument to
      xml.etree.ElementTree.XMLParser().
      
      Fixed a deprecation warning about the doctype() method of the
      xml.etree.ElementTree.XMLParser class.  Now it is emitted only when
      define the doctype() method in the subclass of XMLParser.
      
      Fixed a bug in the test_bug_200708_close test method.  An EchoTarget
      instance was incorrectly passed to XMLParser() as the html argument and
      silently ignored.
      
      Tests no longer failed when use the -m option for running only selected
      test methods. Checking warnings now is more specific, warnings are
      expected only when use deprecated features.
      09b52471
    • Victor Stinner's avatar
      bpo-30329: Catch Windows error 10022 on shutdown() (#1538) (#1624) · 800e4b7a
      Victor Stinner authored
      Catch the Windows socket WSAEINVAL error (code 10022) in imaplib
      on shutdown(SHUT_RDWR): An invalid operation was attempted
      
      This error occurs sometimes on SSL connections.
      (cherry picked from commit 83a2c287)
      800e4b7a
  10. 16 May, 2017 2 commits
  11. 15 May, 2017 4 commits
  12. 13 May, 2017 4 commits
  13. 12 May, 2017 2 commits
  14. 11 May, 2017 1 commit
    • Victor Stinner's avatar
      [2.7] bpo-30283: regrtest: backport test_slow_interrupted() and test_coverage() (#1541) · a5bb6243
      Victor Stinner authored
      * bpo-30283: regrtest: backport test_coverage()
      
      * Add --coverage option, the option was already described in the doc
      * When coverage is used, regrtest now pass all options to runtest()
        and calls also accumulate_result() (as done when coverage is not
        used).
      * bpo-25260: Fix coverage on Windows: remove the list of ignored
        directories.
      
      * bpo-30283: regrtest: backport test_slow_interrupted()
      
      * Fix regrtest to report interrupted tests as omitted rather than
        failed.
      * bpo-25260: Fix coverage on Windows: remove the list of ignored
        directories.
      
      * bpo-30283: Fix test_regrtest on Visual Studio 2008
      
      Skip Tools\buildbot\test.bat and PCbuild\rt.bat if Python was not
      compiled in PCbuild (but compiled in PC\VS9.0\ for example).
      a5bb6243
  15. 10 May, 2017 3 commits
  16. 09 May, 2017 5 commits
    • torsava's avatar
      [2.7] bpo-29243: Fix Makefile with respect to --enable-optimizations (GH-1478) (#1522) · a473a73d
      torsava authored
      * bpo-29243: Fix Makefile with respect to --enable-optimizations
      
      When using the Profile Guided Optimization (./configure --enable-optimizations)
      Python is built not only during `make` but rebuilt again during `make test`,
      `make install` and others. This patch fixes the issue.
      
      Note that this fix produces no change at all in the Makefile if configure is
      run witout --enable-optimizations.
      
      * !squash.
      (cherry picked from commit a1054c3b)
      a473a73d
    • Victor Stinner's avatar
      bpo-30283: Backport regrtest features from master to 2.7 (#1516) · 453a6857
      Victor Stinner authored
      * regrtest: add --slowest alias to --slow
      
      * make buildbottest: add --slowest option
      
      * regrtest: add "- " prefix to --slowest output
      
      * regrtest: Fix an outdated comment
      
      * regrtest: replace PermissionError
      
      Replace PermissionError with OSError and check on exc.errno.
      PermissionError was added to Python 3.3.
      
      * regrtest: add -3 -tt options to run Python scripts
      
      * regrtest: backport --list-tests option
      
      * regrtest: backport "Tests result: xxx" summary
      
      * regrtest: backport total duration
      
      * regrtest: add timestamp to the progress
      
      * regrtest: describe previous test state
      
      * Add the state of the test: passed, failed, etc.
      * If a test took longer than 30 seconds, log its execution time
      
      * regrtest: -jN logs running workers
      
      * regrtest: mention if tests are run in parallel
      
      * regrtest: parallel mode is more verbose during wait
      
      Display running tests every 30 seconds if no test completed in the
      meanwhile.
      
      * test_regrtest: fix typo in SubprocessRun
      453a6857
    • Victor Stinner's avatar
      [2.7] bpo-30283: Backport test_regrtest from master to 2.7 (#1513) · d2aff607
      Victor Stinner authored
      * bpo-30283: regrtest: add --testdir option
      
      * bpo-30283: Backport _testcapi.raise_signal()
      
      Function used by test_regrtest to simulate an interrupted unit test.
      
      * bpo-30283: Backport test_regrtest from master
      d2aff607
    • Victor Stinner's avatar
      Fix SyntaxWarning on importing test_inspect (#1512) · c8a77d33
      Victor Stinner authored
      Fix the following warning when test_inspect.py is compiled to
      test_inspect.pyc:
      
      test_inspect.py:505: SyntaxWarning: tuple parameter unpacking has been removed in 3.x
        def spam_deref(a, b, c, d=3, (e, (f,))=(4, (5,)), *g, **h):
      
      Replace also test.test_support import with test.support.
      c8a77d33
    • Xiang Zhang's avatar
      4e7457b8
  17. 05 May, 2017 3 commits