Alex Waygood
84b86000e2
gh-92417: `subprocess` docs: remove note on compatibility with Python <3.5 (GH-92538)
2022-05-19 17:31:51 +02:00
Alex Waygood
090df844ea
gh-92417: `fractions`, `decimal`: Improve docs for alternative constructor methods (GH-92421)
...
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
2022-05-19 17:28:51 +02:00
Alex Waygood
639b62c9c4
gh-92417: `socket` docs: remove references to Python <3.3 (GH-92544)
2022-05-19 17:25:58 +02:00
Zackery Spytz
fb082c2fc5
bpo-45393: help() on operator precedence has misleading entries (GH-31246)
...
Fix the formatting for "await x" and "not x" in the operator
precedence table.
2022-05-19 17:05:04 +02:00
CAM Gerlach
97b9c1096f
gh-92417: Update docs and examples of doctest.IGNORE_EXCEPTION_DETAIL for Py>=3 (GH-92502)
2022-05-19 16:59:07 +02:00
David Foster
30deeac649
gh-92675: venv: Fix ensure_directories() to again accept a Path for env_dir ( #92676 )
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-05-19 07:47:16 -07:00
Jelle Zijlstra
6b51773afd
gh-91491: Complete Whats New in 3.11 for typing ( #92708 )
...
Fixes #91491
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-05-19 07:07:54 -07:00
Kumar Aditya
c5f5f978ca
GH-92955: fix memory leak in code object lines and positions iterators (gh-92956)
2022-05-19 22:55:22 +09:00
Christian Heimes
137fd3d88a
gh-90473: Decrease recursion limit and skip tests on WASI (GH-92803)
2022-05-19 12:43:16 +02:00
Mark Shannon
e48ac9c100
GH-90690: Remove `PRECALL` instruction (GH-92925)
2022-05-19 11:05:26 +01:00
Jan Brasna
41638967a0
Doc: amend ssl.PROTOCOL_SSLv2 and ssl.PROTOCOL_SSLv3 wording ( #92634 )
2022-05-19 11:22:16 +02:00
Ayappan Perumal
654032ac5f
gh-92670: Skip test_shutil.TestCopy.test_copyfile_nonexistent_dir on AIX ( #92718 )
2022-05-19 11:17:44 +02:00
Duprat
60ee61571a
Include ``asyncio.Barrier`` in 3.11 Whats New (GH-92927)
2022-05-19 15:12:33 +08:00
Serhiy Storchaka
8a6af5a346
gh-92914: Round the allocated size for lists up to the even number (GH-92915)
2022-05-19 08:43:50 +03:00
Inada Naoki
96f65835f8
gh-87901: Remove the encoding argument from os.popen (GH-92836)
2022-05-19 11:42:43 +09:00
180909
f2d994da10
gh-92812: Align ArgumentParser.add_subparsers() docs with argument spec ( #92814 )
2022-05-18 23:08:23 +02:00
Mark Shannon
a4460f2eb8
Split refcount stats into 'interpreter' and 'non-interpreter' (GH-92919)
2022-05-18 14:38:43 +01:00
Steve Dower
3fa023721b
Remove Windows release build script (GH-92908)
...
The scripts have been migrated to the release-tools repository
2022-05-18 14:26:36 +01:00
David CARLIER
9a1adf2790
bpo-42047: Add native thread ID for DragonFlyBSD ( #22714 )
...
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: kj <28750310+Fidget-Spinner@users.noreply.github.com>
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
2022-05-18 15:10:10 +02:00
Victor Stinner
e0477ae371
gh-91755: Remove doc of C API private refcount functions ( #92918 )
...
These functions should only be used by Python internals.
2022-05-18 14:09:44 +02:00
Erlend Egeberg Aasland
7ee19e2715
gh-92780: Improve sqlite3.Connection.create_collation docs ( #92790 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-05-18 13:44:16 +02:00
Charlie Zhao
58a3d28039
gh-91755: Document Py_IncRef and Py_DecRef as C functions ( #91805 )
...
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-05-18 10:42:05 +02:00
Nikita Sobolev
b86d783a4e
bpo-40838: document `getdoc`, `getmodule`, `getsourcefile` in `inspect` returns `None` ( #30575 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-05-17 18:24:35 -07:00
Oleg Iarygin
33880b4b1c
gh-92841: Fix asyncio's RuntimeError: Event loop is closed (GH-92842)
2022-05-17 23:27:32 +01:00
Zackery Spytz
6b932cb133
bpo-38704: Prevent installation on unsupported Windows versions (GH-17950)
2022-05-17 23:24:17 +01:00
Victor Stinner
970efae274
gh-89898: Fix test_threading.test_args_argument() ( #92885 )
...
Join the thread to not leak threads running in the background to the
next test.
Fix the following warning on the "AMD64 FreeBSD Shared 3.11"
buildbot:
test_args_argument (test.test_threading.ThreadTests.test_args_argument) ...
Warning -- threading_cleanup() failed to cleanup 1 threads (count: 1, dangling: 2)
Warning -- Dangling thread: <_MainThread(MainThread, started 35026161664)>
Warning -- Dangling thread: <Thread(Thread-134 (<lambda>), started 35314998016)>
ok
2022-05-18 00:19:56 +02:00
Victor Stinner
1305832362
gh-89653: Add assertions on PyUnicode_READ() index ( #92883 )
...
Add assertions on the index argument of PyUnicode_READ(),
PyUnicode_READ_CHAR() and PyUnicode_WRITE() functions.
2022-05-17 19:43:19 +02:00
Victor Stinner
e6fd7992a9
gh-89653: PEP 670: Fix PyUnicode_READ() cast ( #92872 )
...
_Py_CAST() cannot be used with a constant type: use _Py_STATIC_CAST()
instead.
2022-05-17 19:20:37 +02:00
Dennis Sweeney
524f03c08c
Fix NULL check in test_type_from_ephemeral_spec in_testcapimodule.c (GH-92863)
2022-05-17 18:17:16 +03:00
Dennis Sweeney
19a4252459
gh-92536: Update unicode struct size to ensure MemoryError is raised (GH-92867)
2022-05-17 10:12:21 -04:00
Irit Katriel
8781a041a0
gh-92782: unify the style of CFG traversal algorithms in the compiler (GH-92784)
2022-05-17 13:00:11 +01:00
Mark Shannon
93fc14933b
Summarize stats: Increase number of predecessor/successor pairs shown from 3 to 5. (GH-92853)
2022-05-17 10:59:24 +01:00
Dennis Sweeney
702e0da000
Fix NULL test in _testinternalcapi (GH-92861)
2022-05-16 21:32:48 -04:00
谭九鼎
bd30461298
re docs: fix source code link ( #92819 )
2022-05-16 17:04:17 -07:00
Filipe Laíns
c7d699969c
gh-92265: set meta_path and path_hooks correctly in test_reload_namespace_changed (GH-92275)
...
Previously, we were blocking the frozen imports and forcing the source
version to be used, but we did not fix up sys.meta_path or
sys.path_hooks, causing the frozen importers to leak into the source
version of the test.
2022-05-16 16:05:47 -07:00
Erlend Egeberg Aasland
00f22e8cc2
gh-92547: Remove deprecated sqlite3 features ( #92548 )
...
The following sqlite3 features were deprecated in 3.10, scheduled for
removal in 3.12:
- sqlite3.OptimizedUnicode (gh-23163)
- sqlite3.enable_shared_cache (gh-24008)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Signed-off-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
2022-05-16 19:52:08 +02:00
Christian Heimes
9b50585e02
gh-90473: Skip tests that don't apply to Emscripten and WASI (GH-92846)
2022-05-16 16:02:37 +02:00
Mark Shannon
fa2b8b75eb
Improve object stats ( #92845 )
...
* Add incref/decref stats
* Show ratios for allocation in summary
2022-05-16 14:35:11 +01:00
Batuhan Taskaya
f6fd8aac13
gh-92671: Don't omit parentheses when unparsing empty tuples (GH-92673)
2022-05-16 13:38:06 +01:00
Victor Stinner
ca0cc9c433
gh-92820: Skip test_cppext if _ctypes is missing ( #92844 )
...
Add @test.support.requires_venv_with_pip decorator.
2022-05-16 13:54:45 +02:00
Hugo van Kemenade
a487623c6b
Speedup: build docs in parallel (GH-92733)
2022-05-16 13:52:00 +02:00
Pablo Galindo Salgado
0d8500c739
gh-81548: Clarify the deprecation of octal sequences affect byte strings (GH-92643)
...
Automerge-Triggered-By: GH:pablogsal
2022-05-16 03:42:58 -07:00
Christian Heimes
730902c0ad
gh-90473: WASI: Mark tests that require os.pipe() (GH-92837)
2022-05-16 09:37:30 +02:00
Stanley
3ed1cae9ed
gh-87670: Add web.archive redirects from effbot (GH-92816)
2022-05-16 08:11:43 +02:00
Serhiy Storchaka
70af994fee
gh-92530: Fix an issue that occurred after interrupting threading.Condition.notify (GH-92534)
...
If Condition.notify() was interrupted just after it released the waiter lock,
but before removing it from the queue, the following calls of notify() failed
with RuntimeError: cannot release un-acquired lock.
2022-05-16 08:25:29 +03:00
Ezio Melotti
953ab07952
Restore default role check in `make check`. ( #92290 )
...
* Restore default role check in `make check`.
* Options first, then files.
* Update `make.bat` too.
* Add a comment explaining the extra options.
* No reason to ignore the README.rst.
* Enable default-role check in sphinx-lint.
Co-authored-by: Julien Palard <julien@palard.fr>
* Update sphinx-lint default-role check.
* Fix use of the default role in the docs.
* Update make.bat to check for the default role too.
* Fix comment in make.bat.
Co-authored-by: Julien Palard <julien@palard.fr>
2022-05-15 17:34:52 +02:00
Jan Wolski
26a162baef
gh-89668: Optimize ZipFile file header processing algorithm to avoid unneeded IO(gh-25966)
2022-05-15 23:49:19 +09:00
Victor Stinner
90e7230073
gh-92781: Avoid mixing declarations and code in C API ( #92783 )
...
Avoid mixing declarations and code in the C API to fix the compiler
warning: "ISO C90 forbids mixed declarations and code"
[-Werror=declaration-after-statement].
2022-05-15 11:19:52 +02:00
Christian Heimes
db0b455ff4
gh-90473: Fail subprocess early on Emscripten/WASI (GH-92802)
2022-05-14 20:23:19 +02:00
Kumar Aditya
d923fdf54b
GH-92804: Fix memory leak in memoryview iterator (gh-92805)
2022-05-14 23:24:20 +09:00