- 14 May, 2019 5 commits
-
-
Nicolai Moore authored
-
Inada Naoki authored
-
Victor Stinner authored
MultiprocessThread.kill() now closes stdout and stderr to prevent popen.communicate() to hang.
-
wim glenn authored
-
Jens Troeger authored
-
- 13 May, 2019 22 commits
-
-
Anders Hovmöller authored
* Update timeit.rst
-
Matthias Bussonnier authored
-
Pierre Glaser authored
-
Brad authored
* Docs: Add bz2 usage examples - Adds an "Examples of usage" section inspired by the one found in the gzip docs - Corrects the descriptions for ``compresslevel`` and ``data``: - ``compresslevel`` must be an `int`, not any number. For instance, passing a float will raise ``TypeError`` - Notes that `data` must be bytes-like
-
Antoine Pitrou authored
-
Pierre Glaser authored
Followup to bpo-36867.
-
Victor Stinner authored
"python3 -m test -jN ..." now continues the execution of next tests when a worker process crash (CHILD_ERROR state). Previously, the test suite stopped immediately. Use --failfast to stop at the first error. Moreover, --forever now also implies --failfast.
-
Guido van Rossum authored
-
Victor Stinner authored
Move _PyImportZip_Init() to the internal C API and add an 'interp' parameter.
-
Xtreak authored
-
Victor Stinner authored
-
-
Guido van Rossum authored
-
Utkarsh Gupta authored
-
Kexuan Sun authored
-
Victor Stinner authored
Remove the PyEval_ReInitThreads() function from the Python C API. It should not be called explicitly: use PyOS_AfterFork_Child() instead. Rename PyEval_ReInitThreads() to _PyEval_ReInitThreads() and add a 'runtime' parameter.
-
Victor Stinner authored
Remove cp65001 from the codecs table, list it as an alias of utf_8 and add a versionchanged markup.
-
Zackery Spytz authored
Co-Authored-By: Filip Gruszczyński <gruszczy@gmail.com> Co-Authored-By: Michele Orrù <maker@tumbolandia.net>
-
Edison A authored
-
Gordon P. Hemsley authored
-
Johnny Gérard authored
-
Matthias Bussonnier authored
`time.clock()` was deprecated in 3.3, and marked for removal removal in 3.8; this thus remove it from the time module.
-
- 12 May, 2019 4 commits
-
-
Pablo Galindo authored
-
Jake Tesler authored
-
Gordon P. Hemsley authored
The combined Python and C coverage test runs now exceed Travis's 50-minute time limit. Splitting them into separate runs gives more leeway. Also, adding branch coverage to Python testing and ensure that coverage is reported even if tests fail. (The primary builds are for tracking test failures.)
-
Pablo Galindo authored
-
- 11 May, 2019 7 commits
-
-
Pablo Galindo authored
-
Sanyam Khurana authored
-
Michael J. Sullivan authored
In the parser, when using the type_comments=True option, recognize a TYPE_IGNORE as anything containing `# type: ignore` followed by a non-alphanumeric character. This is to allow ignores such as `# type: ignore[E1000]`.
-
Xi Ruoyao authored
-
Xtreak authored
https://bugs.python.org/issue36884
-
Aurelio Jargas authored
-
Victor Stinner authored
Android still links to libpython.
-
- 10 May, 2019 2 commits
-
-
Pablo Galindo authored
-
Victor Stinner authored
Add "struct _ceval_runtime_state *ceval = &_PyRuntime.ceval;" local variables to function to better highlight the dependency on the global variable _PyRuntime and to point directly to _PyRuntime.ceval field rather than on the larger _PyRuntime. Changes: * Add _PyRuntimeState_GetThreadState(runtime) macro. * Add _PyEval_AddPendingCall(ceval, ...) and _PyThreadState_Swap(gilstate, ...) functions. * _PyThreadState_GET() macro now calls _PyRuntimeState_GetThreadState() using &_PyRuntime. * Add 'ceval' parameter to COMPUTE_EVAL_BREAKER(), SIGNAL_PENDING_SIGNALS(), _PyEval_SignalAsyncExc(), _PyEval_SignalReceived() and _PyEval_FiniThreads() macros and functions. * Add 'tstate' parameter to call_function(), do_call_core() and do_raise(). * Add 'runtime' parameter to _Py_CURRENTLY_FINALIZING(), _Py_FinishPendingCalls() and _PyThreadState_DeleteExcept() macros and functions. * Declare 'runtime', 'tstate', 'ceval' and 'eval_breaker' variables as constant.
-