- 10 May, 2019 7 commits
-
-
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 12 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
-
Gregory P. Smith authored
-
-
Adorilson Bezerra authored
-
Romain Picard authored
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
-
Brian Quinlan authored
(lint cleanup) This import causes an argument parameter to shadow the global import name.
-
Vincent Michel authored
*Moved from python/asyncio#493.* This PR fixes issue python/asyncio#480, as explained in [this comment](https://github.com/python/asyncio/issues/480#issuecomment-278703828). The `_SelectorDatagramTransport.sendto` method has to be modified ~~so `_sock.sendto` is used in all cases (because it is tricky to reliably tell if the socket is connected or not). Could that be an issue for connected sockets?~~ *EDIT* ... so `_sock.send` is used only if `_sock` is connected. It also protects `socket.getsockname` against `OSError` in `_SelectorTransport`. This might happen on Windows if the socket is not connected (e.g. for UDP broadcasting). https://bugs.python.org/issue31922
-
Julia Iliuk authored
Used **spookylukey**'s patch from 2011-01-24 https://bugs.python.org/issue11001
-
Gregory P. Smith authored
Instead of attempting to acquire and release them all across fork which was leading to deadlocks in some applications that had chained their own handlers while holding multiple locks.
-
Julien Palard authored
-
Edison A authored
bpo-36783: Added C API Documentation for Time_FromTimeAndFold and PyDateTime_FromDateAndTimeAndFold (GH-13147)
-