summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* bpo-37324: Remove ABC aliases from collections (GH-23754)Hugo van Kemenade2021-01-122-5/+4
| | | | Remove deprecated aliases to Abstract Base Classes from the collections module.
* bpo-42870: Document change in argparse help output. (GH-24190)Tomáš Hrnčiar2021-01-121-0/+6
|
* Fix various ParamSpec errors in typing (GH-24176)Ken Jin2021-01-111-2/+2
| | | | | 1. ParamSpec -> TypeVar for ``typing.Concatenate`` 2. ParamSpec's call signature should align with its documentation. Noticed in GH-24169
* bpo-42802: Remove distutils bdist_wininst command (GH-24043)Victor Stinner2021-01-086-115/+10
| | | | | | | | | | The distutils bdist_wininst command deprecated in Python 3.8 has been removed. The distutils bidst_wheel command is now recommended to distribute binary packages on Windows. * Remove Lib/distutils/command/bdist_wininst.py * Remove PC/bdist_wininst/ project * Remove Lib/distutils/command/wininst-*.exe programs * Remove all references to bdist_wininst
* Fix a typo in docs for typing.Concatenate (#24169)Johan Dahlin2021-01-081-1/+1
| | | Return param spec should be R, not T
* bpo-42783: Documentation for asyncio.sleep(0) (#24002)Simon Willison2021-01-071-0/+4
| | | Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
* bpo-42811: Update importlib.utils.resolve_name() docs to use __spec__.parent ↵Yair Frid2021-01-061-1/+1
| | | | | (GH-24100) Automerge-Triggered-By: GH:brettcannon
* bpo-42528: Improve the docs of most Py*_Check{,Exact} API calls (GH-23602)Antonio Cuni2021-01-0626-52/+74
| | | | | I think that none of these API calls can fail, but only few of them are documented as such. Add the sentence "This function always succeeds" (which is the same already used e.g. by PyNumber_Check) to all of them.
* bpo-14014: Clarify StreamWriter.reset() documentation (GH-13716)Berker Peksag2021-01-061-2/+2
|
* bpo-24464: Deprecate sqlite3.enable_shared_cache (GH-24008)Erlend Egeberg Aasland2021-01-061-0/+8
|
* bpo-38413: Remove outdated section about multithreading in sqlite3 (GH-23159)Vladimir2021-01-061-13/+0
|
* bpo-40810: Require SQLite 3.7.15 (GH-24106)Erlend Egeberg Aasland2021-01-062-4/+3
|
* Fix 'make suspicious' for the itertools module (GH-24097)Pablo Galindo2021-01-041-0/+1
|
* bpo-42681: Fix range checks for color and pair numbers in curses (GH-23874)Serhiy Storchaka2021-01-031-6/+8
|
* bpo-38308: Fix the "versionchanged" for the *weights* of harmonic_mean() ↵Zackery Spytz2021-01-031-1/+1
| | | | (GH-23919)
* bpo-42093: Tweak the what's new message about the new LOAD_ATTR opcode cache ↵Pablo Galindo2021-01-031-3/+5
| | | | (GH-24070)
* bpo-41559: Documentation for PEP 612 (GH-24000)Ken Jin2021-01-023-1/+230
|
* Bring Python into the new year. (GH-24036)Dong-hee Na2021-01-012-2/+2
|
* bpo-42781: Document the mechanics of cached_property from a user viewpoint ↵Raymond Hettinger2021-01-011-4/+14
| | | | (GH-24031)
* Fixes a typo in importlib.metadata. (#23921)Tao He2020-12-311-2/+2
| | | Signed-off-by: Tao He <sighingnow@gmail.com>
* bpo-42382: In importlib.metadata, `EntryPoint` objects now expose `dist` ↵Jason R. Coombs2020-12-311-8/+3
| | | | | | | | | | | | | | (#23758) * bpo-42382: In importlib.metadata, `EntryPoint` objects now expose a `.dist` object referencing the `Distribution` when constructed from a `Distribution`. Also, sync importlib_metadata 3.3: - Add support for package discovery under package normalization rules. - The object returned by `metadata()` now has a formally-defined protocol called `PackageMetadata` with declared support for the `.get_all()` method. * Add blurb * Remove latent footnote.
* bpo-42393: Raise OverflowError iso. DeprecationWarning on overflow in ↵Erlend Egeberg Aasland2020-12-312-10/+12
| | | | socket.ntohs and socket.htons (GH-23980)
* Minor improvements to the convolve() recipe (GH-24012)Raymond Hettinger2020-12-301-2/+2
| | | | * Minor improvement to speed and space efficiency for the convolve() recipe * Don't require convolve's kernel to be a sequence.
* bpo-27640: Add --disable-test-modules configure option (GH-23886)pxinwr2020-12-301-0/+4
| | | | | | | | | Added --disable-test-modules option to the configure script: don't build nor install test modules. Patch by Xavier de Gaye, Thomas Petazzoni and Peixing Xin. Co-Authored-By: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Co-Authored-By: Xavier de Gaye <xdegaye@gmail.com>
* bpo-27794: Add `name` attribute to `property` class (GH-23967)Yurii Karabas2020-12-301-6/+16
|
* bpo-41224: Add versionadded for Symbol.is_annotated (GH-23861)Andre Delfino2020-12-291-0/+2
|
* bpo-42700: Swap descriptions in pyexpat.errors (GH-23876)Michael Wayne Goodman2020-12-291-2/+2
| | | | | | The descriptions of the `codes` and `messages` dictionaries in `xml.parsers.expat.errors` were swapped, and this commit swaps them back. For example, `codes` maps string descriptions of errors to numeric error codes, not the other way around.
* bpo-42770: Fix a typo in the email.headerregistry docs (GH-23982)Zackery Spytz2020-12-291-1/+1
| | | Automerge-Triggered-By: GH:zware
* bpo-42222: Modernize integer test/conversion in randrange() (#23064)Raymond Hettinger2020-12-281-0/+9
|
* bpo-42755: Fix sqlite3.Connection.backup docs (GH-23965)Erlend Egeberg Aasland2020-12-271-1/+1
| | | The `pages` argument default value now reflects the implementation.
* Add convolve() to the itertools recipes (GH-23928)Raymond Hettinger2020-12-261-0/+12
|
* Sync what's new in 3.9 with 3.9 branch (GH-23943)Ken Jin2020-12-251-1/+34
|
* bpo-35728: Add root parameter to tkinter.font.nametofont() (GH-23885)Desmond Cheong2020-12-251-2/+5
|
* bpo-42388: Fix subprocess.check_output input=None when text=True (GH-23467)Gregory P. Smith2020-12-251-2/+3
| | | | | | | | | | When the modern text= spelling of the universal_newlines= parameter was added for Python 3.7, check_output's special case around input=None was overlooked. So it behaved differently with universal_newlines=True vs text=True. This reconciles the behavior to be consistent and adds a test to guarantee it. Also clarifies the existing check_output documentation. Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru>
* bpo-38308: Add optional weighting to statistics.harmonic_mean() (GH-23914)Raymond Hettinger2020-12-241-9/+12
|
* bpo-41960: Add globalns and localns parameters to inspect.signature and ↵Batuhan Taskaya2020-12-232-3/+24
| | | | Signature.from_callable (GH-22583)
* bpo-9694: Fix misleading phrase "optional arguments" (GH-23858)Raymond Hettinger2020-12-232-38/+39
|
* BPO-42703: Fix incorrect documentation links for asyncio.Event (GH-23881)Matt Fowler2020-12-231-5/+5
|
* bpo-29030: Document interaction between *choices* and *metavar*. (GH-23884)Raymond Hettinger2020-12-221-0/+5
|
* [doc] Fix missing commas in signatures (#23693)Andre Delfino2020-12-222-3/+3
| | | | | * Fix star in signatures * Fix comma in signatures
* bpo-39159: Declare error that might be raised from literal_eval (GH-19899)Batuhan Taskaya2020-12-221-1/+5
|
* bpo-35790: Correct the description of sys.exc_info() and add a code example ↵Géry Ogam2020-12-211-3/+21
| | | | (GH-11625)
* bpo-42669: Document that `except` rejects nested tuples (GH-23822)Colin Watson2020-12-201-1/+2
| | | | | | | | | | | | | In Python 2, it was possible to use `except` with a nested tuple, and occasionally natural. For example, `zope.formlib.interfaces.InputErrors` is a tuple of several exception classes, and one might reasonably think to do something like this: try: self.getInputValue() return True except (InputErrors, SomethingElse): return False As of Python 3.0, this raises `TypeError: catching classes that do not inherit from BaseException is not allowed` instead: one must instead either break it up into multiple `except` clauses or flatten the tuple. However, the reference documentation was never updated to match this new restriction. Make it clear that the definition is no longer recursive. Automerge-Triggered-By: GH:ericvsmith
* bpo-42572: Improve argparse docs for the type parameter. (GH-23849)Raymond Hettinger2020-12-201-50/+57
|
* bpo-41724: Explain when the conversion is not possible with detect_types ↵sblondon2020-12-191-1/+3
| | | | | enabled (GH-23855) * Explain when the conversion is not possible with detect_types enabled
* [doc] Mention with and except clauses in globals() (GH-13232)Andre Delfino2020-12-191-1/+1
|
* bpo-42559: Not that getrandbits() is non-negative. (GH-23843)Raymond Hettinger2020-12-191-4/+5
|
* bpo-34805: Guarantee that __subclasses__() is in definition order. (GH-23844)Raymond Hettinger2020-12-191-2/+2
|
* bpo-24792: Fix zipimporter masking the cause of import errors (GH-22204)Irit Katriel2020-12-191-5/+4
| | | | | zipimport's _unmarshal_code swallows import errors and then _get_module_code doesn't know the cause of the error, and returns the generic, and sometimes incorrect, 'could not find...'. Automerge-Triggered-By: GH:brettcannon
* bpo-36769: Document that fnmatch.filter supports any kind of iterable (#13039)Andre Delfino2020-12-181-1/+1
|