Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove latent footnote.importlib_metadata-3.3 | Jason R. Coombs | 2020-12-16 | 1 | -6/+0 |
| | |||||
* | bpo-42382: In importlib.metadata, `EntryPoint` objects now expose a `.dist` ↵ | Jason R. Coombs | 2020-12-13 | 1 | -2/+3 |
| | | | | | | | | | 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 two spaces around equal sign (#23719) | sblondon | 2020-12-12 | 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-09 | 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-06 | 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-11-30 | 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> | ||||
* | bpo-42501: Revise the usage note for Enums with the choices (GH-23563) | Raymond Hettinger | 2020-11-30 | 1 | -14/+3 |
| | |||||
* | bpo-42450: Minor updates to the itertools recipes (GH-23555) | Raymond Hettinger | 2020-11-29 | 1 | -5/+5 |
| | |||||
* | bpo-42392: Remove deprecated loop parameter from docs (GH-23552) | Yurii Karabas | 2020-11-29 | 5 | -80/+22 |
| | |||||
* | bpo-39096: Improve description of 'e', 'f' and 'g' presentation types (#23537) | Mark Dickinson | 2020-11-29 | 1 | -12/+31 |
| | | | | | | | | | | | * Improve description of 'e', 'f' and 'g' presentation types * Drop the 'E' from Scientific 'E' notation; remove >= 0 qualifications * Fix false statement that the alternate form is valid for Decimal * Nitpick: remove the Harvard/Oxford comma * Add note that the decimal point is also removed if no digits follow it, except in alternate form | ||||
* | bpo-31904: add shell requirement for test_pipes (GH-23489) | pxinwr | 2020-11-28 | 1 | -0/+2 |
| | | | VxWorks has no user space shell provided so it can't support pipes module. Also add shell requirement for running test_pipes. | ||||
* | Fix dis markup (GH-23524) | Andre Delfino | 2020-11-28 | 1 | -6/+6 |
| | |||||
* | Fix multiprocessing markup (GH-23525) | Andre Delfino | 2020-11-28 | 1 | -3/+3 |
| | |||||
* | Document optional 'task'/'asyncgen' fields in call_exception_handler (#21735) | Shane Harvey | 2020-11-26 | 1 | -1/+4 |
| | |||||
* | bpo-42299: Remove formatter module (GH-23476) | Dong-hee Na | 2020-11-25 | 3 | -365/+0 |
| | |||||
* | bpo-42202: Store func annotations as a tuple (GH-23316) | Yurii Karabas | 2020-11-25 | 1 | -1/+3 |
| | | | | | | | | | | | | | Reduce memory footprint and improve performance of loading modules having many func annotations. >>> sys.getsizeof({"a":"int","b":"int","return":"int"}) 232 >>> sys.getsizeof(("a","int","b","int","return","int")) 88 The tuple is converted into dict on the fly when `func.__annotations__` is accessed first. Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Inada Naoki <songofacandy@gmail.com> | ||||
* | Doc: Minor fixes (GH-23422) | kj | 2020-11-25 | 1 | -1/+1 |
| | |||||
* | Typo (#23482) | Jesús Cea | 2020-11-24 | 1 | -1/+1 |
| | |||||
* | Added support for negative indexes to PurePath.parents (GH-21799) | Yaroslav Pankovych | 2020-11-23 | 1 | -1/+1 |
| | | | | | | | | | | This commit also fixes up some of the overlapping documentation changed in bpo-35498, which added support for indexing with slices. Fixes bpo-21041. https://bugs.python.org/issue21041 Co-authored-by: Paul Ganssle <p.ganssle@gmail.com> Co-authored-by: Rémi Lapeyre <remi.lapeyre@henki.fr> | ||||
* | bpo-15450: Allow subclassing of dircmp (GH-23424) (#23424) | Nick Crews | 2020-11-23 | 1 | -1/+7 |
| | | | Co-authored-by: Chris Jerdonek <chris.jerdonek@gmail.com> | ||||
* | Doc: fix typo in typing.Type docs (GH-23460) | John Belmonte | 2020-11-22 | 1 | -1/+1 |
| | |||||
* | bpo-42391: Clarify documentation of TestCase.assertIs (GH-23348) | Ram Rachum | 2020-11-22 | 1 | -2/+1 |
| | | | Removing 'evaluate' makes it more consistent with other assertX entries. | ||||
* | Clarify that Set._from_iterable is not required to be a classmethod. (GH-23272) | Richard Levasseur | 2020-11-21 | 1 | -1/+1 |
| | |||||
* | bpo-42232: mmap module add Darwin specific madvise options. (GH-23076) | David CARLIER | 2020-11-21 | 1 | -0/+2 |
| | |||||
* | bpo-42407: Use possessive appostrophe in multiprocessing doc (GH-23400) | ArioA | 2020-11-20 | 1 | -1/+1 |
| | |||||
* | bpo-42360: Add advice to help avoid pickling issues. (GH-23305) | Raymond Hettinger | 2020-11-20 | 1 | -0/+3 |
| | |||||
* | Fix wrong availability for signal.SIGCHLD (#23285) | Zhang Maiyun | 2020-11-20 | 1 | -1/+1 |
| | | | I believe this is a mistake. SIGCHLD is only available on Unix systems, not Windows. | ||||
* | bpo-35498: Added slice support to PathLib parents attribute. (GH-11165) | Joshua Cannon | 2020-11-20 | 1 | -0/+2 |
| | | | Added slice support to the `pathlib.Path.parents` sequence. For a `Path` `p`, slices of `p.parents` should return the same thing as slices of `tuple(p.parents)`. | ||||
* | bpo-42413: socket.timeout is now an alias of TimeoutError (GH-23413) | Christian Heimes | 2020-11-20 | 2 | -2/+7 |
| | | | Signed-off-by: Christian Heimes <christian@python.org> | ||||
* | bpo-42345: Add whatsnew and versionchanged for typing.Literal in 3.9 (GH-23386) | kj | 2020-11-19 | 1 | -0/+6 |
| | | | | | | * Whatsnew entry in 3.9 same as the one in 3.10. * versionchanged for typing.Literal docs Needs backport to 3.9. | ||||
* | bpo-42345: Fix hash implementation of typing.Literal (GH-23383) | Yurii Karabas | 2020-11-19 | 1 | -3/+3 |
| | | | | | | | Fix hash implementation of `typing.Literal`. Update docs regarding `typing.Litaral` caching. Base implementation was done in PR #23294. | ||||
* | [doc] Fix smtplib and xml.dom.minidom mark-up (GH-22769) | Andre Delfino | 2020-11-18 | 2 | -3/+3 |
| | |||||
* | bpo-41625: Specify that Linux >= 2.6.17 *and* glibc >= 2.5 are requir… ↵ | Pablo Galindo | 2020-11-17 | 1 | -1/+1 |
| | | | | | (GH-23351) …ed for splice() | ||||
* | bpo-41625: Add versionadded to os.splice() constants (GH-23340) | Pablo Galindo | 2020-11-17 | 1 | -0/+1 |
| | |||||
* | bpo-41625: Expose the splice() system call in the os module (GH-21947) | Pablo Galindo | 2020-11-17 | 1 | -0/+32 |
| | |||||
* | bpo-37205: time.perf_counter() and time.monotonic() are system-wide (GH-23284) | Victor Stinner | 2020-11-16 | 1 | -7/+36 |
| | | | | | | | time.perf_counter() on Windows and time.monotonic() on macOS are now system-wide. Previously, they used an offset computed at startup to reduce the precision loss caused by the float type. Use time.perf_counter_ns() and time.monotonic_ns() added in Python 3.7 to avoid this precision loss. | ||||
* | bpo-42153 Fix link to IMAP documents in imaplib.rst (GH-23297) | Yash Shete | 2020-11-15 | 1 | -3/+3 |
| | | | The University of Washington stopped hosting the IMAP documents. Link to a rescued copy on GitHub. | ||||
* | bpo-42317: Improve docs of typing.get_args concerning Union (GH-23254) | Dominik1123 | 2020-11-15 | 1 | -0/+3 |
| | |||||
* | fix typo in ThreadedChildWatcher docs (GH-23277) | Thomas Grainger | 2020-11-14 | 1 | -1/+1 |
| | |||||
* | bpo-42131: Add PEP 451-related methods to zipimport (GH-23187) | Brett Cannon | 2020-11-13 | 1 | -3/+43 |
| | | | | | Specifically, find_spec(), create_module(), and exec_module(). Co-authored-by: Nick Coghlan <ncoghlan@gmail.com> | ||||
* | bpo-41001: Add os.eventfd() (#20930) | Christian Heimes | 2020-11-13 | 1 | -0/+96 |
| | | | Co-authored-by: Kyle Stanley <aeros167@gmail.com> | ||||
* | bpo-42344: Improve pseudo implementation for SimpleNamespace (GH-23264) | Jürgen Gmach | 2020-11-13 | 1 | -1/+3 |
| | |||||
* | bpo-40968: Send http/1.1 ALPN extension (#20959) | Christian Heimes | 2020-11-13 | 2 | -0/+10 |
| | | | Signed-off-by: Christian Heimes <christian@python.org> |