- 13 May, 2019 1 kayıt (commit)
-
-
Matthias Bussonnier yazdı
`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 2 kayıt (commit)
-
-
Jake Tesler yazdı
-
Pablo Galindo yazdı
-
- 11 May, 2019 2 kayıt (commit)
-
-
Michael J. Sullivan yazdı
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]`.
-
-
- 10 May, 2019 7 kayıt (commit)
-
-
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.
-
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.
-
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 6 kayıt (commit)
-
-
Andrew Svetlov yazdı
-
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 7 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 -
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
-
- 07 May, 2019 9 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ı
-
-
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
-
Brian Quinlan yazdı
(lint cleanup) This import causes an argument parameter to shadow the global import name.
-
Vincent Michel yazdı
*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
-
Gregory P. Smith yazdı
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.
-
Rémi Lapeyre yazdı
unittest.mock.mock_open() results now respects the argument of read([size]) Co-Authored-By: remilapeyre <remi.lapeyre@henki.fr>
-
Andrew Svetlov yazdı
-
- 06 May, 2019 5 kayıt (commit)
-
-
Gregory P. Smith yazdı
Modern Linux distros such as Debian Buster have default OpenSSL system configurations that reject connections to servers with weak certificates by default. This causes our test suite run with external networking resources enabled to skip these tests when they encounter such a failure. Fixing the network servers is a separate issue.
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
Classes that define __str__ the same as __repr__ can just inherit it from object.
-
penguindustin yazdı
-
Łukasz Langa yazdı
-
- 05 May, 2019 1 kayıt (commit)
-
-
twisteroid ambassador yazdı
Added two keyword arguments, `delay` and `interleave`, to `BaseEventLoop.create_connection`. Happy eyeballs is activated if `delay` is specified. We now have documentation for the new arguments. `staggered_race()` is in its own module, but not exported to the main asyncio package. https://bugs.python.org/issue33530
-