- 11 May, 2019 3 commits
-
-
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
-
- 09 May, 2019 10 commits
-
-
Julien Palard authored
Having multiple paragraphs in a few news entry lead to inconsistent spacing while rendered in HTML by mixing "visually compact lists" (when no entry of the whole list contains multiple paragraphs) and "sparse lists" (when at least one do).
-
Andrew Svetlov authored
-
redshiftzero authored
Thank you @redshiftzero on the first PR
👏 -
Zackery Spytz authored
If the PyObject_MALLOC() call failed in PyType_FromSpecWithBases(), PyObject_Free() would be called on a static string in type_dealloc().
-
Aviv Palivoda authored
The Cache and Statement objects are undocumented and implementation details of the sqlite3 module. They aren't usable from pure Python code.
-
Pablo Galindo authored
bpo-36851: Clean the frame stack if the execution ends with a return and the stack is not empty (GH-13191)
-
Jason R. Coombs authored
-
Julien Palard authored
-
Stefan Behnel authored
Also provide better grouping of the tokenizer tests.
-
Benjamin Peterson authored
Adds ㋿.
-
- 08 May, 2019 11 commits
-
-
Pierre Glaser authored
Enable custom reduction callback registration for functions and classes in _pickle.c, using the new Pickler's attribute ``reducer_override``.
-
Eric V. Smith authored
If a "=" is specified a the end of an f-string expression, the f-string will evaluate to the text of the expression, followed by '=', followed by the repr of the value of the expression.
-
Pierre Glaser authored
Allow reduction methods to return a 6-item tuple where the 6th item specifies a custom state-setting method that's called instead of the regular ``__setstate__`` method.
-
Brian Quinlan authored
Co-Authored-By: brianquinlan <brian@sweetapp.com>
-
Zackery Spytz authored
* bpo-24758: Improve the error msg for unittest.mock.Mock()'s unsafe mode * Make the requested changes.
-
Gregory P. Smith authored
We updated the server, our testsuite must match. https://bugs.python.org/issue36816
✈ ️ CLE -> DEN✈ ️ #pycon2019 -
Zackery Spytz authored
Save the live exception during the course of remove_module().
-
toonarmycaptain authored
Update 'unicode' capitalization. 'Unicode' is a proper noun, and as such should be capitalized. Changed multiple instances.
-
Julien Palard authored
-
Jason R. Coombs authored
* bpo-36832: add zipfile.Path * bpo-36832: add documentation for zipfile.Path *
📜 🤖 Added by blurb_it. * Remove module reference from blurb. * Sort the imports * Update docstrings and docs per recommendations. * Rely on test.support.temp_dir * Signal that 'root' is the parameter. * Correct spelling of 'mod' * Convert docstring to comment for brevity. * Fix more errors in the docs -
Zhaorong Ma authored
-
- 07 May, 2019 2 commits
-
-
Michael Blahay authored
* BPO-27639: Correct return type for UserList slicing operation Added logic to __getitem__ magic method for UserList to ensure that the return type matches that of self.
-
Riccardo Magliocchetti authored
-