1. 27 Tem, 2017 2 kayıt (commit)
  2. 26 Tem, 2017 9 kayıt (commit)
    • Nir Soffer's avatar
      bpo-30980: Fix double close in asyncore.file_wrapper (#2789) (#2898) · 25de5baf
      Nir Soffer yazdı
      * bpo-30980: Fix close test to fail
      
      test_close_twice was not considering the fact that file_wrapper is
      duping the file descriptor. Closing the original descriptor left the
      duped one open, hiding the fact that close protection is not effective.
      
      * bpo-30980: Fix double close protection
      
      Invalidated self.fd before closing, handling correctly the case when
      os.close raises.
      
      * bpo-30980: Fix fd leak introduced in the fixed test
      25de5baf
    • Steve Dower's avatar
      Fix build batch files (#2750) (#2897) · bb7fd3f4
      Steve Dower yazdı
      * Enable building MSI, zip and nuget packages when Py_OutDir is set.
      
      * Restore the --build option, which got reverted at some point.
      
      * Ensure output directory is created.
      
      * Enables BuildForDaily and DailyBuildVersion options for nuget package.
      bb7fd3f4
    • Dong-hee Na's avatar
    • Utkarsh Upadhyay's avatar
      [3.6] bpo-30822: Fix testing of datetime module. (GH-2530) (GH-2783) (#2816) · c52cea49
      Utkarsh Upadhyay yazdı
      * [3.6] bpo-30822: Fix testing of datetime module. (GH-2530) (GH-2783)
      
      Only C implementation was tested.
      (cherry picked from commit 287c5594)
      
      * [3.6] bpo-30822: Fix testing of datetime module. (GH-2530) (GH-2783)
      
      Only C implementation was tested..
      (cherry picked from commit 287c5594)
      c52cea49
    • Mariatta's avatar
      Add the link to asyncio source code in the docs (GH-2373) (GH-2884) · 0dbfab2a
      Mariatta yazdı
      (cherry picked from commit 627d2c8e)
      0dbfab2a
    • Victor Stinner's avatar
      [3.6] bpo-30595: Fix multiprocessing.Queue.get(timeout) (#2027) (#2881) · e42339d3
      Victor Stinner yazdı
      * bpo-30595: Fix multiprocessing.Queue.get(timeout) (#2027)
      
      multiprocessing.Queue.get() with a timeout now polls its reader in
      non-blocking mode if it succeeded to aquire the lock but the acquire
      took longer than the timeout.
      Co-Authored-By: 's avatarGrzegorz Grzywacz <grzgrzgrz3@gmail.com>
      (cherry picked from commit 1b7863c3)
      
      * bpo-30595: Increase test_queue_feeder_donot_stop_onexc() timeout (#2148)
      
      _test_multiprocessing.test_queue_feeder_donot_stop_onexc() now uses a
      timeout of 1 second on Queue.get(), instead of 0.1 second, for slow
      buildbots.
      (cherry picked from commit 8f6eeaf2)
      e42339d3
    • Victor Stinner's avatar
      bpo-30845: Enhance test_concurrent_futures cleanup (#2564) (#2880) · a6f04522
      Victor Stinner yazdı
      * bpo-30845: reap_children() now logs warnings
      
      * bpo-30845: Enhance test_concurrent_futures cleanup
      
      In setUp() and tearDown() methods of test_concurrent_futures tests,
      make sure that tests don't leak threads nor processes. Clear
      explicitly the reference to the executor to make it that it's
      destroyed (to prevent "dangling threads" warning).
      
      (cherry picked from commit 3df9dec4)
      a6f04522
    • Victor Stinner's avatar
      [3.6] bpo-26762, bpo-31019: Backport multiprocessing fixes from master to 3.6 (#2879) · d0adfb25
      Victor Stinner yazdı
      * bpo-26762: Avoid daemon process in _test_multiprocessing (#2842)
      
      test_level() of _test_multiprocessing._TestLogging now uses regular
      processes rather than daemon processes to prevent zombi processes
      (to not "leak" processes).
      (cherry picked from commit 06634950)
      
      * test_multiprocessing: Fix dangling process/thread (#2850)
      
      bpo-26762: Fix more dangling processes and threads in
      test_multiprocessing:
      
      * Queue: call close() followed by join_thread()
      * Process: call join() or self.addCleanup(p.join)
      (cherry picked from commit d7e64d99)
      
      * test_multiprocessing detects dangling per test case (#2841)
      
      bpo-26762: test_multiprocessing now detects dangling processes and
      threads per test case classes:
      
      * setUpClass()/tearDownClass() of mixin classes now check if
        multiprocessing.process._dangling or threading._dangling was
        modified to detect "dangling" processses and threads.
      * ManagerMixin.tearDownClass() now also emits a warning if it still
        has more than one active child process after 5 seconds.
      * tearDownModule() now checks for dangling processes and threads
        before sleep 500 ms. And it now only sleeps if there is a least one
        dangling process or thread.
      (cherry picked from commit ffb49408)
      
      * bpo-26762: test_multiprocessing close more queues (#2855)
      
      * Close explicitly queues to make sure that we don't leave dangling
        threads
      * test_queue_in_process(): remove unused queue
      * test_access() joins also the process to fix a random warning
      (cherry picked from commit b4c52966)
      
      * bpo-31019: Fix multiprocessing.Process.is_alive() (#2875)
      
      multiprocessing.Process.is_alive() now removes the process from the
      _children set if the process completed.
      
      The change prevents leaking "dangling" processes.
      (cherry picked from commit 2db64823)
      d0adfb25
    • Victor Stinner's avatar
      bpo-31034: Reliable signal handler for test_asyncio (#2867) (#2876) · efe9fcbd
      Victor Stinner yazdı
      * bpo-31034: Reliable signal handler for test_asyncio
      
      Don't rely on the current SIGHUP signal handler, make sure that it's
      set to the "default" signal handler: SIG_DFL.
      
      * Add comments
      
      (cherry picked from commit 83008091)
      efe9fcbd
  3. 25 Tem, 2017 2 kayıt (commit)
  4. 24 Tem, 2017 3 kayıt (commit)
    • Terry Jan Reedy's avatar
      [3.6] Minor typo in curses.rst (GH-2763) (#2853) · 548a6889
      Terry Jan Reedy yazdı
      I found a tiny typo in the curses how-to: changed 'Thy' to 'The' on line 68.
      (cherry picked from commit d439d3e2)
      548a6889
    • Victor Stinner's avatar
      bpo-30908: Fix dangling thread in test_os.TestSendfile (#2680) (#2844) · bb33ccfc
      Victor Stinner yazdı
      tearDown() now clears explicitly the self.server variable to make
      sure that the thread is completely cleared when tearDownClass()
      checks if all threads have been cleaned up.
      
      Fix the following warning:
      
      $ ./python -m test --fail-env-changed -m test.test_os.TestSendfile.test_keywords -R 3:1 test_os
      (...)
      Warning -- threading_cleanup() failed to cleanup 0 threads after 3 sec (count: 0, dangling: 2)
      (...)
      Tests result: ENV CHANGED
      (cherry picked from commit d1cc037d)
      bb33ccfc
    • Terry Jan Reedy's avatar
      [3.6] bpo-30993: IDLE - Improve configdialog font page and tests. (GH-2831) (#2834) · 1daeb259
      Terry Jan Reedy yazdı
      In configdialog: Document causal pathways in create_font_tab docstring.  Simplify some attribute names. Move set_samples calls to var_changed_font (idea from Cheryl Sabella).  Move related functions to positions after the create widgets function.
      
      In test_configdialog: Fix test_font_set so not order dependent.  Fix renamed test_indent_scale so it tests the widget.  Adjust tests for movement of set_samples call.  Add tests for load functions.  Put all font tests in one class and tab indent tests in another.  Except for two lines, these tests completely cover the related functions.
      (cherry picked from commit 77e97ca9)
      1daeb259
  5. 23 Tem, 2017 3 kayıt (commit)
  6. 22 Tem, 2017 1 kayıt (commit)
  7. 21 Tem, 2017 5 kayıt (commit)
  8. 20 Tem, 2017 5 kayıt (commit)
  9. 19 Tem, 2017 1 kayıt (commit)
    • Steve Dower's avatar
      [3.6] bpo-30450: Improved logic for obtaining dependencies (#2751) · e99d3a52
      Steve Dower yazdı
      Adds alternate download approach for nuget.exe
      Fall back to git.exe if no Python is found. (#2739)
      Also check whether git.exe is on PATH if it will be used.
      Add support for HOST_PYTHON variable.
      Clear internal environment variables used in find_python.bat
      Use HOST_PYTHON as the actual Python if it is recent enough.
      Adds HOST_PYTHON variable to AppVeyor configuration
      e99d3a52
  10. 18 Tem, 2017 1 kayıt (commit)
  11. 17 Tem, 2017 3 kayıt (commit)
  12. 16 Tem, 2017 3 kayıt (commit)
  13. 15 Tem, 2017 1 kayıt (commit)
  14. 14 Tem, 2017 1 kayıt (commit)