Vanshaj Singhania
bb86d1d9fb
bpo-47007: [doc] `str` special method lookup (GH-31863)
...
Clarify the `str()` docs to point out that `object.__str__()`
follows special method lookup.
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-04-04 19:34:28 -07:00
yyyyyyyan
a74892cb21
bpo-41233: Add links to errnos referenced in exceptions docs (GH-21380)
...
Co-authored-by: Andrew Kuchling <amk@amk.ca>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-04-04 19:01:36 -07:00
Oleg Iarygin
5a7506de73
Fix "Contributed ... in bpo-bpo-45847" (GH-32299)
2022-04-04 21:17:54 -04:00
Matthew Rahtz
38ae5b8c0c
bpo-47097: Add documentation for TypeVarTuple ( #32103 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-04-04 16:37:01 -07:00
Christian Heimes
c9844cb8aa
bpo-40280: Add --enable-wasm-dynamic-linking (GH-32253)
2022-04-04 19:31:31 +02:00
180909
48269ea9fd
bpo-46484:Add test for Calendar.iterweekdays (GH-30825)
2022-04-04 18:16:56 +01:00
Christian Heimes
d1b1c885d8
bpo-47208: Allow vendors to override CTYPES_MAX_ARGCOUNT (GH-32297)
2022-04-04 19:13:42 +02:00
Christian Clauss
1ecfe3d5ae
Demonstrate `py --list` in the quickstart section of the Windows doc page (GH-29383)
2022-04-04 16:35:51 +01:00
Mark Shannon
8a349eb30b
Revert "bpo-44800: Document internal frame naming conventions (GH-32281)" ( #32301 )
...
This reverts commit 124227c95f
.
2022-04-04 15:09:40 +01:00
Serhiy Storchaka
ff2cf1d7d5
bpo-47152: Remove unused import in re (GH-32298)
2022-04-04 12:00:53 +03:00
Serhiy Storchaka
1578f06c1c
bpo-47152: Move sources of the _sre module into a subdirectory (GH-32290)
2022-04-04 10:53:26 +03:00
Inada Naoki
4216dce04b
bpo-47000: Make `io.text_encoding()` respects UTF-8 mode (GH-32003)
...
Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
2022-04-04 11:46:57 +09:00
Bob Kline
6db2db91b9
Follow PEP-8 guidelines in tutorial for standard library (GH-26127)
2022-04-03 15:31:03 -07:00
Hood Chatham
087d0fa5b9
bpo-47176: Interrupt handling for wasm32-emscripten builds without pthreads (GH-32209)
...
Co-authored-by: Christian Heimes <christian@python.org>
Co-authored-by: Brett Cannon <brett@python.org>
2022-04-03 22:58:52 +02:00
Julien Palard
bdc4974965
bpo-42238: [doc]: make suspicious: false positive. (GH-32292)
2022-04-03 22:08:29 +02:00
Jason R. Coombs
84acb5cad1
bpo-46126: Restore 'descriptions' when running tests internally. (GH-32128)
...
This reverts commit a941e5927f
(GH-30194).
Automerge-Triggered-By: GH:jaraco
2022-04-03 12:33:28 -07:00
Ma Lin
6e3eee5c11
bpo-23689: re module, fix memory leak when a match is terminated by a signal or memory allocation failure (GH-32283)
2022-04-03 19:16:20 +03:00
Christian Heimes
b82cdd1dac
bpo-47205: Skip error check of sched_get/setaffinity on FreeBSD (GH-32285)
2022-04-03 17:03:49 +02:00
Hood Chatham
3faa9f78d4
bpo-47196: Fix one more PyInit function signature (GH-32280)
...
I missed one PyInit function in #32244 .
Automerge-Triggered-By: GH:tiran
2022-04-03 00:45:26 -07:00
Nick Coghlan
124227c95f
bpo-44800: Document internal frame naming conventions (GH-32281)
...
The fact interpreter frames were split out from full frame objects
rather than always being part of the eval loop implementation means
that it's tricky to infer the expected naming conventions simply
from looking at the code.
Documenting the de facto conventions in pycore_frame.h means future
readers of the code will have a clear explanation of the rationale
for those conventions (i.e. minimising non-functional code churn).
2022-04-03 16:55:55 +10:00
Jiashuo Li
4f5d56f8f3
Language reference: Remove duplicated text about iterable unpacking (GH-25212)
2022-04-02 19:41:16 -07:00
Michał D
281f980d35
bpo-46033: Clarify for-statement execution (GH-30025)
...
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-04-02 20:52:20 -04:00
Terry Jan Reedy
01be5d6446
bpo-24563: Link encoding names to encoding declarations (GH-32274)
2022-04-02 20:13:37 -04:00
Arthur Milchior
ebbdbbff5d
bpo-45584: Clarify `math.trunc` documentation (GH-29183)
...
While floor/ceil 's documentation are very precise, `truncate` was not explained. I actually had to search online to understand the difference between `truncate` and `floor` (admittedly, once I remembered that numbers are signed, and that floating numbers actually uses a bit for negation symbol instead of two complement, it became obvious)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Éric Araujo <merwok@netwok.org>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-04-02 15:11:20 -07:00
Vitor Buxbaum Orlandi
1f80dcd244
os docs: fix typo (GH-28996)
...
Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
2022-04-02 14:38:33 -07:00
180909
ea56845744
codecs docs: fix grammar mistake (GH-29462)
2022-04-02 14:12:32 -07:00
Christian Heimes
3df0e63aab
bpo-46315: Use fopencookie only on Emscripten 3.x and newer (GH-32266)
2022-04-02 23:11:38 +02:00
180909
c93a0ac697
bpo-45114: Use lstat() instead of stat() in stat docs example (GH-29845)
2022-04-02 13:58:26 -07:00
Charlie Zhao
182e93c3f5
bpo-47031: Improve documentation for `math.nan` (GH-32170)
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-04-02 12:58:03 -07:00
Kevin Locke
208da6d508
Document func parameter of locale.atof (GH-18183)
...
The second parameter (named `func`) has been present since the `locale`
module was introduced in eef1d4e8b1
, but has never been documented.
This commit updates the documentation for `locale.atof` to clarify the
behavior of the function and how the `func` parameter is used.
Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2022-04-02 12:52:05 -07:00
Jelle Zijlstra
677a879466
More minor fixes to C API docs (GH-31714)
...
* init_config: wording fixes
* bytearray: remove XXX, there is a good link to the buffer docs
* bytes, call, exceptions: minor wording fixes
2022-04-02 12:32:59 -07:00
Jelle Zijlstra
897bc6f928
More minor fixes to C API docs (GH-31525)
...
* wording fixes in type.rst
* grammar and punctuation in sys.rst
* set: grammar fixes
* structures: capitalization fix
* grammar fixes for sequence
* objects: point to Py_TYPE instead of direct object access
* numbers: add more explicit Python equivalences
* method: add missing period
* memory: grammar fix
* mapping: grammar fixes
* long: grammar fix
* iter: fix grammar for PyAIter_Check
* init: grammar fix
2022-04-02 12:31:05 -07:00
Zachary Ware
6066739ff7
bpo-47194: Update zlib to v1.2.12 on Windows to resolve CVE-2018-25032 (GH-32241)
2022-04-02 14:10:23 +01:00
Julien Palard
7f9c084fde
[doc] fix superfluous backtick in front of role. (GH-32220)
2022-04-02 15:08:36 +02:00
Serhiy Storchaka
1be3260a90
bpo-47152: Convert the re module into a package (GH-32177)
...
The sre_* modules are now deprecated.
2022-04-02 11:35:13 +03:00
Christian Heimes
4ed8a9a589
bpo-40280: Enable most file-at() and nanosleep APIs again (GH-32238)
2022-04-02 10:13:44 +02:00
Christian Heimes
59be9cd748
bpo-40280: Detect if WASM platform supports threading (GH-32243)
...
Automerge-Triggered-By: GH:tiran
2022-04-02 01:12:44 -07:00
Hood Chatham
7000cd7016
bpo-47196: Fix function pointer cast in test_imp (GH-32244)
...
The function PyInit_imp_dummy is declared as void f(PyObject* spec)
but called as void f(void). On wasm targets without the call
trampolines this causes a fatal error.
Automerge-Triggered-By: GH:tiran
2022-04-02 01:00:49 -07:00
Jeremy Kloth
0f68c208fa
bpo-47131: Speedup AST comparisons in test_unparse by using node traversal (GH-32132)
2022-04-02 02:54:04 +01:00
Dong-hee Na
b183f48649
no-issue: Add assertion to PyModule_GetName for understanding (GH-32236)
2022-04-02 09:56:30 +09:00
Christian Heimes
082d3495d0
bpo-40280: Emscripten fork_exec now fails early (GH-32224)
2022-04-01 21:20:56 +02:00
Jeremy Kloth
76b8a075b8
bpo-47089: Avoid test_compileall failures on Windows (GH-32037)
2022-04-01 20:13:01 +02:00
Christian Heimes
17245c815e
bpo-40280: Add debug Emscripten flavors (GH-32233)
2022-04-01 17:24:00 +02:00
Christian Heimes
abdd69c95c
bpo-46023: makesetup: skip all duplicate modules (GH-32234)
2022-04-01 17:23:12 +02:00
Petr Viktorin
079143df7e
bpo-47168: Mark files generated by `make regen-limited-abi` as generated (GH-32195)
2022-04-01 17:19:05 +02:00
Irit Katriel
997ba5d126
bpo-47172: Compiler enhancements (GH-32200)
...
* Make virtual opcodes negative.
* Make is_jump detect only actual jumps.
* Use is_block_push for the exception block setup opcodes.
2022-04-01 15:50:15 +01:00
Irit Katriel
04e07c258f
bpo-47186: Replace JUMP_IF_NOT_EXC_MATCH by CHECK_EXC_MATCH + jump (GH-32231)
2022-04-01 13:59:38 +01:00
Brandt Bucher
ae9de82e32
bpo-46841: Use a `bytes` object for `_co_code_adaptive` (GH-32205)
2022-04-01 12:28:50 +01:00
Brandt Bucher
bd2e47c883
bpo-46841: Avoid unnecessary allocations in code object comparisons (GH-32222)
2022-04-01 11:42:46 +01:00
Dennis Sweeney
a0ea7a116c
bpo-47009: Streamline list.append for the common case (GH-31864)
2022-04-01 11:23:42 +01:00