summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* [3.8] Add whatsnew for removal of asyncio.loop.create_datagram_endpoint()'s ↵Kyle Stanley2019-12-173-0/+30
| | | | | | | *reuse_address* parameter (GH-17595). (#17630) (cherry picked from commit f501db2b93a9d3d840b6fb38d6bdda8bcc400d4a) Co-authored-by: Kyle Stanley <aeros167@gmail.com>
* bpo-39022, bpo-38594: Sync with importlib_metadata 1.3 (GH-17568) (GH-17569)Miss Islington (bot)2019-12-111-6/+6
| | | | | | | | | | * bpo-39022, bpo-38594: Sync with importlib_metadata 1.3 including improved docs for custom finders and better serialization support in EntryPoints. * 📜🤖 Added by blurb_it. * Correct module reference (cherry picked from commit b7a0109cd2bafaa21a4d50aad307e901c68f9156) Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
* bpo-39007: Add auditing events to functions in winreg (GH-17541)Miss Islington (bot)2019-12-091-0/+49
| | | | | | Also allows winreg.CloseKey() to accept same types as other functions. (cherry picked from commit ee17e3735634c5fe15a43f897707de8011618627) Co-authored-by: Steve Dower <steve.dower@python.org>
* bpo-39008: Require Py_ssize_t for PySys_Audit formats rather than raise a ↵Miss Islington (bot)2019-12-091-0/+8
| | | | | | | deprecation warning (GH-17540) (cherry picked from commit b8cbe74c3498c617f0e73fd0cdc5c07f2c532092) Co-authored-by: Steve Dower <steve.dower@python.org>
* bpo-37228: Fix loop.create_datagram_endpoint()'s usage of SO_REUSEADDR ↵Miss Islington (bot)2019-12-091-5/+19
| | | | | | | (GH-17311) (#17529) (cherry picked from commit ab513a38c98695f271e448fe2cb7c5e39eeaaaaf) Co-authored-by: Kyle Stanley <aeros167@gmail.com>
* bpo-38916: Document array.array deprecation (GH-17523)Victor Stinner2019-12-091-0/+4
| | | | array.array: Document that tostring() and fromstring() deprecated aliases will be removed in Python 3.9.
* [3.8] bpo-38820: OpenSSL 3.0.0 compatibility. (GH-17190) (GH-17499)Miss Islington (bot)2019-12-071-0/+3
| | | | | | | | | | | | | | | | | | | | | test_openssl_version now accepts version 3.0.0. getpeercert() no longer returns IPv6 addresses with a trailing new line. Signed-off-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue38820 (cherry picked from commit 2b7de6696bf2f924cd2cd9ff0a539c8aa37c6244) Co-authored-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue38820 Automerge-Triggered-By: @tiran
* bpo-27873: Update docstring for multiprocessing.Pool.map (GH-17436)Miss Islington (bot)2019-12-031-1/+2
| | | | | | | | | | Update docstring for `multiprocessing.Pool.map` to mention `pool.starmap()`. Prev PR: https://github.com/python/cpython/pull/17367 @aeros https://bugs.python.org/issue27873 (cherry picked from commit eb48a451e3844185b9a8751c9badffbddc89689d) Co-authored-by: An Long <aisk@users.noreply.github.com>
* document threading.Lock.locked() (GH-17427)Miss Islington (bot)2019-12-011-0/+4
| | | | | (cherry picked from commit fdafa1d0ed0a8930b52ee81e57c931cc4d5c2388) Co-authored-by: idomic <michael.ido@gmail.com>
* Fix typos (GH-17423)Miss Islington (bot)2019-12-011-2/+2
| | | | | (cherry picked from commit 575d0b46d122292ca6e0576a91265d7abf7cbc3d) Co-authored-by: Ofek Lev <ofekmeister@gmail.com>
* [3.8] Added missing coma after end of list in subprocess.rst (GH-17389)Jules Lasne (jlasne)2019-11-291-1/+1
| | | (cherry picked from commit f25875af425a3480e557aaedf49c3bb867bcbd5d)
* bpo-38920: Add audit hooks for when sys.excepthook and sys.unraisablehook ↵Steve Dower2019-11-281-1/+22
| | | | | are invoked (GH-17392) Also fixes some potential segfaults in unraisable hook handling.
* bpo-38928: Remove upgrade_dependencies() from venv doc (GH-17410)Tzu-ping Chung2019-11-281-8/+0
|
* bpo-38524: clarify example a bit and improve formatting (GH-17406)Miss Islington (bot)2019-11-281-5/+8
| | | | | (cherry picked from commit 02519f75d15b063914a11351da30178ca4ceb54b) Co-authored-by: Tal Einat <taleinat+github@gmail.com>
* bpo-26730: Fix SpooledTemporaryFile data corruption (GH-17400)Miss Islington (bot)2019-11-281-2/+2
| | | | | | | | | SpooledTemporaryFile.rollback() might cause data corruption when it is in text mode. Co-Authored-By: Serhiy Storchaka <storchaka@gmail.com> (cherry picked from commit ea9835c5d154ab6a54eed627958473b6768b28cc) Co-authored-by: Inada Naoki <songofacandy@gmail.com>
* bpo-38524: document implicit and explicit calling of descriptors' ↵Miss Islington (bot)2019-11-271-1/+12
| | | | | | | __set_name__ (GH-17364) (cherry picked from commit 1bddf890e595a865414645c6041733043c4081f8) Co-authored-by: Florian Dahlitz <f2dahlitz@freenet.de>
* [3.8] bpo-38862: IDLE Strip Trailing Whitespace fixes end newlines (GH-17366)Terry Jan Reedy2019-11-271-1/+2
| | | | | | Extra newlines are removed at the end of non-shell files. If the file only has newlines after stripping other trailing whitespace, all are removed, as is done by patchcheck.py. (cherry picked from commit 6bf644ec82f14cceae68278dc35bafb00875efae) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-38892: Improve docs for audit event (GH-17361)Miss Islington (bot)2019-11-263-15/+16
| | | | | (cherry picked from commit e563a155be60fc0757914f87c8138f10de00bb16) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* Remove use of deprecated `array.fromstring` method (GH-17332)Miss Islington (bot)2019-11-262-3/+3
| | | | | (cherry picked from commit 386d00cc341b549800776b906bfc6b20ea40c7db) Co-authored-by: David Coles <coles.david@gmail.com>
* bpo-21063: Improve module synopsis for distutils (GH-17363)Miss Islington (bot)2019-11-255-9/+9
| | | | | (cherry picked from commit f8a6316778faff3991144c3aec4fa92d7b30a72b) Co-authored-by: Sanchit Khurana <54467174+GeniusLearner@users.noreply.github.com>
* closes bpo-29275: Remove Y2K reference from time module docs (GH-17321)Miss Islington (bot)2019-11-221-10/+5
| | | | | | | | | The Y2K reference is not needed as it only points out that Python's use of C standard functions doesn't generally suffer from Y2K issues; the point regarding conventions for conversion of 2-digit years in :func:`strptime` is still valid. (cherry picked from commit 42bc60ead39c7be9f6bb7329977826e962f601eb) Co-authored-by: Callum Ward <wards.callum@gmail.com>
* bpo-38526: Fix zipfile.Path method name to be the correct one (GH-17317)Miss Islington (bot)2019-11-211-1/+1
| | | | | (cherry picked from commit 65444cf7fe84d8ca1f9b51c7f5992210751e08bb) Co-authored-by: Claudiu Popa <pcmanticore@gmail.com>
* [3.8] bpo-38857: AsyncMock fix for awaitable values and StopIteration fix ↵Lisa Roach2019-11-211-1/+1
| | | | | | | [3.8] (GH-17269) (#17304) (cherry picked from commit 046442d02bcc6e848e71e93e47f6cde9e279e993) Co-authored-by: Jason Fried <fried@fb.com>
* Update functions.rst (GH-16468)Miss Islington (bot)2019-11-211-2/+2
| | | | | | | | | | This PR will make the following changes to the [_Built-in Functions_](https://docs.python.org/3/library/functions.html) chapter of the library documentation: - improve hyperlinks in Sphinx roles (trailing 's' belong to hyperlinks). Automerge-Triggered-By: @csabella (cherry picked from commit d67279147ace3b63187e5d75a15c345264f39e85) Co-authored-by: Géry Ogam <gery.ogam@gmail.com>
* bpo-36277: Add document for pdb debug and retval commands (GH-12872)Miss Islington (bot)2019-11-211-0/+8
| | | | | | | | https://bugs.python.org/issue36277 Automerge-Triggered-By: @csabella (cherry picked from commit 9391f6c3ef24f7962c534c42ccb792debdbef509) Co-authored-by: Dave Nguyen <dv@dvnguyen.com>
* Removed capital letter in parameter in stdtypes.rst (GH-17218)Miss Islington (bot)2019-11-211-1/+1
| | | | | | Automerge-Triggered-By: @csabella (cherry picked from commit 6db2fb7c300ca79d5585f2ae524ff4ca2707a7b6) Co-authored-by: Jules Lasne (jlasne) <jules.lasne@gmail.com>
* Fixed an incorrect sentence in the docs (GH-17205)Miss Islington (bot)2019-11-211-2/+1
| | | | | | | | | | | Fixed an incorrect sentence in Doc/c-api/mapping.rst I fell on while translating the file. skip issue Automerge-Triggered-By: @csabella (cherry picked from commit 06ca2a2be9374ac390e9407685ccce941ab9ffa2) Co-authored-by: Aveheuzed <a.masson555@ntymail.com>
* Add missing comma and period in unittest docs (GH-17211)Miss Islington (bot)2019-11-191-1/+1
| | | | | | Automerge-Triggered-By: @csabella (cherry picked from commit b1f160a236cb590b1c1a678ca5fc19d5c75dcd83) Co-authored-by: Jules Lasne (jlasne) <jules.lasne@gmail.com>
* bpo-38622: Add missing audit events for ctypes module (GH-17158)Miss Islington (bot)2019-11-181-0/+36
| | | | | (cherry picked from commit 00923c63995e34cdc25d699478f113de99a69df9) Co-authored-by: Steve Dower <steve.dower@python.org>
* Correct the description of the 3.7 change in urllib.parse.quote (GH-17065)Miss Islington (bot)2019-11-181-1/+1
| | | | | | `~` is now treated as an unreserved character (i.e. it doesn't get quoted), not a reserved one. (cherry picked from commit f49f6baa6bf7916ac039194c24b59d2eff5b180a) Co-authored-by: Роман Донченко <dpb@corrigendum.ru>
* [3.8] bpo-38830: Correct slot signature in Qt example. (GH-17220) (GH-17221)Vinay Sajip2019-11-181-1/+1
| | | (cherry picked from commit 5383956583bb758f3828513bcdd011871f24a0e8)
* bpo-38678: Improve argparse example in tutorial (GH-17207) (GH-17212)Miss Islington (bot)2019-11-182-16/+20
| | | | | (cherry picked from commit 04c79d6088a22d467f04dbe438050c26de22fa85) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
* bpo-25866: Minor cleanups to "sequence" in docs (GH-17177) (GH-17208)Miss Islington (bot)2019-11-171-5/+9
| | | | | (cherry picked from commit 4544e78ec4558b75bf95e5b7dfc1b5bbb07ae5f0) Co-authored-by: alclarks <57201106+alclarks@users.noreply.github.com>
* Updated missing periods in cmdline.rst (GH-17173)Miss Islington (bot)2019-11-151-3/+3
| | | | | (cherry picked from commit 0fe0b88d6eb597c9a929e14ad47a5a9bd99bfe53) Co-authored-by: Jules Lasne (jlasne) <jules.lasne@gmail.com>
* Fix the description of isdatadescriptor in inspect.rst (GH-16645)Miss Islington (bot)2019-11-151-1/+1
| | | | | (cherry picked from commit 84f2528d4836f9e8f80f8354cb26341ef7ef0a1b) Co-authored-by: HongWeipeng <961365124@qq.com>
* bpo-38778: Document that os.fork is not allowed in subinterpreters (GH-17123)Miss Islington (bot)2019-11-151-1/+9
| | | | | | | | | | | | Small docs update for [bpo-34651](https://bugs.python.org/issue34651). Other references to fork (e.g. the PyOS.*Fork functions or discussions of fork() when embedding Python) point back to os.fork, so I don't think any other updates are needed. https://bugs.python.org/issue38778 Automerge-Triggered-By: @ericsnowcurrently (cherry picked from commit b22030073b9327a3aeccb69507694bce078192aa) Co-authored-by: Phil Connell <pconnell@gmail.com>
* bpo-38816: Add notes in the C-API docs about fork in subinterpreters. (GH-17176)Miss Islington (bot)2019-11-152-1/+40
| | | | | | | | The C-API docs are a bit sparse on the interplay between C `fork()` and the CPython runtime. This change adds some more information on the subject. https://bugs.python.org/issue38816 (cherry picked from commit 73cdb0c6b2c3861e034004cdc57be5e726876078) Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
* bpo-38351: Modernize email examples from %-formatting to f-strings (GH-17162)Miss Islington (bot)2019-11-153-3/+3
| | | | | (cherry picked from commit e8acc865a3f112b98417f676c897ca6ec2dac2c7) Co-authored-by: Andrey Doroschenko <dorosch.github.io@yandex.ru>
* Fix minor typos. (GH-17095)Miss Islington (bot)2019-11-131-3/+3
| | | | | (cherry picked from commit 2d56af7a94fe7ec0bdf3011652558ae1b889b4a8) Co-authored-by: Shu <23287722+susan-shu-c@users.noreply.github.com>
* [3.8] bpo-38738: Fix formatting of True and False. (GH-17083) (GH-17125)Serhiy Storchaka2019-11-1238-168/+168
| | | | | | | | | | * "Return true/false" is replaced with "Return ``True``/``False``" if the function actually returns a bool. * Fixed formatting of some True and False literals (now in monospace). * Replaced "True/False" with "true/false" if it can be not only bool. * Replaced some 1/0 with True/False if it corresponds the code. * "Returns <bool>" is replaced with "Return <bool>". (cherry picked from commit 138ccbb02216ca086047c3139857fb44f3dab1f9)
* [3.8] bpo-38421: Update email.utils documentation (GH-16678) (GH-17122)Miss Islington (bot)2019-11-121-2/+2
| | | | | | | | | | | | | | | | | | | | | Updates documentation around email.utils.parsedate_tz(). Currently, the documentation specifies that when a string without a is timezone passed to parsedate_tz(), the last tuple is returned as ```None```. This is no longer true since Python 3.3 https://bugs.python.org/issue38421 (cherry picked from commit a12255d8def0c82560545e66c1be981a447751c3) Co-authored-by: David K <dave@paddez.com> https://bugs.python.org/issue38421 Automerge-Triggered-By: @encukou
* bpo-38385: Fix iterator/iterable terminology in statistics docs (GH-17111) ↵Miss Islington (bot)2019-11-121-9/+9
| | | | | | | (GH-17113) (cherry picked from commit 733b9a308e3c49855888e2e12397ae56d831e780) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
* bpo-38771: Explict test for None in code example (GH-17108) (GH-17109)Miss Islington (bot)2019-11-121-1/+1
| | | | | (cherry picked from commit 98480cef9dba04794bd61c7e7cca643d384c8c35) Co-authored-by: Jonathan Scholbach <j.scholbach@posteo.de>
* bpo-38382: Document the early-out behavior for a zero (GH-17037) (GH-17078)Miss Islington (bot)2019-11-071-1/+6
| | | | | (cherry picked from commit 7f460494d2309ace004a400bae8fc59134dc325c) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
* bpo-38696: Fix usage example of HTTPStatus (GH-17066)Miss Islington (bot)2019-11-061-1/+1
| | | | | (cherry picked from commit 56698d57691af2272f695f8c17c835ed99545cde) Co-authored-by: Ammar Askar <ammar@ammaraskar.com>
* [3.8] Update interpreter.rst (GH-17059) (GH-17060)Jules Lasne (jlasne)2019-11-051-1/+1
| | | | | | | Fixed what seemed to be a weird phrasing. (cherry picked from commit 5e01a6542a1beb552a17e16b71dc0ba9fc6adcfb) Co-authored-by: Jules Lasne (jlasne) <jules.lasne@gmail.com>
* [3.8] bpo-38159: Clarify documentation of PyState_AddModule (GH-16101) ↵Miss Islington (bot)2019-11-051-0/+11
| | | | | | | | | | | | | | | | | | (GH-17026) This was never intented to be called manually from PyInit_*. Also, clarify PyState_RemoveModule return value. (cherry picked from commit 9bc94eca0c69a551f928692364a99e9b67c4a45b) Co-authored-by: Petr Viktorin <encukou@gmail.com> https://bugs.python.org/issue38159 Automerge-Triggered-By: @encukou
* Convert argument to snake_case (GH-16990) (GH-17033)Miss Islington (bot)2019-11-051-2/+2
| | | | | (cherry picked from commit 99b7701978d1fdc81e10c31d1ad8cce2c0c2d848) Co-authored-by: Борис Верховский <boris.verk@gmail.com>
* bpo-37759: Show output from var_access_benchmark (GH-17040) (GH-17041)Miss Skeleton (bot)2019-11-041-3/+52
| | | | | (cherry picked from commit 1cdadf414b9934bba9294efa1f4b8d97eef08434) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
* bpo-38388: Document pickle protocol version 5 (GH-16639)Miss Skeleton (bot)2019-11-031-1/+5
| | | | | (cherry picked from commit d0e0f5bf0c07ca025f54df21fd1df55ee430d9fc) Co-authored-by: Dima Tisnek <dimaqq@gmail.com>