- 18 Aug, 2017 10 commits
-
-
Victor Stinner authored
bpo-31231, bpo-30871: Replace "./python -m test.pythoninfo" with "make pythoninfo", since macOS uses ./python.exe.
-
Segev Finer authored
* bpo-30121: Fix debug assert in subprocess on Windows This is caused by closing HANDLEs using os.close which is for CRT file descriptors and not for HANDLEs. * bpo-30121: Suppress debug assertion in test_subprocess when ran directly
-
Sanyam Khurana authored
-
Stefan Krah authored
-
Sanyam Khurana authored
-
Victor Stinner authored
* bpo-30871: pythoninfo: more sys, os, time data PythonInfo now converts types other than intger to string by default. * fix typo
-
Victor Stinner authored
-
Elmar Ritsch authored
The `Show Source` was broken because of a change made in sphinx 1.5.1 In Sphinx 1.4.9, the sourcename was "index.txt". In Sphinx 1.5.1+, it is now "index.rst.txt"
-
syncosmic authored
Coroutines and async generators use a distinct attribute name for their code objects, so this updates the `dis` module to correctly disassemble objects with those attributes. Due to the increase in the test module length, it also fixes some latent defects in the tests related to how the displayed source line numbers are extracted. https://bugs.python.org/issue31230 is a follow-up issue suggesting we may want to solve this a different way, by instead giving all these object types a common `__code__` attribute, avoiding the need for special casing in the `dis` module.
-
Cheryl Sabella authored
-
- 17 Aug, 2017 6 commits
-
-
Victor Stinner authored
* bpo-30871: pythoninfo: add expat and _decimal * Remove _decimal.__version__ The string is hardcoded, not really interesting.
-
Steve Dower authored
-
Victor Stinner authored
* Add Lib/test/pythoninfo.py: script collecting various informations about Python to help debugging test failures. * regrtest: remove sys.hash_info and sys.flags from header. * Travis CI, Appveyor: run pythoninfo before tests
-
Victor Stinner authored
Tools/scripts/patchcheck.py now ignores changes in directories which are copies of external libraries: * Modules/_ctypes/libffi_msvc/ * Modules/_ctypes/libffi_osx/ * Modules/_decimal/libmpdec/ * Modules/expat/ * Modules/zlib/ Drop also support for Mercurial, since CPython migrated to Git. Exclude also libmpdec patchcheck: exclude also libffi_osx and libffi_msvc
-
Julien Palard authored
Change the option for `Français` into `French` to be consistent with the other language selections that are already in English.
-
Adrian Wielgosik authored
-
- 16 Aug, 2017 3 commits
-
-
Antoine Pitrou authored
bpo-18966: non-daemonic threads created by a multiprocessing.Process should be joined on exit (#3111) * bpo-18966: non-daemonic threads created by a multiprocessing.Process should be joined on exit * Add NEWS blurb
-
Victor Stinner authored
Fix a warning about dangling processes in test_rapid_restart() of _test_multiprocessing: join the process.
-
Victor Stinner authored
* Revert "Add Bruno Penteado to ACKS (#3091)" This reverts commit f978405b. * Revert "bpo-30983: eval frame rename in pep 0523 broke gdb's python extension (#2803)" This reverts commit 2e0f4db1.
-
- 15 Aug, 2017 6 commits
-
-
Terry Jan Reedy authored
-
Cheryl Sabella authored
The slightly modified tests continue to pass. Patch by Cheryl Sabella.
-
Steve Dower authored
-
Oren Milman authored
-
Christian Heimes authored
OpenSSL 1.1.0 to 1.1.0e aborted the handshake when server and client could not agree on a protocol using ALPN. OpenSSL 1.1.0f changed that. The most recent version now behaves like OpenSSL 1.0.2 again. The ALPN callback can pretend to not been set. See https://github.com/openssl/openssl/pull/3158 for more details Signed-off-by: Christian Heimes <christian@python.org>
-
Cheryl Sabella authored
Patch by Cheryl Sabella.
-
- 14 Aug, 2017 5 commits
-
-
Łukasz Langa authored
-
Bruno "Polaco" Penteado authored
pep 0523 renames PyEval_EvalFrameEx to _PyEval_EvalFrameDefault while the gdb python extension only looks for PyEval_EvalFrameEx to understand if it is dealing with a frame. Final effect is that attaching gdb to a python3.6 process doesnt resolve python objects. Eg. py-list and py-bt dont work properly. This patch fixes that. Tested locally on python3.6
-
Saurabh Chaturvedi authored
-
Nate Tangsurat authored
-
Коренберг Марк authored
-
- 12 Aug, 2017 2 commits
-
-
Allen W. Smith, Ph.D authored
* Make error message more informative Replace assertions in error-reporting code with more-informative version that doesn't cause confusion over where and what the error is. * Additional clarification + get travis to check * Change from SystemError to TypeError As suggested in PR comment by @pitrou, changing from SystemError; TypeError appears appropriate. * NEWS file installation; ACKS addition (will do my best to justify it by additional work)
-
Pär Björklund authored
_Py_atomic_* are currently not implemented as atomic operations when building with MSVC. This patch attempts to implement parts of the functionality required.
-
- 11 Aug, 2017 1 commit
-
-
Daniel Himmelstein authored
Remove unneeded word `to`.
-
- 10 Aug, 2017 7 commits
-
-
Victor Stinner authored
-
Victor Stinner authored
_test_multiprocessing now marks the test as ENV_CHANGED on dangling process or thread.
-
Victor Stinner authored
-
Victor Stinner authored
* reap_children() now sets environment_altered to True to detect bugs using python3 -m test --fail-env-changed * Replace bare "except:" with "except OSError:" in reap_children() * Write an unit test for reap_children() using a timeout of 60 seconds
-
Victor Stinner authored
* Add socketserver.ForkingMixIn.server_close() bpo-31151: socketserver.ForkingMixIn.server_close() now waits until all child processes completed to prevent leaking zombie processes. * Fix test on Windows which doesn't have ForkingMixIn
-
Victor Stinner authored
TestRandomNameSequence.test_process_awareness() now calls os.waitpid() to avoid leaking a zombie process.
-
Victor Stinner authored
The current test_child_terminated_in_stopped_state() function test creates a child process which calls ptrace(PTRACE_TRACEME, 0, 0) and then crash (SIGSEGV). The problem is that calling os.waitpid() in the parent process is not enough to close the process: the child process remains alive and so the unit test leaks a child process in a strange state. Closing the child process requires non-trivial code, maybe platform specific. Remove the functional test and replaces it with an unit test which mocks os.waitpid() using a new _testcapi.W_STOPCODE() function to test the WIFSTOPPED() path.
-