| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
| |
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
|
|
|
|
|
|
| |
(GH-114689) (#115526)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
|
|
|
|
|
| |
(#115502)
(cherry picked from commit ccc76c3e88647e416184bb1f5210b4e8946ae358)
|
|
|
|
| |
(GH-115496)
|
|
|
|
|
|
| |
gh-115399: Upgrade bundled libexpat to 2.6.0 (GH-115431)
(cherry picked from commit 4b2d1786ccf913bc80ff571c32b196be1543ca54)
Co-authored-by: Seth Michael Larson <seth@python.org>
|
|
|
|
| |
Co-authored-by: Seth Michael Larson <seth@python.org>
|
|
|
|
| |
(gh-115471)
|
|
|
|
|
|
|
| |
(#115476)
(cherry picked from commit 49e8fdc1df41b6547fb3255f9e3a44dfb3b81fe0)
Co-authored-by: Erlend E. Aasland <erlend@python.org>
|
|
|
|
|
|
|
| |
modified (GH-115247) (GH-115465)
(cherry picked from commit 671360161f0b7a5ff4c1d062e570962e851b4bde)
Co-authored-by: kcatss <kcats9731@gmail.com>
|
|
|
|
|
|
|
|
| |
functions (GH-115440) (#115459)
gh-115392: Fix doctest reporting incorrect line numbers for decorated functions (GH-115440)
(cherry picked from commit bb791c7728e0508ad5df28a90b27e202d66a9cfa)
Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
|
|
|
|
|
|
| |
Don't repeatedly say that keys and values are coerced into bytes.
(cherry picked from commit 81e140d10b77f0a41a5581412e3f3471cc77981f)
Co-authored-by: Erlend E. Aasland <erlend@python.org>
|
|
|
|
|
|
|
|
| |
documentation (GH-115452) (#115455)
gh-115403: Remove extra colon after "Examples" in datetime documentation (GH-115452)
(cherry picked from commit 6755c4e0c8803a246e632835030c0b8837b3b676)
Co-authored-by: Stanislav Lyu <wallseat@gmail.com>
|
|
|
|
|
|
| |
gh-115450: Fix direct invocation of `test_desctut` (GH-115451)
(cherry picked from commit ec8909a23931338f81803ea3f18dc2073f74a152)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
|
|
|
|
|
|
|
|
| |
(#115445)
ftplib docs: `timeout` doesn't have to be a whole number (GH-115443)
(cherry picked from commit 3fd2ad8241a61e75b2cd33c697af276863efbb51)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
|
|
|
|
|
|
|
| |
(GH-113455) (GH-115407)
(cherry picked from commit 5719aa23ab7f1c7a5f03309ca4044078a98e7b59)
Co-authored-by: qqwqqw689 <114795525+qqwqqw689@users.noreply.github.com>
|
|
|
|
|
|
| |
(#115427)
Co-authored-by: Sam Gross <colesbury@gmail.com>
|
|
|
|
|
|
| |
(#115263)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
|
|
|
|
|
|
|
|
| |
documentation (GH-115411) (#115412)
gh-115405: add versionadded tag for co_qualname in code objects documentation (GH-115411)
(cherry picked from commit de07941729b8899b187b8ef9690f9a74b2d6286b)
Co-authored-by: Christophe Papazian <114495376+christophe-papazian@users.noreply.github.com>
|
|
|
|
|
| |
(cherry picked from commit ca3604a3e33d833ef698b44a4b82c5bc8c771fcb)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
| |
|
|
|
|
|
|
| |
Update "Using Python on a Mac" (GH-115024)
(cherry picked from commit 0a6e1a4119864bec0247b04a5c99fdd9799cd8eb)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
| |
(GH-115324) (#115372)
gh-115317: Rewrite changelog filter to use vanilla JavaScript (GH-115324)
(cherry picked from commit 341d7874f063dcb141672b09f62c19ffedd0a557)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Tomas R <tomas.roun8@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
strings (GH-114879) (GH-115353)
Immediate merits:
* eliminate complex workarounds for 'z' format support
(NOTE: mpdecimal recently added 'z' support, so this becomes
efficient in the long term.)
* fix 'z' format memory leak
* fix 'z' format applied to 'F'
* fix missing '#' format support
Suggested and prototyped by Stefan Krah.
Fixes gh-114563, gh-91060
(cherry picked from commit 72340d15cdfdfa4796fdd7c702094c852c2b32d2)
Co-authored-by: John Belmonte <john@neggie.net>
Co-authored-by: Stefan Krah <skrah@bytereef.org>
|
|
|
|
|
|
| |
gh-115285: Fix `test_dataclasses` with `-OO` mode (GH-115286)
(cherry picked from commit 4297d7301b97aba2e0df9f9cc5fa4010e53a8950)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
|
|
|
|
|
|
| |
Remove stray backtick in NEWS entry (GH-115356)
(cherry picked from commit a82fbc13d0e352b9af7d7ffbef4bc04cf635f07f)
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
|
|
|
|
|
|
| |
Also add more tests for LoggerAdapter.
Also support stacklevel in LoggerAdapter._log().
(cherry picked from commit 91822018eeba12a6c9eabbc748363b2fd4291b30)
|
|
|
|
|
|
| |
Also ensure we always display a debug message or error for RC_INTERNAL_ERROR
(cherry picked from commit c39272e143b346bd6a3c04ca4fbf299163888277)
Co-authored-by: Steve Dower <steve.dower@python.org>
|
|
|
|
| |
(GH-115319) (#115330)
|
|
|
|
| |
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
|
|
|
|
|
|
|
|
| |
(GH-114825) (GH-115308)
(cherry picked from commit e1552fd19de17e7a6daa3c2a6d1ca207bb8eaf8e)
Co-authored-by: Skip Montanaro <skip.montanaro@gmail.com>
|
|
|
|
|
| |
Co-authored-by: AN Long <aisk@users.noreply.github.com>
Fix dangling refs in bdb.rst (#114983)
|
|
|
|
|
|
|
|
|
|
| |
* Class methods no longer have "method of builtins.type instance" note.
* Corresponding notes are now added for class and unbound methods.
* Method and function aliases now have references to the module or the
class where the origin was defined if it differs from the current.
* Bound methods are now listed in the static methods section.
* Methods of builtin classes are now supported as well as methods of
Python classes.
(cherry picked from commit 2939ad02be62110ffa2ac6c4d9211c85e1d1720f)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
unsigned integer type (GH-115029) (GH-115294)
Setters for members with an unsigned integer type now support
the same range of valid values for objects that has a __index__()
method as for int.
Previously, Py_T_UINT, Py_T_ULONG and Py_T_ULLONG did not support
objects that has a __index__() method larger than LONG_MAX.
Py_T_ULLONG did not support negative ints. Now it supports them and
emits a RuntimeWarning.
(cherry picked from commit d9d6909697501a2604d5895f9f88aeec61274ab0)
|
|
|
|
|
|
|
| |
Trailing "**" no longer allows to match files and non-existing paths in
recursive glob().
(cherry picked from commit aeffc7f8951e04258f0fd8cadfa6cd8b704730f6)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
|
|
|
|
| |
(GH-115292)
(cherry picked from commit 573acb30f22a84c0f2c951efa002c9946e29b6a3)
|
|
|
|
|
|
|
|
|
| |
(GH-115288)
Feeding the parser by too small chunks defers parsing to prevent
CVE-2023-52425. Future versions of Expat may be more reactive.
(cherry picked from commit 4a08e7b3431cd32a0daf22a33421cd3035343dc4)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
|
|
|
|
|
|
|
| |
(GH-115275) (#115280)
gh-115274: Fix direct invocation of `testmock/testpatch.py` (GH-115275)
(cherry picked from commit f8e9c57067e32baab4ed2fd824b892c52ecb7225)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
|
|
|
|
|
|
| |
gh-115249: Fix `test_descr` with `-OO` mode (GH-115250)
(cherry picked from commit 1f23837277e604f41589273aeb3a10377d416510)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
|
|
|
|
|
|
| |
gh-115254: Fix `test_property` with `-00` mode (GH-115255)
(cherry picked from commit b70a68fbd6b72a25b5ef430603e39c9e40f40d29)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
|
|
|
|
|
| |
(cherry picked from commit 3a5b38e3b465e00f133ff8074a2d4afb1392dfb5)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
|
|
|
|
|
| |
(cherry picked from commit 33f56b743285f8419e92cfabe673fa165165a580)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
|
|
|
|
|
| |
(cherry picked from commit 597fad07f7bf709ac7084ac20aa3647995759b01)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
|
|
|
|
|
|
|
| |
iterable (GH-114662) (#115234)
gh-114552: Update `__dir__` method docs: it allows returning an iterable (GH-114662)
(cherry picked from commit e19103a346f0277c44a43dfaebad9a5aa468bf1e)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
|
|
|
|
|
|
|
|
|
|
|
| |
(#115227)
gh-115165: Fix `typing.Annotated` for immutable types (GH-115213)
The return value from an annotated callable can raise any exception from
__setattr__ for the `__orig_class__` property.
(cherry picked from commit 564385612cdf72c2fa8e629a68225fb2cd3b3d99)
Co-authored-by: dave-shawley <daveshawley@gmail.com>
|
|
|
|
| |
(GH-115208)
|
|
|
|
|
| |
(cherry picked from commit 769d4448260aaec687d9306950225316f9faefce)
Co-authored-by: Erlend E. Aasland <erlend@python.org>
|
|
|
|
|
|
|
| |
io.BufferedRandom.read1() (GH-115163) (GH-115205)
(cherry picked from commit 846fd721d518dda88a7d427ec3d2c03c45d9fa90)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
|
|
|
|
|
|
| |
(GH-115176)
(cherry picked from commit 5914a211ef5542edd1f792c2684e373a42647b04)
Co-authored-by: adang1345 <adang1345@gmail.com>
|
|
|
|
|
|
|
|
| |
3.11 (GH-115107) (GH-115117)
change versionchanged to versionadded
(cherry picked from commit 3f71c416c085cfaed49ef325f70eb374a4966256)
Co-authored-by: Finite State Machine <38001514+finite-state-machine@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(GH-114871) (GH-114993)
Update documentation with `__new__` and `__init__` entries.
Support use of `auto()` in tuple subclasses on member assignment lines. Previously, auto() was only supported on the member definition line either solo or as part of a tuple:
RED = auto()
BLUE = auto(), 'azul'
However, since Python itself supports using tuple subclasses where tuples are expected, e.g.:
from collections import namedtuple
T = namedtuple('T', 'first second third')
def test(one, two, three):
print(one, two, three)
test(*T(4, 5, 6))
GH- 4 5 6
it made sense to also support tuple subclasses in enum definitions.
(cherry picked from commit ff7588b729a2a414ea189a2012904da3fbd1401c)
Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
|