- 29 Nis, 2019 8 kayıt (commit)
-
-
Victor Stinner yazdı
This reverts commit b36e5d62.
-
Victor Stinner yazdı
* Add _PyEval_FiniThreads2(). _PyEval_FiniThreads() now only clears the pending lock, whereas _PyEval_FiniThreads2() destroys the GIL. * pymain_free() now calls _PyEval_FiniThreads2(). * Py_FinalizeEx() now calls _PyEval_FiniThreads().
-
xdegaye yazdı
-
Joannah Nanjekye yazdı
PyEval_AcquireLock() and PyEval_AcquireThread() now terminate the current thread if called while the interpreter is finalizing, making them consistent with PyEval_RestoreThread(), Py_END_ALLOW_THREADS, and PyGILState_Ensure().
-
xdegaye yazdı
-
Andrey yazdı
-
Raymond Hettinger yazdı
-
Emmanuel Arias yazdı
-
- 28 Nis, 2019 3 kayıt (commit)
-
-
-
Raymond Hettinger yazdı
-
Gordon P. Hemsley yazdı
* Fix typo in test_cyclic_gc subtest * Improve test coverage for xml.etree.ElementTree
-
- 27 Nis, 2019 4 kayıt (commit)
-
-
Berker Peksag yazdı
-
Paul Ganssle yazdı
In the process of converting the date.fromtimestamp function to use argument clinic in GH-8535, the C API for PyDate_FromTimestamp was inadvertently changed to expect a timestamp object rather than an argument tuple. This PR fixes this backwards-incompatible change by adding a new wrapper function for the C API function that unwraps the argument tuple and passes it to the underlying function. This PR also adds tests for both PyDate_FromTimestamp and PyDateTime_FromTimestamp to prevent any further regressions.
-
Paul Ganssle yazdı
-
Terry Jan Reedy yazdı
The new markup is currently ignored by IDLE's tk doc display.
-
- 26 Nis, 2019 15 kayıt (commit)
-
-
Victor Stinner yazdı
Py_TRACE_REFS ABI is incompatible with release and debug (Py_DEBUG) ABI.
-
Victor Stinner yazdı
-
Victor Stinner yazdı
Misc/python-config.sh lives in the build directory, not in the source directory.
-
Charles Pigott yazdı
-
Victor Stinner yazdı
Add PYTHONPATH=$(srcdir) to run $(PYTHON_FOR_REGEN) -m Parser.pgen, so it's possible to build Python from a different directory.
-
Victor Stinner yazdı
Add _Py_INIT_HAS_EXITCODE() macro.
-
Victor Stinner yazdı
Regrtest.finalize() now closes explicitly the WindowsLoadTracker instance.
-
Victor Stinner yazdı
Properly handle a test which fail but then pass. Add test_rerun_success() unit test.
-
Victor Stinner yazdı
regrtest now always detects uncollectable objects. Previously, the check was only enabled by --findleaks. The check now also works with -jN/--multiprocess N. --findleaks becomes a deprecated alias to --fail-env-changed.
-
Mark Dickinson yazdı
-
Victor Stinner yazdı
Rewrite run_tests_multiprocess() function as a new MultiprocessRunner class with multiple methods to better report errors and stop immediately when needed. Changes: * Worker processes are now killed immediately if tests are interrupted or if a test does crash (CHILD_ERROR): worker processes are killed. * Rewrite how errors in a worker thread are reported to the main thread. No longer ignore BaseException or parsing errors silently. * Remove 'finished' variable: use worker.is_alive() instead * Always compute omitted tests. Add Regrtest.get_executed() method.
-
Victor Stinner yazdı
Py_FinalizeEx() now clears _PyRuntime.warnings variables and _PyRuntime.exitfuncs. Changes: * Add _PyWarnings_Fini(): called by Py_FinalizeEx() * call_ll_exitfuncs() now clears _PyRuntime.exitfuncs while iterating on it (on backward order).
-
Victor Stinner yazdı
_PyThreadState_Delete() has no return value.
-
Victor Stinner yazdı
* Add TestResult and MultiprocessResult types to ensure that results always have the same fields. * runtest() now handles KeyboardInterrupt * accumulate_result() and format_test_result() now takes a TestResult * cleanup_test_droppings() is now called by runtest() and mark the test as ENV_CHANGED if the test leaks support.TESTFN file. * runtest() now includes code "around" the test in the test timing * Add print_warning() in test.libregrtest.utils to standardize how libregrtest logs warnings to ease parsing the test output. * support.unload() is now called with abstest rather than test_name * Rename 'test' variable/parameter to 'test_name' * dash_R(): remove unused the_module parameter * Remove unused imports
-
Victor Stinner yazdı
Add 'state' or 'runtime' parameter to functions in gcmodule.c to avoid to rely directly on the global variable _PyRuntime.
-
- 25 Nis, 2019 6 kayıt (commit)
-
-
Victor Stinner yazdı
Add 'gilstate', 'runtime' or 'xidregistry' parameter to many functions on pystate.c to avoid lying on _PyRuntime global.
-
Victor Stinner yazdı
In debug build, import now also looks for C extensions compiled in release mode and for C extensions compiled in the stable ABI.
-
Paul Monson yazdı
-
Victor Stinner yazdı
On Unix, C extensions are no longer linked to libpython. It is now possible to load a C extension built using a shared library Python with a statically linked Python. When Python is embedded, libpython must not be loaded with RTLD_LOCAL, but RTLD_GLOBAL instead. Previously, using RTLD_LOCAL, it was already not possible to load C extensions which were not linked to libpython, like C extensions of the standard library built by the "*shared*" section of Modules/Setup. distutils, python-config and python-config.py have been modified.
-
Victor Stinner yazdı
Document that subprocess.Popen no longer raise an exception on error like missing program on very specific platforms when using os.posix_spawn() is used.
-
Victor Stinner yazdı
bpo-28552, bpo-7774: Fix distutils.sysconfig if sys.executable is None or an empty string: use os.getcwd() to initialize project_base. Fix also the distutils build command: don't use sys.executable if it's evaluated as false (None or empty string).
-
- 24 Nis, 2019 4 kayıt (commit)
-
-
Victor Stinner yazdı
Fix Py_DEBUG constant: check for sys.gettotalrefcount attribute rather than sys.getobjects. Update also SpecialBuilds.txt documentation.
-
Victor Stinner yazdı
Release build and debug build are now ABI compatible: the Py_DEBUG define no longer implies Py_TRACE_REFS define which introduces the only ABI incompatibility. A new "./configure --with-trace-refs" build option is now required to get Py_TRACE_REFS define which adds sys.getobjects() function and PYTHONDUMPREFS environment variable. Changes: * Add ./configure --with-trace-refs * Py_DEBUG no longer implies Py_TRACE_REFS
-
Pablo Galindo yazdı
Add myself to the codeowners file as I would like to be automatically added as a reviewer for PRs that touch that component.
-
Thomas Moreau yazdı
Fix the multiprocessing.semaphore_tracker so it is reused by child processes.
-