- 10 May, 2019 13 kayıt (commit)
-
-
Victor Stinner yazdı
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 yazdı
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 yazdı
Fix a bug crashing SharedMemoryManager instances in interactive sessions after a Ctrl-C (KeyboardInterrupt) was sent.
-
Eric Snow yazdı
-
Jeroen Demeyer yazdı
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 yazdı
-
Kojo Idrissa yazdı
Patch by Kojo Idrissa.
-
Stefan Behnel yazdı
-
Olexa Bilaniuk yazdı
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 yazdı
Fix an issue where os.posix_spawn() would incorrectly raise a TypeError when file_actions is None.
-
Rémi Lapeyre yazdı
csv.DictWriter.writeheader() now returns the return value of the underlying csv.Writer.writerow() method. Patch contributed by Ashish Nitin Patil.
-
-
Victor Stinner yazdı
-
- 09 May, 2019 10 kayıt (commit)
-
-
Julien Palard yazdı
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 yazdı
-
redshiftzero yazdı
Thank you @redshiftzero on the first PR
👏 -
Zackery Spytz yazdı
If the PyObject_MALLOC() call failed in PyType_FromSpecWithBases(), PyObject_Free() would be called on a static string in type_dealloc().
-
Aviv Palivoda yazdı
The Cache and Statement objects are undocumented and implementation details of the sqlite3 module. They aren't usable from pure Python code.
-
Pablo Galindo yazdı
bpo-36851: Clean the frame stack if the execution ends with a return and the stack is not empty (GH-13191)
-
Jason R. Coombs yazdı
-
Julien Palard yazdı
-
Stefan Behnel yazdı
Also provide better grouping of the tokenizer tests.
-
Benjamin Peterson yazdı
Adds ㋿.
-
- 08 May, 2019 11 kayıt (commit)
-
-
Pierre Glaser yazdı
Enable custom reduction callback registration for functions and classes in _pickle.c, using the new Pickler's attribute ``reducer_override``.
-
Eric V. Smith yazdı
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 yazdı
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 yazdı
Co-Authored-By: brianquinlan <brian@sweetapp.com>
-
Zackery Spytz yazdı
* bpo-24758: Improve the error msg for unittest.mock.Mock()'s unsafe mode * Make the requested changes.
-
Gregory P. Smith yazdı
We updated the server, our testsuite must match. https://bugs.python.org/issue36816
✈ ️ CLE -> DEN✈ ️ #pycon2019 -
Zackery Spytz yazdı
Save the live exception during the course of remove_module().
-
toonarmycaptain yazdı
Update 'unicode' capitalization. 'Unicode' is a proper noun, and as such should be capitalized. Changed multiple instances.
-
Julien Palard yazdı
-
Jason R. Coombs yazdı
* 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 yazdı
-
- 07 May, 2019 6 kayıt (commit)
-
-
Michael Blahay yazdı
* 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 yazdı
-
Gregory P. Smith yazdı
-
-
Adorilson Bezerra yazdı
-
Romain Picard yazdı
When the future returned by shield is cancelled, its completion callback of the inner future is not removed. This makes the callback list of inner inner future grow each time a shield is created and cancelled. This change unregisters the callback from the inner future when the outer future is cancelled. https://bugs.python.org/issue35125
-