Sebastian Pipping
8e48a6edc7
gh-126624: Expose error code `XML_ERROR_NOT_STARTED
` of Expat >=2.6.4 ( #126625 )
...
Expose error code ``XML_ERROR_NOT_STARTED`` in `xml.parsers.expat.errors` which was
introduced in Expat 2.6.4.
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2025-01-02 14:54:38 +02:00
Serhiy Storchaka
a3711d1541
gh-124130: Fix a bug in matching regular expression \B in empty string (GH-127007)
2025-01-02 12:11:21 +00:00
Shin-myoung-serp
e1baa778f6
gh-95371: Add support for other image formats(e.g. PNG) to the turtle… ( #95378 )
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
2025-01-02 11:45:07 +02:00
abkmystery
60c6518469
gh-128349: Use .. data::
instead of .. class::
for pre-defined decimal Context
objects ( #128379 )
2025-01-02 09:20:31 +02:00
Hugo van Kemenade
6dbace397f
gh-128317: Document calendar.TextCalendar.formatweek
( #128353 )
2024-12-30 19:25:39 +02:00
Bénédikt Tran
7e819ce0f3
gh-123424: add ZipInfo._for_archive
to set suitable default properties ( #123429 )
...
---------
Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
2024-12-29 18:30:53 +00:00
Thomas Grainger
c9159b7436
expand the asyncio.run_coroutine_threadsafe
recipes ( #127576 )
...
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
2024-12-29 11:52:29 +05:30
Calvin Bui
f9a5a3a3ef
gh-128192: support HTTP sha-256 digest authentication as per RFC-7617 (GH-128193)
...
support sha-256 digest authentication
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
2024-12-28 21:05:34 +00:00
Kumar Aditya
64173cd6f2
gh-127949: make deprecation of policy system more prominent ( #128290 )
...
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2024-12-27 15:13:41 +00:00
Thomas Grainger
9ddc388527
gh-124761: add socket.SO_REUSEPORT_LB
( #124961 )
2024-12-26 20:20:20 +05:30
Kumar Aditya
3eb746a7b9
gh-127949: add docs for asyncio policy deprecation ( #128269 )
2024-12-26 20:02:23 +05:30
Will Childs-Klein
418114c139
gh-128035: Add ssl.HAS_PHA to detect libssl PHA support (GH-128036)
...
* Add ssl.HAS_PHA to detect libssl Post-Handshake-Auth support
Co-authored-by: Tomas R. <tomas.roun8@gmail.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2024-12-24 18:29:27 +00:00
Kumar Aditya
9fce906825
gh-127949: deprecate asyncio.set_event_loop
( #128218 )
...
Deprecate `asyncio.set_event_loop` to be removed in Python 3.16.
2024-12-24 19:24:28 +05:30
Kumar Aditya
a391d80f4b
gh-127949: deprecate asyncio policy classes ( #128216 )
2024-12-24 17:30:26 +05:30
Alyssa Coghlan
831b6de6d7
gh-126180: Remove getopt and optparse deprecation notices (GH-126227)
...
* Remove getopt and optparse deprecation notices
* Add new docs sections for command line app helper libraries
* Add guidance on choosing a CLI parsing library to the optparse docs
* Link to the new guidance from the argparse and getopt docs
* Reword intro in docs section for superseded stdlib modules
* Reframe the optparse->argparse guide as a migration guide
rather than as an upgrade guide
---------
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2024-12-23 14:17:19 +10:00
Petr Viktorin
2a66dd33df
gh-112328: Make EnumDict usable on its own and document it (GH-123669)
...
Co-authored-by: Rafi <rafi.promit@gmail.com>
Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
2024-12-20 11:40:58 -08:00
Md Rokibul Islam
39e69a7cd5
gh-112328: Document EnumDict in docs and release notes (GH-121720)
...
Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
2024-12-19 15:38:42 -08:00
mpage
255762c09f
gh-127274: Defer nested methods ( #128012 )
...
Methods (functions defined in class scope) are likely to be cleaned
up by the GC anyway.
Add a new code flag, `CO_METHOD`, that is set for functions defined
in a class scope. Use that when deciding to defer functions.
2024-12-19 13:03:14 -08:00
Mark Shannon
d2f1d917e8
GH-122548: Implement branch taken and not taken events for sys.monitoring (GH-122564)
2024-12-19 16:59:51 +00:00
RUANG (James Roy)
ea578fc6d3
gh-127688: Add SCHED_DEADLINE
and SCHED_NORMAL
constants to os
module (GH-127689)
2024-12-19 14:51:21 +01:00
Kumar Aditya
19c5134d57
gh-122706: fix docs for asyncio ssl sockets ( #128092 )
2024-12-19 12:45:36 +00:00
Kumar Aditya
dbd08fb60d
gh-127949: deprecate asyncio.get_event_loop_policy
( #128053 )
...
This deprecates `asyncio.get_event_loop_policy` and will be removed in Python 3.16.
2024-12-18 18:04:20 +05:30
Kumar Aditya
5892853fb7
gh-127949: deprecate asyncio.set_event_loop_policy
( #128024 )
...
First step towards deprecating the asyncio policy system.
This deprecates `asyncio.set_event_loop_policy` and will be removed in Python 3.16.
2024-12-18 11:35:29 +05:30
Hugo van Kemenade
401bfc69d1
Python 3.14.0a3
2024-12-17 11:50:39 +02:00
Gugubo
e4981e33b8
Fix typo in itertools docs (gh-127995)
2024-12-16 11:08:25 -06:00
Steve C
7900a85019
Clarify ast docs to use a less confusing example for ast.ParamSpec
( #127955 )
...
Fix typo in ast docs: ParamSpec defaults
2024-12-15 12:28:43 +00:00
Sergey B Kirpichev
e2325c9db0
gh-127852: add remark about ',' separator ( #127854 )
...
Specify that it is valid for floats and ints with 'd' presentation and an error otherwise.
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
---------
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2024-12-14 08:28:26 -05:00
Raymond Hettinger
292067fbc9
Minor readability improvements for the itertools recipes (gh-127928)
2024-12-13 12:12:49 -06:00
Viktor Kálmán
11ff3286b7
link to the correct output method in documentation ( #127857 )
2024-12-13 14:57:02 +05:30
Daniel Haag
0cbc19d59e
Fix typo in traceback docs ( #127884 )
2024-12-12 21:43:44 +00:00
Raymond Hettinger
8bbd379ee3
Simplify and speed-up an itertools recipe (gh-127848)
2024-12-11 21:24:56 -06:00
Yuki Kobayashi
035f512046
Docs: Fix indents in xmlrpc.client.rst
( #127782 )
2024-12-10 19:35:00 +02:00
Victor Stinner
c91ccbe4ac
gh-59705: Set OS thread name when Thread.name is changed ( #127702 )
...
Co-authored-by: Petr Viktorin <encukou@gmail.com>
2024-12-10 17:33:11 +01:00
Yuki Kobayashi
8dbdbad6e0
gh-101100: Fix sphinx warnings in whatsnew/3.0.rst
( #127662 )
2024-12-10 12:22:37 +02:00
Bénédikt Tran
4331832db0
gh-125420: implement Sequence.count
API on memoryview
objects ( #125443 )
2024-12-10 10:12:33 +00:00
Hugo van Kemenade
212448b162
gh-127718: Add colour to test.regrtest
output ( #127719 )
2024-12-10 09:44:15 +02:00
Bénédikt Tran
58c753827a
gh-125420: implement Sequence.index
API on memoryview
objects ( #125446 )
2024-12-09 18:48:38 -08:00
Barney Gale
8b3cccf3f9
GH-125413: Revert addition of pathlib.Path.scandir()
method ( #127377 )
...
Remove documentation for `pathlib.Path.scandir()`, and rename the method to
`_scandir()`. In the private pathlib ABCs, make `iterdir()` abstract and
call it from `_scandir()`.
It's not worthwhile to add this method at the moment - see discussion:
https://discuss.python.org/t/ergonomics-of-new-pathlib-path-scandir/71721
Co-authored-by: Steve Dower <steve.dower@microsoft.com>
2024-12-05 21:39:43 +00:00
Hugo van Kemenade
23f2e8f13c
gh-127221: Add colour to unittest output ( #127223 )
...
Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
2024-12-05 21:10:46 +02:00
Bénédikt Tran
67b9a5331a
gh-127413: allow to show specialized bytecode via dis
CLI ( #127414 )
2024-12-05 15:01:59 +00:00
RUANG (James Roy)
6bc3e830a5
gh-127481: Add EPOLLWAKEUP
to the select
module (GH-127482)
2024-12-04 14:30:38 +01:00
Bénédikt Tran
bc0f2e9459
gh-123378: Ensure results of PyUnicode*Error_Get{Start,End}
are clamped (GH-123380)
...
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
2024-12-04 14:13:52 +01:00
Raymond Hettinger
7f882c88cf
Itertool recipe additions (gh-127483)
2024-12-03 18:20:01 -06:00
Tomas R.
8ba9f5bca9
gh-127347: Document traceback.print_list
( #127348 )
...
Previously, `traceback.print_list` didn't have a documentation entry and was not exposed in `traceback.__all__`. Now it has a documentation entry and is exposed in `__all__`.
2024-12-03 18:08:39 +02:00
Jun Komoda
412e11fe6e
gh-127255: Make CopyComPointer
public and add to ctypes
doc. (GH-127275)
2024-12-03 16:35:08 +01:00
RUANG (James Roy)
84ff1313d0
gh-126585: Add EHWPOISON error code ( #126586 )
2024-12-03 12:45:50 +00:00
Yuki Kobayashi
3e812253ab
gh-101100: Fix Sphinx warnings about list methods ( #127054 )
2024-12-02 15:51:35 +02:00
Giovanni Siragusa
31f16e427b
gh-109523: Raise a BlockingIOError if reading text from a non-blocking stream cannot immediately return bytes. (GH-122933)
2024-12-02 14:18:30 +01:00
Ollanta Cuba Gyllensten
15d6506d17
Link to correct class methods in asyncio primitives docs ( #127270 )
2024-11-29 16:20:40 +00:00
Илья Любавский
dd3a87d2a8
gh-127303: Add docs for token.EXACT_TOKEN_TYPES ( #127304 )
...
---------
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Co-authored-by: Tomas R. <tomas.roun8@gmail.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2024-11-29 04:00:50 -05:00