summaryrefslogtreecommitdiff
path: root/Doc/library
Commit message (Collapse)AuthorAgeFilesLines
...
* bpo-38991: Remove test.support.strip_python_stderr() (GH-17490)Victor Stinner2019-12-081-7/+9
| | | | | test.support: run_python_until_end(), assert_python_ok() and assert_python_failure() functions no longer strip whitespaces from stderr.
* bpo-38820: OpenSSL 3.0.0 compatibility. (GH-17190)Christian Heimes2019-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
* bpo-29636: json.tool: Add document for indentation options. (GH-17482)Daniel Himmelstein2019-12-071-0/+6
| | | And updated test to use subprocess.run
* bpo-38652: Remove provisional note for asyncio.BufferedProtocol (GH-17047)Anj-A2019-12-071-3/+0
| | | https://bugs.python.org/issue38652
* bpo-27413: json.tool: Add --no-ensure-ascii option. (GH-17472)wim glenn2019-12-061-0/+6
|
* bpo-27873: Update docstring for multiprocessing.Pool.map (GH-17436)An Long2019-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
* document threading.Lock.locked() (GH-17427)idomic2019-12-011-0/+4
|
* Fix typos (GH-17423)Ofek Lev2019-11-301-2/+2
|
* bpo-38920: Add audit hooks for when sys.excepthook and sys.unraisable hooks ↵Steve Dower2019-11-281-1/+22
| | | | | are invoked (GH-17392) Also fixes some potential segfaults in unraisable hook handling.
* bpo-38928: Fix versionadded for venv's upgrade_deps function (GH-17404)Tzu-ping Chung2019-11-271-2/+2
|
* bpo-26730: Fix SpooledTemporaryFile data corruption (GH-17400)Inada Naoki2019-11-271-2/+2
| | | | | | | SpooledTemporaryFile.rollback() might cause data corruption when it is in text mode. Co-Authored-By: Serhiy Storchaka <storchaka@gmail.com>
* bpo-38892: Improve docs for audit event (GH-17361)Terry Jan Reedy2019-11-262-4/+4
|
* bpo-22377: Fixes documentation for %Z in datetime (GH-16507)Karl Dubost2019-11-261-4/+13
| | | | | | | | | | This fixes the issue discussed in https://bugs.python.org/issue22377 and fixes it according to the comments made by Paul Ganssle @pganssle * It clarifies which values are acceptable in the table * It extends the note with a clearer information on the valid values https://bugs.python.org/issue22377
* Remove use of deprecated `array.fromstring` method (GH-17332)David Coles2019-11-261-2/+2
|
* bpo-21063: Improve module synopsis for distutils (GH-17363)Sanchit Khurana2019-11-254-4/+4
|
* bpo-38870: Expose a function to unparse an ast object in the ast module ↵Pablo Galindo2019-11-241-0/+13
| | | | | | | (GH-17302) Add ast.unparse() as a function in the ast module that can be used to unparse an ast.AST object and produce a string with code that would produce an equivalent ast.AST object when parsed.
* bpo-38862: IDLE Strip Trailing Whitespace fixes end newlines (GH-17366)Terry Jan Reedy2019-11-241-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.
* bpo-38881: choices() raises ValueError when all weights are zero (GH-17362)Raymond Hettinger2019-11-231-2/+6
|
* closes bpo-29275: Remove Y2K reference from time module docs (GH-17321)Callum Ward2019-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.
* bpo-38526: Fix zipfile.Path method name to be the correct one (#17317)Claudiu Popa2019-11-211-1/+1
|
* Correct release version to 3.9 for RERAISE and WITH_EXCEPT_START bytecodes. ↵Mark Shannon2019-11-211-2/+2
| | | | | | | (#17318) bpo-33387 Corrects commit fee5526
* Produce cleaner bytecode for 'with' and 'async with' by generating separate ↵Mark Shannon2019-11-211-76/+9
| | | | | | code for normal and exceptional paths. (#6641) Remove BEGIN_FINALLY, END_FINALLY, CALL_FINALLY and POP_FINALLY bytecodes. Implement finally blocks by code duplication. Reimplement frame.lineno setter using line numbers rather than bytecode offsets.
* Update functions.rst (GH-16468)Géry Ogam2019-11-201-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
* bpo-36277: Add document for pdb debug and retval commands (GH-12872)Dave Nguyen2019-11-201-0/+8
| | | | | | | https://bugs.python.org/issue36277 Automerge-Triggered-By: @csabella
* Removed capital letter in parameter in stdtypes.rst (GH-17218)Jules Lasne (jlasne)2019-11-201-1/+1
| | | Automerge-Triggered-By: @csabella
* bpo-38857: AsyncMock fix for awaitable values and StopIteration fix [3.8] ↵Jason Fried2019-11-201-1/+1
| | | | (GH-17269)
* closes bpo-38712: Add signal.pidfd_send_signal. (GH-17070)Benjamin Peterson2019-11-191-0/+13
| | | | | | | | This exposes a Linux-specific syscall for sending a signal to a process identified by a file descriptor rather than a pid. For simplicity, we don't support the siginfo_t parameter to the syscall. This parameter allows implementing a pidfd version of rt_sigqueueinfo(2), which Python also doesn't support.
* bpo-38753: AsyncMock added in version 3.8 (GH-17102)John Belmonte2019-11-191-0/+1
|
* Added missing coma after end of list in subprocess.rst (GH-17217)Jules Lasne (jlasne)2019-11-191-1/+1
| | | Automerge-Triggered-By: @csabella
* Add missing comma and period in unittest docs (GH-17211)Jules Lasne (jlasne)2019-11-191-1/+1
| | | Automerge-Triggered-By: @csabella
* bpo-21767: explicitly mention abc support in functools.singledispatch docs ↵Batuhan Taşkaya2019-11-191-0/+14
| | | | (#17171)
* bpo-38622: Add missing audit events for ctypes module (GH-17158)Steve Dower2019-11-181-0/+36
|
* Correct the description of the 3.7 change in urllib.parse.quote (GH-17065)Роман Донченко2019-11-181-1/+1
| | | `~` is now treated as an unreserved character (i.e. it doesn't get quoted), not a reserved one.
* bpo-38678: Improve argparse example in tutorial (GH-17207)Raymond Hettinger2019-11-171-1/+3
|
* bpo-28286: Deprecate opening GzipFile for writing implicitly. (GH-16417)Serhiy Storchaka2019-11-161-1/+6
| | | | Always specify the mode argument for writing.
* Fix the description of isdatadescriptor in inspect.rst (#16645)HongWeipeng2019-11-151-1/+1
|
* bpo-38778: Document that os.fork is not allowed in subinterpreters (GH-17123)Phil Connell2019-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
* closes bpo-38692: Add a pidfd child process watcher to asyncio. (GH-17069)Benjamin Peterson2019-11-131-0/+12
|
* bpo-38738: Fix formatting of True and False. (GH-17083)Serhiy Storchaka2019-11-1238-166/+166
| | | | | | | | | * "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>".
* bpo-38421: Update email.utils documentation (GH-16678)David K2019-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
* bpo-38385: Fix iterator/iterable terminology in statistics docs (GH-17111)Raymond Hettinger2019-11-111-9/+9
|
* bpo-38565: add new cache_parameters method for lru_cache (GH-16916)Manjusaka2019-11-111-0/+8
|
* bpo-38771: Explict test for None in code example (GH-17108)Jonathan Scholbach2019-11-111-1/+1
|
* bpo-38438: Simplify argparse "star nargs" usage. (GH-17106)Brandt Bucher2019-11-112-4/+4
|
* bpo-38382: Document the early-out behavior for a zero (GH-17037)Raymond Hettinger2019-11-061-1/+6
|
* closes bpo-38713: Expose P_PIDFD in os if it's defined. (GH-17071)Benjamin Peterson2019-11-051-1/+11
| | | https://bugs.python.org/issue38713
* bpo-38692: Add os.pidfd_open. (GH-17063)Benjamin Peterson2019-11-051-0/+13
|
* bpo-38696: Fix usage example of HTTPStatus (GH-17066)Ammar Askar2019-11-051-1/+1
|
* bpo-38388: Document pickle protocol version 5 (GH-16639)Dima Tisnek2019-11-031-1/+5
|
* Convert argument to snake_case (GH-16990)Борис Верховский2019-11-021-2/+2
|