Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | 1 | -10/+6 |
| | | | | 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-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 |
| | |||||
* | 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 | 1 | -3/+19 |
| | | | | Signature.from_callable (GH-22583) | ||||
* | bpo-9694: Fix misleading phrase "optional arguments" (GH-23858) | Raymond Hettinger | 2020-12-23 | 1 | -27/+27 |
| | |||||
* | 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-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 | ||||
* | 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 |
| | |||||
* | bpo-42675: Document collections.abc.Callable changes (GH-23839) | kj | 2020-12-18 | 1 | -0/+4 |
| | |||||
* | bpo-17140: Document multiprocessing's ThreadPool (GH-23812) | Matt Wozniski | 2020-12-18 | 1 | -0/+40 |
| | | | | | Up until now, the `multiprocessing.pool.ThreadPool` class has gone undocumented, despite being a public class in multiprocessing that is included in `multiprocessing.pool.__all__`. | ||||
* | bpo-39096: Format specification documentation fixes for numeric types (GH-23575) | Mark Dickinson | 2020-12-18 | 1 | -12/+23 |
| | |||||
* | bpo-42670: Fix a missing word in the itertools.product() docs (GH-23823) | Zackery Spytz | 2020-12-17 | 1 | -1/+1 |
| | |||||
* | [doc] Fix a few margins due to bad markup (GH-23619) | Andre Delfino | 2020-12-17 | 10 | -88/+88 |
| | |||||
* | bpo-42246: Make sure that `f_lasti`, and thus `f_lineno`, is set correctly ↵ | Mark Shannon | 2020-12-17 | 1 | -1/+2 |
| | | | | | | | | | after raising or reraising an exception (GH-23803) * Ensure that f_lasti is set correctly after an exception is raised to conform to PEP 626. * Update importlib * Add NEWS. | ||||
* | [doc] Fix erroneous backslashes in signatures and names (GH-23658) | Andre Delfino | 2020-12-17 | 32 | -88/+88 |
| | | | | | The issue being resolved is shown in the 3.10 docs (if you select docs for older versions you won't see a visual glitch). The newer sphinx version that produces the 3.10 docs doesn't treat the backslash to escape things in some situations it previously did. | ||||
* | Fix indentation for get_stats_profile() docs (GH-23618) | Matthew Suozzo | 2020-12-16 | 1 | -1/+1 |
| | | | | The existing method is indented one too many times which makes it look like a sub-method of print_callees(). | ||||
* | bpo-23915: update and elucidate documentation of with_traceback (GH-23680) | Irit Katriel | 2020-12-16 | 1 | -2/+7 |
| | |||||
* | Clarify eval() doc from library/functions. (GH-22700) | Antoine | 2020-12-16 | 1 | -8/+9 |
| | |||||
* | bpo-42090: zipfile.Path.joinpath now accepts multiple arguments (GH-22976) | Jason R. Coombs | 2020-12-16 | 1 | -1/+14 |
| | | | Automerge-Triggered-By: GH:jaraco | ||||
* | bpo-31904: Disable os.popen and popen test cases on VxWorks (GH-21687) | pxinwr | 2020-12-15 | 1 | -1/+1 |
| | |||||
* | bpo-36675: Doc: Reveal doctest directives (GH-23620) | Julien Palard | 2020-12-15 | 1 | -17/+37 |
| | |||||
* | Add two spaces around equal sign (#23719) | sblondon | 2020-12-13 | 1 | -1/+1 |
| | | | Fit to PEP8 coding style | ||||
* | bpo-42385: [Enum] add `_generate_next_value_` to StrEnum (GH-23735) | Ethan Furman | 2020-12-10 | 1 | -2/+4 |
| | | | The default for auto() is to return an integer, which doesn't work for `StrEnum`. The new `_generate_next_value_` for `StrEnum` returns the member name, lower cased. | ||||
* | bpo-41877: Improve docs for assert misspellings check in mock (GH-23729) | vabr-g | 2020-12-10 | 1 | -3/+4 |
| | | | | | | | | | This is a follow-up to https://github.com/python/cpython/commit/4662fa9bfe4a849fe87bfb321d8ef0956c89a772. That original commit expanded guards against misspelling assertions on mocks. This follow-up updates the documentation and improves the error message by pointing out the potential cause and solution. Automerge-Triggered-By: GH:gpshead | ||||
* | bpo-42517: [Enum] do not convert private names into members (GH-23722) | Ethan Furman | 2020-12-10 | 1 | -0/+9 |
| | | | private names, such as `_Color__hue` and `_Color__hue_` are now normal attributes, and do not become members nor raise exceptions | ||||
* | [doc] Link to issue regarding logging.disable level param default value ↵ | Andre Delfino | 2020-12-09 | 1 | -2/+2 |
| | | | | (GH-23726) | ||||
* | [doc] Document logging.basicConfig default format (GH-23710) | Andre Delfino | 2020-12-09 | 1 | -1/+3 |
| | | | Automerge-Triggered-By: GH:vsajip | ||||
* | bpo-38843: Document behavior of default when the attribute is already set ↵ | Raymond Hettinger | 2020-12-07 | 1 | -1/+9 |
| | | | | (GH-23653) | ||||
* | [doc] Fix abc.update_abstractmethods markup (GH-23576) | Andre Delfino | 2020-12-01 | 1 | -1/+2 |
| | | | Add link to ABCMeta while at it. | ||||
* | Fix bz2 examples markup (#23580) | Andre Delfino | 2020-12-01 | 1 | -8/+0 |
| | |||||
* | bpo-38200: Add itertools.pairwise() (GH-23549) | Raymond Hettinger | 2020-12-01 | 1 | -6/+17 |
| | |||||
* | bpo-28468: Add platform.freedesktop_os_release() (GH-23492) | Christian Heimes | 2020-11-30 | 1 | -0/+38 |
| | | | | | | | Add platform.freedesktop_os_release() function to parse freedesktop.org os-release files. Signed-off-by: Christian Heimes <christian@python.org> Co-authored-by: Victor Stinner <vstinner@python.org> |