Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-37324: Remove ABC aliases from collections (GH-23754) | Hugo van Kemenade | 2021-01-12 | 2 | -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čiar | 2021-01-12 | 1 | -0/+6 |
| | |||||
* | Fix various ParamSpec errors in typing (GH-24176) | Ken Jin | 2021-01-11 | 1 | -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 Stinner | 2021-01-08 | 6 | -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 Dahlin | 2021-01-08 | 1 | -1/+1 |
| | | | Return param spec should be R, not T | ||||
* | bpo-42783: Documentation for asyncio.sleep(0) (#24002) | Simon Willison | 2021-01-07 | 1 | -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 Frid | 2021-01-06 | 1 | -1/+1 |
| | | | | | (GH-24100) Automerge-Triggered-By: GH:brettcannon | ||||
* | bpo-42528: Improve the docs of most Py*_Check{,Exact} API calls (GH-23602) | Antonio Cuni | 2021-01-06 | 26 | -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 Peksag | 2021-01-06 | 1 | -2/+2 |
| | |||||
* | bpo-24464: Deprecate sqlite3.enable_shared_cache (GH-24008) | Erlend Egeberg Aasland | 2021-01-06 | 1 | -0/+8 |
| | |||||
* | bpo-38413: Remove outdated section about multithreading in sqlite3 (GH-23159) | Vladimir | 2021-01-06 | 1 | -13/+0 |
| | |||||
* | bpo-40810: Require SQLite 3.7.15 (GH-24106) | Erlend Egeberg Aasland | 2021-01-06 | 2 | -4/+3 |
| | |||||
* | Fix 'make suspicious' for the itertools module (GH-24097) | Pablo Galindo | 2021-01-04 | 1 | -0/+1 |
| | |||||
* | bpo-42681: Fix range checks for color and pair numbers in curses (GH-23874) | Serhiy Storchaka | 2021-01-03 | 1 | -6/+8 |
| | |||||
* | bpo-38308: Fix the "versionchanged" for the *weights* of harmonic_mean() ↵ | Zackery Spytz | 2021-01-03 | 1 | -1/+1 |
| | | | | (GH-23919) | ||||
* | bpo-42093: Tweak the what's new message about the new LOAD_ATTR opcode cache ↵ | Pablo Galindo | 2021-01-03 | 1 | -3/+5 |
| | | | | (GH-24070) | ||||
* | bpo-41559: Documentation for PEP 612 (GH-24000) | Ken Jin | 2021-01-02 | 3 | -1/+230 |
| | |||||
* | Bring Python into the new year. (GH-24036) | Dong-hee Na | 2021-01-01 | 2 | -2/+2 |
| | |||||
* | bpo-42781: Document the mechanics of cached_property from a user viewpoint ↵ | Raymond Hettinger | 2021-01-01 | 1 | -4/+14 |
| | | | | (GH-24031) | ||||
* | Fixes a typo in importlib.metadata. (#23921) | Tao He | 2020-12-31 | 1 | -2/+2 |
| | | | Signed-off-by: Tao He <sighingnow@gmail.com> | ||||
* | bpo-42382: In importlib.metadata, `EntryPoint` objects now expose `dist` ↵ | Jason R. Coombs | 2020-12-31 | 1 | -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 Aasland | 2020-12-31 | 2 | -10/+12 |
| | | | | socket.ntohs and socket.htons (GH-23980) | ||||
* | Minor improvements to the convolve() recipe (GH-24012) | Raymond Hettinger | 2020-12-30 | 1 | -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) | pxinwr | 2020-12-30 | 1 | -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 Karabas | 2020-12-30 | 1 | -6/+16 |
| | |||||
* | bpo-41224: Add versionadded for Symbol.is_annotated (GH-23861) | Andre Delfino | 2020-12-29 | 1 | -0/+2 |
| | |||||
* | bpo-42700: Swap descriptions in pyexpat.errors (GH-23876) | Michael Wayne Goodman | 2020-12-29 | 1 | -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 Spytz | 2020-12-29 | 1 | -1/+1 |
| | | | Automerge-Triggered-By: GH:zware | ||||
* | bpo-42222: Modernize integer test/conversion in randrange() (#23064) | Raymond Hettinger | 2020-12-28 | 1 | -0/+9 |
| | |||||
* | bpo-42755: Fix sqlite3.Connection.backup docs (GH-23965) | Erlend Egeberg Aasland | 2020-12-27 | 1 | -1/+1 |
| | | | The `pages` argument default value now reflects the implementation. | ||||
* | Add convolve() to the itertools recipes (GH-23928) | Raymond Hettinger | 2020-12-26 | 1 | -0/+12 |
| | |||||
* | Sync what's new in 3.9 with 3.9 branch (GH-23943) | Ken Jin | 2020-12-25 | 1 | -1/+34 |
| | |||||
* | bpo-35728: Add root parameter to tkinter.font.nametofont() (GH-23885) | Desmond Cheong | 2020-12-25 | 1 | -2/+5 |
| | |||||
* | bpo-42388: Fix subprocess.check_output input=None when text=True (GH-23467) | Gregory P. Smith | 2020-12-25 | 1 | -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 Hettinger | 2020-12-24 | 1 | -9/+12 |
| | |||||
* | bpo-41960: Add globalns and localns parameters to inspect.signature and ↵ | Batuhan Taskaya | 2020-12-23 | 2 | -3/+24 |
| | | | | Signature.from_callable (GH-22583) | ||||
* | bpo-9694: Fix misleading phrase "optional arguments" (GH-23858) | Raymond Hettinger | 2020-12-23 | 2 | -38/+39 |
| | |||||
* | BPO-42703: Fix incorrect documentation links for asyncio.Event (GH-23881) | Matt Fowler | 2020-12-23 | 1 | -5/+5 |
| | |||||
* | bpo-29030: Document interaction between *choices* and *metavar*. (GH-23884) | Raymond Hettinger | 2020-12-22 | 1 | -0/+5 |
| | |||||
* | [doc] Fix missing commas in signatures (#23693) | Andre Delfino | 2020-12-22 | 2 | -3/+3 |
| | | | | | * Fix star in signatures * Fix comma in signatures | ||||
* | bpo-39159: Declare error that might be raised from literal_eval (GH-19899) | Batuhan Taskaya | 2020-12-22 | 1 | -1/+5 |
| | |||||
* | bpo-35790: Correct the description of sys.exc_info() and add a code example ↵ | Géry Ogam | 2020-12-21 | 1 | -3/+21 |
| | | | | (GH-11625) | ||||
* | bpo-42669: Document that `except` rejects nested tuples (GH-23822) | Colin Watson | 2020-12-20 | 1 | -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 Hettinger | 2020-12-20 | 1 | -50/+57 |
| | |||||
* | bpo-41724: Explain when the conversion is not possible with detect_types ↵ | sblondon | 2020-12-19 | 1 | -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 Delfino | 2020-12-19 | 1 | -1/+1 |
| | |||||
* | bpo-42559: Not that getrandbits() is non-negative. (GH-23843) | Raymond Hettinger | 2020-12-19 | 1 | -4/+5 |
| | |||||
* | bpo-34805: Guarantee that __subclasses__() is in definition order. (GH-23844) | Raymond Hettinger | 2020-12-19 | 1 | -2/+2 |
| | |||||
* | bpo-24792: Fix zipimporter masking the cause of import errors (GH-22204) | Irit Katriel | 2020-12-19 | 1 | -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 Delfino | 2020-12-18 | 1 | -1/+1 |
| |