summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* gh-114959: tarfile: do not ignore errors when extract a directory on top of ↵Serhiy Storchaka2024-02-035-1/+220
| | | | | | a file (GH-114960) Also, add tests common to tarfile and zipfile.
* gh-114955: Add clear to MutableSequence's mixin methods in document (gh-114956)AN Long2024-02-031-2/+2
|
* gh-111417: Remove unused code block in math.trunc() and round() (GH-111454)Jason Zhang2024-02-032-10/+0
| | | _PyObject_LookupSpecial() now ensures that the type is ready.
* Update LOGGING example taken from Django docs. (#114903)Mariusz Felisiak2024-02-031-14/+11
| | | | | | | For example, Django no longer provides a custom NullHandler https://github.com/django/django/commit/6c66a41c3dc697dc3bda4e31e8b05084d2ede915 * Remove require_debug_true.
* Normalize heading underline in multiprocessing.rst (#114923)Skip Montanaro2024-02-031-26/+26
| | | This gets rid of the mildly confusing `>>>>>>>' underlines which look vaguely like `diff` punctuation.
* ``Tools/cases_generator``: Fix typos and incorrect comments. (#114892)Kirill Podoprigora2024-02-034-6/+6
|
* gh-114875: Require getgrent for building the grp extension module (#114876)Malcolm Smith2024-02-024-3/+16
| | | Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* gh-114913: Add newline to subprocess doc (#114941)Terry Jan Reedy2024-02-021-1/+2
| | | | *creationflags* is a separate topic from *startupinfo*. Start sentence with 'If given', like previous sentence.
* gh-101599: argparse: simplify the option help string (GH-103372)Jokimax2024-02-023-10/+7
| | | | | | | | | | | If the option with argument has short and long names, output argument only once, after the long name: -o, --option ARG description instead of -o ARG, --option ARG description
* Correct timedelta description (GH-101417)John Belmonte2024-02-021-3/+3
| | | | | It only represents the difference between two datetime or date objects, not between two time objects.
* Fix indentation of "versionchanged" in datetime.rst (GH-114933)Serhiy Storchaka2024-02-021-3/+3
|
* Bump ruff to 0.2.0 (#114932)Alex Waygood2024-02-023-4/+8
|
* Update venv activate.bat to escape custom PROMPT variables on Windows ↵GILGAMESH2024-02-021-2/+2
| | | | (GH-114885)
* gh-114728: Fix documentation for comparison of objects in datetime module ↵Serhiy Storchaka2024-02-021-68/+50
| | | | (GH-114749)
* GH-69695: Update ``PyImport_ImportModule`` description (GH-103836)patenaud2024-02-021-14/+2
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* gh-114909: Add --first-weekday option to usage message (#114910)Steven Ward2024-02-021-2/+3
|
* gh-104530: Enable native Win32 condition variables by default (GH-104531)Andrew Rogers2024-02-026-35/+41
|
* gh-103360: Add link in stdtypes.rst to escape sequences in ↵Justin Williams2024-02-021-1/+1
| | | | lexical_analysis.rst (GH-103638)
* gh-114329: Add `PyList_GetItemRef` function (GH-114504)Sam Gross2024-02-0212-11/+68
| | | | | | | The new `PyList_GetItemRef` is similar to `PyList_GetItem`, but returns a strong reference instead of a borrowed reference. Additionally, if the passed "list" object is not a list, the function sets a `TypeError` instead of calling `PyErr_BadInternalCall()`.
* GH-113710: Add a "globals to constants" pass (GH-114592)Mark Shannon2024-02-0216-55/+375
| | | Converts specializations of `LOAD_GLOBAL` into constants during tier 2 optimization.
* gh-107901: make compiler inline basic blocks with no line number and no ↵Irit Katriel2024-02-023-39/+108
| | | | fallthrough (#114750)
* GH-113655 Lower C recursion limit from 4000 to 3000 on Windows. (GH-114896)Mark Shannon2024-02-021-1/+1
|
* gh-103820: IDLE: Do not interpret buttons 4/5 as scrolling on non-X11 ↵Christopher Chavez2024-02-024-14/+25
| | | | | | | (GH-103821) Also fix test_mousewheel: do not skip a check which was broken due to incorrect delta on Aqua and XQuartz, and probably not because of `.update_idletasks()`.
* Move "format" param doc of shutil.make_archive() on its own paragraph ↵Michal Kaptur2024-02-021-1/+3
| | | | (GH-103829)
* GH-114849: Set a 60-minute timeout for JIT CI jobs (GH-114850)Nikita Sobolev2024-02-021-0/+1
|
* gh-111239: Update Windows build to use zlib 1.3.1 (GH-114877)Zachary Ware2024-02-013-2/+3
|
* gh-111968: Use per-thread freelists for dict in free-threading (gh-114323)Donghee Na2024-02-0113-75/+75
|
* gh-112529: Remove PyGC_Head from object pre-header in free-threaded build ↵Sam Gross2024-02-019-26/+86
| | | | | | | | | | | | | | | | | (#114564) * gh-112529: Remove PyGC_Head from object pre-header in free-threaded build This avoids allocating space for PyGC_Head in the free-threaded build. The GC implementation for free-threaded CPython does not use the PyGC_Head structure. * The trashcan mechanism uses the `ob_tid` field instead of `_gc_prev` in the free-threaded build. * The GDB libpython.py file now determines the offset of the managed dict field based on whether the running process is a free-threaded build. Those are identified by the `ob_ref_local` field in PyObject. * Fixes `_PySys_GetSizeOf()` which incorrectly incorrectly included the size of `PyGC_Head` in the size of static `PyTypeObject`.
* gh-89891: Refer SharedMemory implementation as POSIX (GH-104678)Oleg Iarygin2024-02-011-1/+1
| | | It only uses POSIX API.
* GH-114806. Don't specialize calls to classes with metaclasses. (GH-114870)Mark Shannon2024-02-013-0/+24
|
* Fix comment in pycore_runtime.h (GH-110540)He Weidong2024-02-011-1/+1
|
* gh-101100: Fix sphinx warnings in `howto/logging.rst` (#114846)Nikita Sobolev2024-02-013-24/+36
| | | Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
* Correct description of inheriting from another class (#114660)Skip Montanaro2024-02-014-19/+18
| | | | "inherits <someclass>" grates to this reader. I think it should be "inherits from <someclass>".
* gh-105031: Clarify datetime documentation for ISO8601 (GH-105049)Nicholas Hollander2024-02-011-3/+15
|
* Update outdated info in ``Tools/cases_generator/README.md`` (#114844)Kirill Podoprigora2024-02-011-7/+21
|
* Write about Tier 2 and JIT in "what's new 3.13" (#114826)Guido van Rossum2024-02-011-0/+47
| | | (This will soon be superseded by Ken Jin's much more detailed version.)
* Remove unused Py_XDECREF from _PyFrame_ClearExceptCode (GH-106158)Anders Kaseorg2024-02-011-1/+0
| | | | | | frame->frame_obj was set to NULL a few lines earlier. Signed-off-by: Anders Kaseorg <andersk@mit.edu>
* gh-105089: Fix test_create_directory_with_write test failure in AIX (GH-105228)Ayappan Perumal2024-02-012-1/+5
|
* gh-107461 ctypes: Add a testcase for nested `_as_parameter_` lookup (GH-107462)Tomas R2024-02-011-0/+11
|
* build(deps-dev): bump types-psutil from 5.9.5.17 to 5.9.5.20240106 in /Tools ↵dependabot[bot]2024-02-011-1/+1
| | | | | | | | | | | | | | | | | | (#114852) build(deps-dev): bump types-psutil in /Tools Bumps [types-psutil](https://github.com/python/typeshed) from 5.9.5.17 to 5.9.5.20240106. - [Commits](https://github.com/python/typeshed/commits) --- updated-dependencies: - dependency-name: types-psutil dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump actions/cache from 3 to 4 (#114856)dependabot[bot]2024-02-014-12/+12
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump hypothesis from 6.92.2 to 6.97.4 in /Tools (#114851)dependabot[bot]2024-02-011-1/+1
| | | | | | | | | | | | | | | Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 6.92.2 to 6.97.4. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.92.2...hypothesis-python-6.97.4) --- updated-dependencies: - dependency-name: hypothesis dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps-dev): bump types-setuptools from 69.0.0.0 to 69.0.0.20240125 in ↵dependabot[bot]2024-02-011-1/+1
| | | | | | | | | | | | | | | | | | /Tools (#114853) build(deps-dev): bump types-setuptools in /Tools Bumps [types-setuptools](https://github.com/python/typeshed) from 69.0.0.0 to 69.0.0.20240125. - [Commits](https://github.com/python/typeshed/commits) --- updated-dependencies: - dependency-name: types-setuptools dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Fix typos in ElementTree documentation (GH-108848)Christophe Nanteuil2024-02-011-3/+3
| | | PI objects instead of comment objects.
* gh-114746: Avoid quadratic behavior in free-threaded GC (GH-114817)Sam Gross2024-02-011-73/+29
| | | | | | | | | | | | | | The free-threaded build's GC implementation is non-generational, but was scheduled as if it were collecting a young generation leading to quadratic behavior. This increases the minimum threshold and scales it to the number of live objects as we do for the old generation in the default build. Note that the scheduling is still not thread-safe without the GIL. Those changes will come in later PRs. A few tests, like "test_sneaky_frame_object" rely on prompt scheduling of the GC. For now, to keep that test passing, we disable the scaled threshold after calls like `gc.set_threshold(1, 0, 0)`.
* gh-114364: Fix awkward wording about mmap.mmap.seekable (#114374)technillogue2024-02-012-5/+5
| | | | | | --------- Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* gh-114648: Add IndexError exception to tutorial datastructures list.pop ↵srinivasan2024-02-011-4/+3
| | | | | | entry (#114681) Remove redundant explanation of optional argument.
* gh-67230: Add versionadded notes for QUOTE_NOTNULL and QUOTE_STRINGS (#114816)Skip Montanaro2024-02-011-0/+4
| | | | | As @GPHemsley pointed out, #29469 omitted `versionadded` notes for the 2 new items.
* gh-114811: Change '\*' to '*' in warnings.rst (#114819)Pradyot Ranjan2024-02-011-1/+1
| | | Regression in 3.12.
* CI: Test on macOS M1 (#114766)Hugo van Kemenade2024-02-011-2/+9
| | | Test on macOS M1