- 13 May, 2019 15 commits
-
-
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 14 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.
-
Pierre Glaser authored
The multiprocessing.resource_tracker replaces the multiprocessing.semaphore_tracker module. Other than semaphores, resource_tracker also tracks shared_memory segments. Patch by Pierre Glaser.
-
Pierre Glaser authored
Fix a bug crashing SharedMemoryManager instances in interactive sessions after a Ctrl-C (KeyboardInterrupt) was sent.
-
Eric Snow authored
-
Jeroen Demeyer authored
Add new trashcan macros to deal with a double deallocation that could occur when the `tp_dealloc` of a subclass calls the `tp_dealloc` of a base class and that base class uses the trashcan mechanism. Patch by Jeroen Demeyer.
-
Emmanuel Arias authored
-
Kojo Idrissa authored
Patch by Kojo Idrissa.
-
Stefan Behnel authored
-
Olexa Bilaniuk authored
Extended attributes can only be set on user-writeable files, but shutil previously first chmod()ed the destination file to the source's permissions and then tried to copy xattrs. This will cause failures if attempting to copy read-only files with xattrs, as occurs with Git clones on Lustre FS.
-
Anthony Shaw authored
Fix an issue where os.posix_spawn() would incorrectly raise a TypeError when file_actions is None.
-
Rémi Lapeyre authored
csv.DictWriter.writeheader() now returns the return value of the underlying csv.Writer.writerow() method. Patch contributed by Ashish Nitin Patil.
-
-
Victor Stinner authored
-