summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* bpo-33178: Add BigEndianUnion, LittleEndianUnion classes to ctypes (GH-25480)Dave Goncalves2022-03-291-2/+14
| | | | | | | | | | | | | * bpo-33178: Add BigEndianUnion, LittleEndianUnion classes to ctypes * GH-25480: remove trailing whitespace in ctypes doc * GH-25480: add news entry blurb * GH-25480: corrected formatting error in news blurb * GH-25480: simplified, corrected formatting in news blurb * GH-25480: remove trailing whitespace in news blurb * GH-25480: fixed class markup in news blurb * GH-25480: fixed unsupported type tests and naming per review comments * GH-25480: fixed whitepace errors * condensed base class selection for unsupported byte order tests * added versionadded tags for new EndianUnion classes
* Update glossary.rst (GH-32093)Géry Ogam2022-03-291-8/+7
|
* bpo-42340: Document issues around KeyboardInterrupt (GH-23255)benfogle2022-03-292-0/+79
| | | | | | Update documentation to note that in some circumstances, KeyboardInterrupt may cause code to enter an inconsistent state. Also document sample workaround to avoid KeyboardInterrupt, if needed.
* bpo-14265: Adds fully qualified test name to unittest output (GH-32138)Sam Ezeh2022-03-291-14/+20
| | | Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
* bpo-35859: Fix a few long-standing bugs in re engine (GH-12427)Ma Lin2022-03-291-0/+5
| | | | | | | | In rare cases, capturing group could get wrong result. Regular expression engines in Perl and Java have similar bugs. The new behavior now matches the behavior of more modern RE engines: in the regex module and in PHP, Ruby and Node.js.
* bpo-46566: Add new py.exe launcher implementation (GH-32062)Steve Dower2022-03-281-2/+61
|
* bpo-47138: Ensure Windows docs build uses the same pinned version as other ↵Steve Dower2022-03-281-1/+3
| | | | platforms (GH-32161)
* bpo-28516: document contextlib.ExitStack.__enter__ behavior (GH-31636)vidhya2022-03-281-0/+3
| | | | | | The enter_context is updated with following information: 'The :meth:`__enter__` method returns the ExitStack instance, and performs no additional operations.' Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* ctypes docs: Fix array-length reference to "non-negative" from "positive" ↵Yonatan Goldschmidt2022-03-281-1/+1
| | | | (GH-32097)
* bpo-47098: Replace Keccak Code Package with tiny_sha3 (GH-32060)Christian Heimes2022-03-261-0/+7
|
* bpo-47095: Use libb2 to provide blake2 implementation (GH-32059)Christian Heimes2022-03-261-0/+12
|
* bpo-47105: Cite grp.h instead of pwd.h in grp docs (GH-32091)Alex Hedges2022-03-261-1/+1
|
* bpo-47062: Rename factory argument to loop_factory (GH-32113)Andrew Svetlov2022-03-251-2/+2
|
* bpo-43352: Add a Barrier object in asyncio lib (GH-24903)Duprat2022-03-252-0/+118
| | | | Co-authored-by: Yury Selivanov <yury@edgedb.com> Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
* Fix some typos in whatsnew (GH-32098)Kurt McKee2022-03-251-4/+4
| | | | | | | * Fix some typos and phrasing * Convert the `hash()` text to a link * Remove definite article
* bpo-42197: Don't create `f_locals` dictionary unless we actually need it. ↵Mark Shannon2022-03-252-1/+18
| | | | | | | | | | | (GH-32055) * `PyFrame_FastToLocalsWithError` and `PyFrame_LocalsToFast` are no longer called during profile and tracing. (Contributed by Fabio Zadrozny) * Make accesses to a frame's `f_locals` safe from C code, not relying on calls to `PyFrame_FastToLocals` or `PyFrame_LocalsToFast`. * Document new `PyFrame_GetLocals` C-API function.
* bpo-47062: Implement asyncio.Runner context manager (GH-31799)Andrew Svetlov2022-03-243-37/+122
| | | Co-authored-by: Zachary Ware <zach@python.org>
* bpo-40465: Document random module changes in 3.11 What's new (#31818)Tomáš Hrnčiar2022-03-242-1/+6
|
* bpo-46480: rephrase typing.assert_type docs (GH-32069)Shantanu2022-03-241-1/+1
| | | | | | | | | The goal here is to reduce potential confusion between `assert_type(val, type)` and `assert isinstance(val, typ)`. The former is meant to ask a type checker to confirm a fact, the latter is meant to tell a type checker a fact. The behaviour of the latter more closely resembles what I'd expect from the prior phrasing of "assert [something] to the type checker".
* bpo-31582: Created a new documentation section describing sys.path ↵Russel Webber2022-03-239-29/+127
| | | | initialization (GH-31082)
* bpo-47086: Remove dead link to old CHM documentation (GH-32075)Steve Dower2022-03-231-4/+0
|
* bpo-46829: Deprecate passing a message into Future.cancel() and ↵Andrew Svetlov2022-03-232-2/+14
| | | | | Task.cancel() (GH-31840) After a long deliberation we ended up feeling that the message argument for Future.cancel(), added in 3.9, was a bad idea, so we're deprecating it in 3.11 and plan to remove it in 3.13.
* Correctly document class instead of function (GH-32016)slateny2022-03-231-4/+4
|
* bpo-46836: Add Doc/c-api/frame.rst (GH-32051)Victor Stinner2022-03-235-47/+51
| | | Reorganize the documentation of the PyFrameObject C API.
* [doc] configparser: avoid inline comments. (GH-31247)Julien Palard2022-03-231-2/+4
| | | | | | People are testing those blocs with the default inline_comment_prefixes of None, leading to a: configparser.InterpolationSyntaxError: '$' must be followed by '$' or '{', found: '$ sign ($ is the only character that needs to be escaped)'
* bpo-42238: [doc] Some lines moved in rst, but had hardcoded lineno in ↵Julien Palard2022-03-231-6/+6
| | | | susp-ignored.csv. (GH-32070)
* Fix typo in Path.iterdir docs (GH-31822)Matt Williams2022-03-231-1/+1
|
* bpo-28080: Add support for the fallback encoding in ZIP files (GH-32007)Serhiy Storchaka2022-03-222-1/+46
| | | | | | * Add the metadata_encoding parameter in the zipfile.ZipFile constructor. * Add the --metadata-encoding option in the zipfile CLI. Co-authored-by: Stephen J. Turnbull <stephen@xemacs.org>
* bpo-47081: Replace "qualifiers" with "quantifiers" in the re module ↵Serhiy Storchaka2022-03-223-15/+15
| | | | | documentation (GH-32028) It is a more commonly used term.
* bpo-45150: Add hashlib.file_digest() for efficient file hashing (GH-31930)Christian Heimes2022-03-221-0/+43
|
* bpo-47061: document module deprecations due to PEP 594 (GH-31984)Brett Cannon2022-03-2126-22/+92
| | | Also removed asynchat, asyncore, and smtpd from their respective toctree entries so they are only in the superceded subtree.
* bpo-12029: [doc] clarify that except does not match virtual subclasses of ↵Irit Katriel2022-03-212-5/+7
| | | | the specified exception type (GH-32027)
* bpo-433030: Add support of atomic grouping in regular expressions (GH-31982)Serhiy Storchaka2022-03-212-0/+60
| | | | | | | | * Atomic grouping: (?>...). * Possessive quantifiers: x++, x*+, x?+, x{m,n}+. Equivalent to (?>x+), (?>x*), (?>x?), (?>x{m,n}). Co-authored-by: Jeffrey C. Jacobs <timehorse@users.sourceforge.net>
* bpo-46013: Fix confusing kerning on period in docs (GH-29989)jmcb2022-03-201-1/+1
|
* bpo-47040: improve document of checksum functions (gh-31955)Ma Lin2022-03-192-12/+9
| | | | | | | Clarifies a versionchanged note on crc32 & adler32 docs that the workaround is only needed for Python 2 and earlier. Also cleans up an unnecessary intermediate variable in the implementation. Authored-By: Ma Lin / animalize Co-authored-by: Gregory P. Smith <greg@krypto.org>
* bpo-46382 dataclass(slots=True) now takes inherited slots into account ↵Arie Bovenberg2022-03-191-0/+10
| | | | | (GH-31980) Do not include any members in __slots__ that are already in a base class's __slots__.
* bpo-47066: Convert a warning about flags not at the start of the regular ↵Serhiy Storchaka2022-03-192-0/+8
| | | | expression into error (GH-31994)
* bpo-44544: add textwrap placeholder arg (GH-27671)andrei kulakov2022-03-191-2/+3
|
* bpo-47022: Document asynchat, asyncore and smtpd removals in 3.12 (GH-31891)Hugo van Kemenade2022-03-185-1/+15
| | | Document the deprecation of asyncore, asynchat, and smtpd with a slated removal in Python 3.12 thanks to PEP 594.
* [doc] Some more make suspicious false positives. (GH-31977)Julien Palard2022-03-181-0/+2
|
* bpo-45413: Define "posix_venv", "nt_venv" and "venv" sysconfig installation ↵Miro Hrončok2022-03-183-1/+51
| | | | | | | | | | | | | | | | | | | schemes (GH-31034) Define *posix_venv* and *nt_venv* sysconfig installation schemes to be used for bootstrapping new virtual environments. Add *venv* sysconfig installation scheme to get the appropriate one of the above. The schemes are identical to the pre-existing *posix_prefix* and *nt* install schemes. The venv module now uses the *venv* scheme to create new virtual environments instead of hardcoding the paths depending only on the platform. Downstream Python distributors customizing the *posix_prefix* or *nt* install scheme in a way that is not compatible with the install scheme used in virtual environments are encouraged not to customize the *venv* schemes. When Python itself runs in a virtual environment, sysconfig.get_default_scheme and sysconfig.get_preferred_scheme with `key="prefix"` returns *venv*.
* bpo-34790: Remove passing coroutine objects to asyncio.wait() (GH-31964)Andrew Svetlov2022-03-171-43/+3
| | | Co-authored-by: Yury Selivanov <yury@edgedb.com>
* bpo-46030: socket module add couple of FreeBSD constants. (GH-30018)David CARLIER2022-03-171-0/+15
| | | Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
* Use low bit of LOAD_GLOBAL's oparg to indicate whether it should push an ↵Mark Shannon2022-03-171-2/+5
| | | | additional NULL. (GH-31933)
* bpo-46996: Remove support of Tcl/Tk < 8.5.12 (GH-31839)Serhiy Storchaka2022-03-172-3/+4
|
* bpo-46480: add typing.assert_type (GH-30843)Jelle Zijlstra2022-03-171-0/+25
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: David Foster <david@dafoster.net>
* bpo-46769: Improve documentation for `typing.TypeVar` (GH-31712)Alex Waygood2022-03-161-21/+55
| | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* bpo-30677: [doc] mention that os.mkdir() can raise FileNotFoundError (GH-31548)slateny2022-03-141-1/+2
|
* bpo-31415: importtime was made by Inada Naoki (GH-31875)Victor Stinner2022-03-141-1/+1
|
* bpo-46906: Mention native endian in PyFloat_Pack8() doc (GH-31866)Victor Stinner2022-03-141-2/+6
|