summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-36814: ensure os.posix_spawn() handles None (GH-13144)Anthony Shaw2019-05-103-1/+11
| | | | Fix an issue where os.posix_spawn() would incorrectly raise a TypeError when file_actions is None.
* bpo-27497: Add return value to csv.DictWriter.writeheader (GH-12306)Rémi Lapeyre2019-05-104-3/+18
| | | | | | csv.DictWriter.writeheader() now returns the return value of the underlying csv.Writer.writerow() method. Patch contributed by Ashish Nitin Patil.
* bpo-36601: clarify signal handler comment and remove unnecessary pid check. ↵Jeroen Demeyer2019-05-102-15/+12
| | | | | (GH-12784) https://bugs.python.org/issue36601
* bpo-36778: cp65001 encoding becomes an alias to utf_8 (GH-13230)Victor Stinner2019-05-105-134/+4
|
* bpo-32523: Simplifying news entries with multiple paragraphs. (GH-8154)Julien Palard2019-05-0918-123/+38
| | | | | | 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).
* bpo-36802: Drop awrite()/aclose(), support await write() and await close() ↵Andrew Svetlov2019-05-094-51/+118
| | | | instead (#13099)
* doc: fix broken link on howto/unicode page (#13160)redshiftzero2019-05-091-1/+1
| | | Thank you @redshiftzero on the first PR :clap:
* Fix a possible crash due to PyType_FromSpecWithBases() (GH-10304)Zackery Spytz2019-05-091-0/+1
| | | | If the PyObject_MALLOC() call failed in PyType_FromSpecWithBases(), PyObject_Free() would be called on a static string in type_dealloc().
* bpo-30262: Don't expose private objects in sqlite3 (GH-1440)Aviv Palivoda2019-05-093-4/+6
| | | | | | The Cache and Statement objects are undocumented and implementation details of the sqlite3 module. They aren't usable from pure Python code.
* bpo-36851: Clean the frame stack if the execution ends with a return and the ↵Pablo Galindo2019-05-093-7/+49
| | | | stack is not empty (GH-13191)
* Add support for .parent and .joinpath in zipfile.Path (#13213)Jason R. Coombs2019-05-092-1/+24
|
* bpo-36239: Skip comments in gettext infos (GH-12255)Julien Palard2019-05-093-0/+17
|
* bpo-36831: Do not apply default namespace to unprefixed attributes in ↵Stefan Behnel2019-05-092-11/+29
| | | | | ElementPath. (#13201) Also provide better grouping of the tokenizer tests.
* closes bpo-36861: Update Unicode database to 12.1.0. (GH-13214)Benjamin Peterson2019-05-0910-15377/+15381
| | | Adds ㋿.
* bpo-35900: Enable custom reduction callback registration in _pickle (GH-12499)Pierre Glaser2019-05-086-24/+227
| | | | Enable custom reduction callback registration for functions and classes in _pickle.c, using the new Pickler's attribute ``reducer_override``.
* bpo-36817: Add f-string debugging using '='. (GH-13123)Eric V. Smith2019-05-0811-49/+286
| | | 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.
* bpo-35900: Add a state_setter arg to save_reduce (GH-12588)Pierre Glaser2019-05-085-15/+114
| | | | | 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.
* bpo-26903: Limit ProcessPoolExecutor to 61 workers on Windows (GH-13132)Brian Quinlan2019-05-084-0/+26
| | | | Co-Authored-By: brianquinlan <brian@sweetapp.com>
* bpo-24758: Improve the error msg for unittest.mock.Mock()'s unsafe mode (#12991)Zackery Spytz2019-05-082-3/+5
| | | | | | * bpo-24758: Improve the error msg for unittest.mock.Mock()'s unsafe mode * Make the requested changes.
* bpo-36816: Update the self-signed.pythontest.net cert (GH-13192)Gregory P. Smith2019-05-082-14/+33
| | | | | | | | | We updated the server, our testsuite must match. https://bugs.python.org/issue36816 ✈️ CLE -> DEN ✈️ #pycon2019
* bpo-24048: Save the live exception during import.c's remove_module() (GH-13005)Zackery Spytz2019-05-082-3/+8
| | | Save the live exception during the course of remove_module().
* bpo-31873: Update unicode.rst - 'unicode' capitalization (GH-4125)toonarmycaptain2019-05-081-12/+12
| | | | Update 'unicode' capitalization. 'Unicode' is a proper noun, and as such should be capitalized. Changed multiple instances.
* Doc: Be explicit that Pathlib resolve was strict before 3.6. (GH-11316)Julien Palard2019-05-081-1/+1
|
* bpo-36832: add zipfile.Path (#13153)Jason R. Coombs2019-05-084-8/+320
| | | | | | | | | | | | | | | | | | | | | | | | * 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
* Doc: Fix missing bracket (GH-13163)Zhaorong Ma2019-05-081-1/+1
|
* bpo-27639: Correct return type for UserList slicing operation (#13169)Michael Blahay2019-05-073-1/+13
| | | | | | | * 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.
* bpo-36015: Handle StreamHandler representaton of stream with an integer name ↵Riccardo Magliocchetti2019-05-072-0/+10
| | | | (GH-11908)
* bpo-36838: Suggest 'make venv' when missing Doc/ tools. (GH-13173)Gregory P. Smith2019-05-071-4/+12
|
* bpo-36801: Fix waiting in StreamWriter.drain for closing SSL transport ↵Andrew Svetlov2019-05-074-8/+46
| | | | | (GH-13098) https://bugs.python.org/issue36801
* Add a footnote about Cheese Shop in Doc/tutorial (GH-13103)Adorilson Bezerra2019-05-071-1/+7
|
* bpo-35125: remove inner callback on outer cancellation in asyncio shield ↵Romain Picard2019-05-073-3/+19
| | | | | | | | | | | | | | (GH-10340) 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
* Don't import wait from connection, it shadows a name (GH-13112)Brian Quinlan2019-05-071-2/+2
| | | (lint cleanup) This import causes an argument parameter to shadow the global import name.
* bpo-31922: Do not connect UDP sockets when broadcast is allowed (GH-423)Vincent Michel2019-05-075-7/+34
| | | | | | | | | | | | *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
* bpo-11001: updated cookie docs (GH-13086)Julia Iliuk2019-05-071-7/+9
| | | | | | | Used **spookylukey**'s patch from 2011-01-24 https://bugs.python.org/issue11001
* bpo-36533: Reinit logging.Handler locks on fork(). (GH-12704)Gregory P. Smith2019-05-073-40/+58
| | | | | 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.
* bpo-28795: Signal documentation: Fix misleading statement. (GH-13121)Julien Palard2019-05-071-1/+2
|
* bpo-36783: Added C API Documentation for Time_FromTimeAndFold and ↵Edison A2019-05-072-0/+18
| | | | | | PyDateTime_FromDateAndTimeAndFold (GH-13147)
* Post v3.8.0a4Łukasz Langa2019-05-071-1/+1
|
* Merge tag 'v3.8.0a4'Łukasz Langa2019-05-07139-385/+1477
|\ | | | | | | Python 3.8.0a4
| * Python 3.8.0a4v3.8.0a4Łukasz Langa2019-05-06139-385/+1477
| |
* | bpo-31855: unittest.mock.mock_open() results now respects the argument of ↵Rémi Lapeyre2019-05-073-26/+22
| | | | | | | | | | | | | | | | read([size]) (GH-11521) unittest.mock.mock_open() results now respects the argument of read([size]) Co-Authored-By: remilapeyre <remi.lapeyre@henki.fr>
* | Forbid creating of stream objects outside of asyncio (#13101)Andrew Svetlov2019-05-075-76/+203
| |
* | bpo-35925: Skip SSL tests that fail due to weak external certs. (GH-13124)Gregory P. Smith2019-05-063-12/+51
| | | | | | | | | | | | | | | | 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.
* | Fix rst formatting for several links in ssl documentation (GH-13133)Toshio Kuratomi2019-05-061-3/+3
| |
* | bpo-36542: Allow to overwrite the signature for Python functions. (GH-12705)Serhiy Storchaka2019-05-0617-3/+40
| |
* | bpo-36793: Remove unneeded __str__ definitions. (GH-13081)Serhiy Storchaka2019-05-0618-33/+25
| | | | | | | | Classes that define __str__ the same as __repr__ can just inherit it from object.
* | bpo-36766: Typos in docs and code comments (GH-13116)penguindustin2019-05-0622-22/+22
| |
* | bpo-36275: enhance documentation for venv.create() (GH-13114)Sebastian Koslowski2019-05-061-1/+6
| |
* | Clarify the download unit in the download section (GH-13122)Stéphane Wirtel2019-05-061-2/+1
| |
* | bpo-30668: add missing word in license.rst (GH-13115)Patrick Mühlbauer2019-05-061-1/+1
| |