summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* gh-103092: Isolate `_collections` (#103093)Erlend E. Aasland2023-04-125-283/+287
| | | Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
* GH-103082: Implementation of PEP 669: Low Impact Monitoring for CPython ↵Mark Shannon2023-04-1244-1617/+6021
| | | | | | | | | | (GH-103083) * The majority of the monitoring code is in instrumentation.c * The new instrumentation bytecodes are in bytecodes.c * legacy_tracing.c adapts the new API to the old sys.setrace and sys.setprofile APIs
* gh-103092: Isolate msvcrt (#103248)AN Long2023-04-122-28/+26
|
* gh-103417: use time.monotonic in the example for sched.scheduler (#103418)Nick Burns2023-04-121-1/+1
|
* GH-83893: Cross reference env. vars and -X command line options (GH-103414)Furkan Onder2023-04-121-6/+12
| | | Co-authored-by: Erlend E. Aasland
* gh-103357: Add logging.Formatter defaults support to logging.config ↵Bar Harel2023-04-124-5/+137
| | | | fileConfig and dictConfig (GH-103359)
* gh-103237: Polish pdb docs (#103238)Tian Gao2023-04-121-38/+100
|
* gh-103143: Polish pdb help messages and doc strings (GH-103144)Tian Gao2023-04-113-10/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Made all the command part of the docstring match the official documentation * Always have a space between the command and the description in docstring * Added a helper function to format the help message Before: ``` (Pdb) h a a(rgs) Print the argument list of the current function. (Pdb) h commands commands [bpnumber] (com) ... (com) end (Pdb) ... (Pdb) h interact interact Start an interactive interpreter whose global namespace contains all the (global and local) names found in the current scope. ``` After ``` (Pdb) h a Usage: a(rgs) Print the argument list of the current function. (Pdb) h commands Usage: (Pdb) commands [bpnumber] (com) ... (com) end (Pdb) ... (Pdb) h interact Usage: interact Start an interactive interpreter whose global namespace contains all the (global and local) names found in the current scope. ``` Automerge-Triggered-By: GH:brandtbucher
* Remove redundant words from interpreter_definition.md. (GH-103455)Benjamin Peterson2023-04-111-3/+3
|
* gh-87092: fix refleak in peepholer test harness (#103448)Irit Katriel2023-04-111-4/+0
|
* gh-103088: Sanitize venv paths when using MSYS or Cygwin Bash (GH-103325)Stanislav Syekirin2023-04-113-3/+11
|
* GH-103220: Fix `ntpath.join()` of partial UNC drive with trailing slash ↵Barney Gale2023-04-113-1/+8
| | | | (GH-103221)
* gh-87864: Use correct function definition syntax in the docs (#103312)Nikita Sobolev2023-04-114-7/+7
|
* gh-77757: replace exception wrapping by PEP-678 notes in typeobject's ↵Irit Katriel2023-04-118-41/+55
| | | | __set_name__ (#103402)
* gh-103373: `__mro_entries__` docs: improve cross references (#103398)Alex Waygood2023-04-112-7/+12
| | | Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
* gh-91276: remove unused _PyOpcode_RelativeJump (#103156)Irit Katriel2023-04-114-42/+12
|
* gh-87092: move assembler related code from compile.c to assemble.c (#103277)Irit Katriel2023-04-1110-749/+851
|
* gh-103176: sys._current_exceptions() returns mapping to exception instances ↵Irit Katriel2023-04-115-10/+23
| | | | instead of exc_info tuples (#103177)
* gh-102828: set stacklevel on deprecation warning (#103422)Irit Katriel2023-04-111-1/+1
|
* gh-99553: add tests for ExceptionGroup wrapping (#99615)Zac Hatfield-Dodds2023-04-111-0/+14
|
* Docs: don't render files in includes/, they're for embedding only (#103313)Hugo van Kemenade2023-04-111-1/+3
|
* Doc: Avoid error lexing multiprocessing docs code block on Pygments 2.15.0 ↵C.A.M. Gerlach2023-04-111-1/+3
| | | | (#103421)
* gh-103000: Optimise dataclasses asdict/astuple for common types (#103005)David Ellis2023-04-102-2/+31
| | | | Co-authored-by: Carl Meyer <carl@oddbird.net> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-103092: Isolate winsound (#103249)AN Long2023-04-102-25/+23
|
* gh-83004: Harden winreg init (#103386)Erlend E. Aasland2023-04-101-28/+37
|
* gh-83004: Harden `msvcrt` init (#103383)Erlend E. Aasland2023-04-101-12/+29
|
* gh-103059: Clarify gc.freeze documentation (#103058)raylu2023-04-102-6/+12
|
* gh-103334: Ignore `Tools/c-analyzer/cpython/_parser.py` from `patchcheck` ↵Nikita Sobolev2023-04-102-2/+15
| | | | | | | (GH-103335) I've also added a small comment to `Tools/c-analyzer/cpython/_parser.py` to trigger the `patchcheck` CI. It must pass now. Automerge-Triggered-By: GH:ericsnowcurrently
* gh-97797: Mention `__metadata__` in docstrings of `typing.{_AnnotatedAlias, ↵Nikita Sobolev2023-04-101-0/+6
| | | | | | Annotated}` (#103405) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: Kirill <80244920+Eclips4@users.noreply.github.com>
* gh-103395: Improve `typing._GenericAlias.__dir__` coverage (#103396)Nikita Sobolev2023-04-101-2/+61
|
* Fix old behaviour in typing documentation (#103400)James Hilton-Balfe2023-04-091-3/+3
|
* gh-83004: Harden winsound init (#103385)Erlend E. Aasland2023-04-091-16/+14
|
* Itertool recipe improvements (GH-103399)Raymond Hettinger2023-04-091-137/+179
|
* GH-101362: Omit path anchor from `pathlib.PurePath()._parts` (GH-102476)Barney Gale2023-04-093-67/+108
| | | Improve performance of path construction by skipping the addition of the path anchor (`drive + root`) to the internal `_parts` list. Rename this attribute to `_tail` for clarity.
* GH-103379: Fix up old tests for `pathlib.PurePath._parse_path` (GH-103380)Barney Gale2023-04-091-110/+97
| | | Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* Gh-68586: use run_python_until_end in test_capi (GH-102729)Furkan Onder2023-04-091-11/+7
| | | | | Co-authored-by: Aidin Gharibnavaz Automerge-Triggered-By: GH:kumaraditya303
* Remove useless symbol in pystats.h (#101864)Stepfen Shawn2023-04-091-2/+0
|
* ctypes docs: fix missing `not` in variadic functions section (#102611)mara0042023-04-091-1/+1
|
* gh-103300: Fix `Popen.wait()` deadlock in patchcheck.py (#103301)Oleg Iarygin2023-04-091-2/+3
|
* Fix typos in test_tempfile.py (#102841)JakobDev2023-04-091-2/+2
|
* build(deps): bump actions/stale from 7 to 8 (#103169)dependabot[bot]2023-04-091-1/+1
| | | | | | | | | | | | | | | | Bumps [actions/stale](https://github.com/actions/stale) from 7 to 8. - [Release notes](https://github.com/actions/stale/releases) - [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/stale/compare/v7...v8) --- updated-dependencies: - dependency-name: actions/stale dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Add hugovk as a .github code owner (GH-103394)Hugo van Kemenade2023-04-091-1/+1
| | | Automerge-Triggered-By: GH:hugovk
* CI: Do not allow merge if labelled DO-NOT-MERGE (#103337)Hugo van Kemenade2023-04-091-0/+17
| | | | Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
* gh-102799: use `sys.exception()` instead of `sys.exc_info()` in pdb (#103294)Irit Katriel2023-04-091-8/+9
|
* Docs: Fix broken reference `__getitem__` in `string.rst` (#103371)yuki2023-04-091-1/+1
|
* Document `asyncio` performance improvement in What's New (#103370)Kumar Aditya2023-04-091-0/+5
| | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-103092: Isolate `socket` module (#103094)Erlend E. Aasland2023-04-095-167/+242
|
* gh-103242: Migrate SSLContext.set_ecdh_curve not to use deprecated APIs ↵Dong-hee Na2023-04-082-3/+10
| | | | | (#103378) Migrate `SSLContext.set_ecdh_curve()` not to use deprecated OpenSSL APIs.
* gh-103373: Improve documentation for `__mro_entries__` (#103374)Alex Waygood2023-04-081-5/+9
|
* gh-100176: Tools/iobench: Remove redundant compat code for Python <= 3.2 ↵Hugo van Kemenade2023-04-081-42/+54
| | | | | | (#100197) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>