- 16 Jun, 2019 7 commits
-
-
Terry Jan Reedy authored
The patch needed for 2.7 should make the test more stable on 3.x also.
-
Hai Shi authored
-
Jeroen Demeyer authored
-
Mark Dickinson authored
-
Mark Dickinson authored
-
Julien Palard authored
-
Rémi Lapeyre authored
bpo-35922: Fix RobotFileParser when robots.txt has no relevant crawl delay or request rate (GH-11791) Co-Authored-By: Tal Einat <taleinat+github@gmail.com>
-
- 15 Jun, 2019 10 commits
-
-
Michael Felt authored
bpo-28009: Fix uuid SkipUnless logic to be based on platform programs capable of introspection (GH-12777) uuid could try fallback methods that had no chance of working on a particular platform, and this could cause spurious test failures, as well as degraded performance as fallback options were tried and failed. This fixes both the uuid module and its test's SkipUnless logic to use a prefiltered list of techniques that may at least potentially work on that platform. Patch by Michael Felt (aixtools).
-
Pablo Galindo authored
-
Julien Palard authored
-
Alex Gaynor authored
-
Julien Palard authored
To reflect the one we're using in production.
-
ubordignon authored
-
Géry Ogam authored
-
Andrew Svetlov authored
-
Andrew Svetlov authored
-
Victor Stinner authored
-
- 14 Jun, 2019 12 commits
-
-
Steve Dower authored
* Increase timeout for PGO builds in Windows release * Fix test step failures * Disable MinGW step properly * Fix embeddable distro name
-
Victor Stinner authored
-
Victor Stinner authored
bpo-35537, bpo-35876: Fix also test_start_new_session() of test_subprocess: use os.getsid() rather than os.getpgid().
-
Victor Stinner authored
In a subinterpreter, spawning a daemon thread now raises an exception. Daemon threads were never supported in subinterpreters. Previously, the subinterpreter finalization crashed with a Pyton fatal error if a daemon thread was still running. * Add _thread._is_main_interpreter() * threading.Thread.start() now raises RuntimeError if the thread is a daemon thread and the method is called from a subinterpreter. * The _thread module now uses Argument Clinic for the new function. * Use textwrap.dedent() in test_threading.SubinterpThreadingTests
-
Victor Stinner authored
Document reference cycle and resurrected objects issues in sys.unraisablehook() and threading.excepthook() documentation. Fix test.support.catch_unraisable_exception(): __exit__() no longer ignores unraisable exceptions. Fix test_io test_writer_close_error_on_close(): use a second catch_unraisable_exception() to catch the BufferedWriter unraisable exception.
-
Zackery Spytz authored
-
Steve Dower authored
-
Andrew Svetlov authored
-
Géry Ogam authored
This PR adds missing details in the [`concurrent.futures`](https://docs.python.org/3/library/concurrent.futures.html) documentation: * the mention that `Future.cancel` also returns `False` if the call finished running; * the mention of the states for `Future` that did not complete: pending or running.
-
Victor Stinner authored
Join the thread to prevent leaking a running thread and leaking a reference. Cleanup also the test: * asyncioWindowsProactorEventLoopPolicy became the default policy, there is no need to set it manually. * Only start the thread once the loop is running. * Use a shorter sleep in the thread (100 ms rather than 1 sec). * Use close_loop(loop) rather than loop.close(). * Use longer variable names.
-
Jeroen Demeyer authored
-
Pablo Galindo authored
Fix a regression introduced by af8646c8 that was causing code of the form: if True and False: do_something() to be optimized incorrectly, eliminating the block.
-
- 13 Jun, 2019 11 commits
-
-
Michael Felt authored
This is the followup for issue36084 https://bugs.python.org/issue37077
-
Victor Stinner authored
* Replace global var Py_VerboseFlag with interp->config.verbose. * Add _PyErr_NoMemory(tstate) function. * Add tstate parameter to _PyEval_SetCoroutineOriginTrackingDepth() and move the function to the internal API. * Replace _PySys_InitMain(runtime, interp) with _PySys_InitMain(runtime, tstate).
-
Pablo Galindo authored
The peephole optimizer was not optimizing correctly bytecode after negative deltas were introduced. This is due to the fact that some special values (255) were being searched for in both instruction pointer delta and line number deltas.
-
Makdon authored
It would raise ValueError("Paths don't have the same drive") if the paths on different drivers, which is not documented. os.path.commonpath raises ValueError when the *paths* are in different drivers, but it is not documented. Update the document according @Windsooon 's suggestion. It actually raise ValueError according line 355 of [test of path](https://github.com/python/cpython/blob/master/Lib/test/test_ntpath.py) https://bugs.python.org/issue6689
-
Victor Stinner authored
The __exit__() method of test.support.catch_unraisable_exception context manager now ignores unraisable exception raised when clearing self.unraisable attribute.
-
Victor Stinner authored
Allow pure Python implementation of pickle to work even when the C _pickle module is unavailable. Fix test_pickle when _pickle is missing: declare PyPicklerHookTests outside "if has_c_implementation:" block.
-
Victor Stinner authored
Remove the _tstate_lock from _shutdown_locks, don't remove None.
-
Jeroen Demeyer authored
-
Victor Stinner authored
PyAST_obj2mod_ex() is similar to PyAST_obj2mod() with an additional 'feature_version' parameter which is unused.
-
Jeffrey Kintscher authored
-
Makdon authored
-