Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-45680: Minor formatting fix in stdtypes.rst (GH-30690) | Ken Jin | 2022-01-19 | 1 | -1/+1 |
| | | | Makes quotation consistent with rest of docs in commit 0eae9a2a2db6cc5a72535f61bb988cc417011640. | ||||
* | bpo-45680: Clarify documentation on ``GenericAlias`` objects (GH-29335) | Alex Waygood | 2022-01-19 | 1 | -33/+84 |
| | | | | | | | | | | | | | | | The documentation on ``GenericAlias`` objects implies at multiple points that only container classes can define ``__class_getitem__``. This is misleading. This PR proposes a rewrite of the documentation to clarify that non-container classes can define ``__class_getitem__``, and to clarify what it means when a non-container class is parameterized. See also: initial discussion of issues with this piece of documentation in GH-29308, and previous BPO issue [42280](https://bugs.python.org/issue42280). Also improved references in glossary and typing docs. Fixed some links. Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> | ||||
* | bpo-22039: [doc] clarify that there are no plans to disable deleting an ↵ | Irit Katriel | 2022-01-19 | 1 | -2/+3 |
| | | | | attribute via PyObject_SetAttr (GH-30639) | ||||
* | bpo-43869: Time Epoch is the same on all platforms (GH-30664) | Victor Stinner | 2022-01-19 | 1 | -17/+11 |
| | |||||
* | bpo-45554: Document multiprocessing.Process.exitcode values (GH-30142) | John Marshall | 2022-01-18 | 1 | -2/+9 |
| | | | | | This addresses [bpo-45554]() by expanding the `exitcode` documentation to also describe what `exitcode` will be in cases of normal termination, `sys.exit()` called, and on uncaught exceptions. Automerge-Triggered-By: GH:pitrou | ||||
* | bpo-20823: Clarify copyreg.pickle() documentation (GH-30230) | Kumar Aditya | 2022-01-18 | 1 | -2/+2 |
| | |||||
* | bpo-43869: Improve epoch docs (GH-25777) | Miguel Brito | 2022-01-18 | 1 | -1/+1 |
| | |||||
* | bpo-46402: Promote SQLite URI tricks in `sqlite3` docs (GH-30660) | Erlend Egeberg Aasland | 2022-01-18 | 1 | -8/+22 |
| | | | | | Provide some examples of URI parameters in sqlite connect(). Co-authored-by: Ned Batchelder <ned@nedbatchelder.com> | ||||
* | bpo-44934: Add optional feature AppendPath to Windows MSI installer (GH-27889) | bneuburg | 2022-01-18 | 2 | -3/+13 |
| | | | The option must be enabled from the command line | ||||
* | bpo-40066: [Enum] fix tests (GH-30643) | Ethan Furman | 2022-01-17 | 1 | -1/+1 |
| | | | | | - skip doctest that changes depending on target system - skip doctest that only fails on CI - substitute in values that change depending on target system | ||||
* | bpo-40066: [Enum] skip failing doc test (GH-30637) | Kumar Aditya | 2022-01-17 | 3 | -240/+301 |
| | |||||
* | Revert "bpo-40066: [Enum] update str() and format() output (GH-30582)" ↵ | Victor Stinner | 2022-01-17 | 3 | -301/+240 |
| | | | | | (GH-30632) This reverts commit acf7403f9baea3ae1119fc6b4a3298522188bf96. | ||||
* | bpo-40066: [Enum] update str() and format() output (GH-30582) | Ethan Furman | 2022-01-16 | 3 | -240/+301 |
| | | | | | | | | | | | | | | | Undo rejected PEP-663 changes: - restore `repr()` to its 3.10 status - restore `str()` to its 3.10 status New changes: - `IntEnum` and `IntFlag` now leave `__str__` as the original `int.__str__` so that str() and format() return the same result - zero-valued flags without a name have a slightly changed repr(), e.g. `repr(Color(0)) == '<Color: 0>'` - update `dir()` for mixed-in types to return all the methods and attributes of the mixed-in type - added `_numeric_repr_` to `Flag` to control display of unnamed values - enums without doc strings have a more comprehensive doc string added - `ReprEnum` added -- inheriting from this makes it so only `__repr__` is replaced, not `__str__` nor `__format__`; `IntEnum`, `IntFlag`, and `StrEnum` all inherit from `ReprEnum` | ||||
* | bpo-20281, bpo-29964: update datetime docs to refer %z and %Z to a ↵ | Hugo van Kemenade | 2022-01-14 | 1 | -7/+6 |
| | | | | pre-existing footnote (GH-30354) | ||||
* | bpo-45569: Change PYLONG_BITS_IN_DIGIT default to 30 (GH-30497) | Mark Dickinson | 2022-01-14 | 2 | -2/+11 |
| | |||||
* | bpo-23183: Document the timeit output (GH-30359) | Hugo van Kemenade | 2022-01-14 | 1 | -0/+7 |
| | | | | Co-authored-by: Robert Collins <robertc@robertcollins.net> | ||||
* | bpo-46355: Document PyFrameObject and PyThreadState changes (GH-30558) | Victor Stinner | 2022-01-13 | 1 | -0/+104 |
| | | | | Document PyFrameObject and PyThreadState changes in What's New in Python 3.11 and explain how to port code. | ||||
* | bpo-46328: Add sys.exception() (GH-30514) | Irit Katriel | 2022-01-13 | 3 | -16/+34 |
| | |||||
* | bpo-40479: Fix hashlib's usedforsecurity for OpenSSL 3.0.0 (GH-30455) | Christian Heimes | 2022-01-13 | 1 | -2/+2 |
| | |||||
* | bpo-46342: make @typing.final introspectable (GH-30530) | Jelle Zijlstra | 2022-01-12 | 1 | -0/+9 |
| | | | Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> | ||||
* | bpo-46307: Add string.Template.get_identifiers() method (GH-30493) | Ben Kehoe | 2022-01-11 | 1 | -0/+19 |
| | | | | | Add `string.Template.get_identifiers()` method that returns the identifiers within the template. By default, raises an error if it encounters an invalid identifier (like `substitute()`). The keyword-only argument `raise_on_invalid` can be set to `False` to ignore invalid identifiers (like `safe_substitute()`). Automerge-Triggered-By: GH:warsaw | ||||
* | [doc] Add license_url for python-docs-theme 2022.1. (GH-30527) | Julien Palard | 2022-01-11 | 2 | -2/+3 |
| | |||||
* | closes bpo-46253: Change Py_UNICODE to Py_UCS4 in the C API docs to match ↵ | Julian Gilbey | 2022-01-11 | 1 | -17/+17 |
| | | | | the current source code (GH-30387) | ||||
* | Remove unused `Any` from `Concatenate` example in typing docs (GH-30516) | Michael Oliver | 2022-01-11 | 1 | -1/+1 |
| | |||||
* | bpo-45331: [Enum] add rule to docs that mixin type must be subclassable ↵ | Nikita Sobolev | 2022-01-10 | 1 | -4/+7 |
| | | | | (GH-30521) | ||||
* | bpo-46270: Describe the `in` and `not in` operators as membership tests. ↵ | Raymond Hettinger | 2022-01-10 | 1 | -4/+6 |
| | | | | (GH-30504) | ||||
* | bpo-23882: unittest: Drop PEP 420 support from discovery. (GH-29745) | Inada Naoki | 2022-01-10 | 2 | -2/+27 |
| | |||||
* | bpo-46261: Update `sqlite3.Cursor.lastrowid` docs (GH-30407) | Erlend Egeberg Aasland | 2022-01-08 | 1 | -8/+9 |
| | |||||
* | bpo-46290: Fix parameter names in dataclasses docs (GH-30450) | Zsolt Dollenstein | 2022-01-08 | 1 | -12/+12 |
| | |||||
* | bpo-28546: [doc] Clarify setting pdb breakpoints (GH-30360) | Hugo van Kemenade | 2022-01-07 | 1 | -5/+4 |
| | | | | Co-authored-by: Ian Kelling <ian@iankelling.org> | ||||
* | bpo-24650: Use full term "generator function" in yield expressions docs ↵ | Jacob Walls | 2022-01-07 | 1 | -2/+2 |
| | | | | (GH-24663) | ||||
* | bpo-46216: remove spurious link to os.system() from os.time() documentation ↵ | Irit Katriel | 2022-01-07 | 1 | -8/+8 |
| | | | | | (GH-30326) Automerge-Triggered-By: GH:iritkatriel | ||||
* | bpo-46251: Add 'Security Considerations' section to logging configura… ↵ | Vinay Sajip | 2022-01-06 | 1 | -0/+14 |
| | | | | (GH-30411) | ||||
* | bpo-45292: [PEP-654] exception groups and except* documentation (GH-30158) | Irit Katriel | 2022-01-06 | 3 | -1/+208 |
| | |||||
* | bpo-45923: Handle call events in bytecode (GH-30364) | Mark Shannon | 2022-01-06 | 1 | -0/+14 |
| | | | | * Add a RESUME instruction to handle "call" events. | ||||
* | bpo-46031: add POP_JUMP_IF_NOT_NONE and POP_JUMP_IF_NONE (GH-30019) | penguin_wwy | 2022-01-06 | 2 | -0/+17 |
| | |||||
* | bpo-46266: Add calendar day of week constants to __all__ (GH-30412) | Nikita Sobolev | 2022-01-05 | 1 | -1/+10 |
| | |||||
* | bpo-46009: Remove GEN_START (GH-30367) | Brandt Bucher | 2022-01-04 | 2 | -9/+1 |
| | |||||
* | Fix missing "," in the documentation of Executor Objects (GH-30404) | Philipp Claßen | 2022-01-04 | 1 | -1/+1 |
| | |||||
* | bpo-20369: concurrent.futures.wait() now deduplicates futures given a… ↵ | Kumar Aditya | 2022-01-04 | 1 | -1/+2 |
| | | | | | | | | | (GH-30168) * bpo-20369: concurrent.futures.wait() now deduplicates futures given as arg. * 📜🤖 Added by blurb_it. Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> | ||||
* | bpo-33252: Document that ResourceWarning is ignored by default (GH-30358) | Hugo van Kemenade | 2022-01-04 | 1 | -1/+1 |
| | | | | | | | | | `ResourceWarning` is ignored by default. Document this behaviour, for consistency with others in this table such as `DeprecationWarning`. Documentation PR can skip NEWS file. Automerge-Triggered-By: GH:iritkatriel | ||||
* | bpo-46231: Remove invalid_* rules preceded by more tokens from the grammar ↵ | Pablo Galindo Salgado | 2022-01-04 | 1 | -2/+2 |
| | | | | docs (GH-30341) | ||||
* | bpo-46202: Remove opcode POP_EXCEPT_AND_RERAISE (GH-30302) | Irit Katriel | 2022-01-04 | 1 | -10/+0 |
| | | | | | | * bpo-46202: remove opcode POP_EXCEPT_AND_RERAISE * do not assume that an exception group is truthy | ||||
* | bpo-44092: Move What's New entry to where it belongs (GH-30381) | Erlend Egeberg Aasland | 2022-01-04 | 1 | -5/+4 |
| | |||||
* | Update old-style strings to f-strings (GH-30384) | David Gilbertson | 2022-01-04 | 1 | -4/+4 |
| | | | Let me know if this sort of change is unwanted... | ||||
* | bpo-34538: Remove Exception subclassing from tutorial (GH-30361) | Hugo van Kemenade | 2022-01-03 | 1 | -35/+1 |
| | | | | | | | Remove the bit about subclassing exceptions. Documentation PR can skip the NEWS label. Automerge-Triggered-By: GH:iritkatriel | ||||
* | Add doctest and improve readability for move_to_end() example. (#30370) | Raymond Hettinger | 2022-01-03 | 1 | -3/+5 |
| | |||||
* | bpo-34931: [doc] clarify behavior of os.path.splitext() on paths with ↵ | Irit Katriel | 2022-01-03 | 1 | -1/+6 |
| | | | | multiple leading periods (GH-30347) | ||||
* | bpo-44092: Don't reset statements/cursors before rollback (GH-26026) | Erlend Egeberg Aasland | 2022-01-03 | 1 | -0/+5 |
| | | | In SQLite versions pre 3.7.11, pending statements would block a rollback. This is no longer the case, so remove the workaround. | ||||
* | bpo-46222: posixmodule sendfile FreeBSD's constants updates. (GH-30327) | David CARLIER | 2022-01-03 | 1 | -0/+9 |
| | | | | | | | * posixodule sendfile FreeBSD's constants updates. * 📜🤖 Added by blurb_it. Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> |