| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
a file (GH-114960)
Also, add tests common to tarfile and zipfile.
|
| |
|
|
|
| |
_PyObject_LookupSpecial() now ensures that the type is ready.
|
|
|
|
|
|
|
| |
For example, Django no longer provides a custom NullHandler
https://github.com/django/django/commit/6c66a41c3dc697dc3bda4e31e8b05084d2ede915
* Remove require_debug_true.
|
|
|
| |
This gets rid of the mildly confusing `>>>>>>>' underlines which look vaguely like `diff` punctuation.
|
| |
|
|
|
| |
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
|
|
|
|
| |
*creationflags* is a separate topic from *startupinfo*.
Start sentence with 'If given', like previous sentence.
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
It only represents the difference between two datetime or
date objects, not between two time objects.
|
| |
|
| |
|
|
|
|
| |
(GH-114885)
|
|
|
|
| |
(GH-114749)
|
|
|
|
| |
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
|
| |
|
| |
|
|
|
|
| |
lexical_analysis.rst (GH-103638)
|
|
|
|
|
|
|
| |
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()`.
|
|
|
| |
Converts specializations of `LOAD_GLOBAL` into constants during tier 2 optimization.
|
|
|
|
| |
fallthrough (#114750)
|
| |
|
|
|
|
|
|
|
| |
(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()`.
|
|
|
|
| |
(GH-103829)
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#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`.
|
|
|
| |
It only uses POSIX API.
|
| |
|
| |
|
|
|
| |
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
|
|
|
|
| |
"inherits <someclass>" grates to this reader. I think it should be "inherits from <someclass>".
|
| |
|
| |
|
|
|
| |
(This will soon be superseded by Ken Jin's much more detailed version.)
|
|
|
|
|
|
| |
frame->frame_obj was set to NULL a few lines earlier.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#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>
|
|
|
|
| |
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
/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>
|
|
|
| |
PI objects instead of comment objects.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)`.
|
|
|
|
|
|
| |
---------
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>
|
|
|
|
|
|
| |
entry (#114681)
Remove redundant explanation of optional argument.
|
|
|
|
|
| |
As @GPHemsley pointed out, #29469 omitted `versionadded` notes for the 2 new items.
|
|
|
| |
Regression in 3.12.
|
|
|
| |
Test on macOS M1
|