Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-47000: Make `io.text_encoding()` respects UTF-8 mode (GH-32003) | Inada Naoki | 2022-04-04 | 10 | -17/+52 |
| | | | Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com> | ||||
* | Follow PEP-8 guidelines in tutorial for standard library (GH-26127) | Bob Kline | 2022-04-03 | 1 | -2/+3 |
| | |||||
* | bpo-47176: Interrupt handling for wasm32-emscripten builds without pthreads ↵ | Hood Chatham | 2022-04-03 | 8 | -1/+124 |
| | | | | | | (GH-32209) Co-authored-by: Christian Heimes <christian@python.org> Co-authored-by: Brett Cannon <brett@python.org> | ||||
* | bpo-42238: [doc]: make suspicious: false positive. (GH-32292) | Julien Palard | 2022-04-03 | 1 | -0/+1 |
| | |||||
* | bpo-46126: Restore 'descriptions' when running tests internally. (GH-32128) | Jason R. Coombs | 2022-04-03 | 2 | -5/+2 |
| | | | | | This reverts commit a941e5927f7f2540946813606c61c6aea38db426 (GH-30194). Automerge-Triggered-By: GH:jaraco | ||||
* | bpo-23689: re module, fix memory leak when a match is terminated by a signal ↵ | Ma Lin | 2022-04-03 | 9 | -71/+151 |
| | | | | or memory allocation failure (GH-32283) | ||||
* | bpo-47205: Skip error check of sched_get/setaffinity on FreeBSD (GH-32285) | Christian Heimes | 2022-04-03 | 2 | -2/+8 |
| | |||||
* | bpo-47196: Fix one more PyInit function signature (GH-32280) | Hood Chatham | 2022-04-03 | 1 | -1/+1 |
| | | | | | I missed one PyInit function in #32244. Automerge-Triggered-By: GH:tiran | ||||
* | bpo-44800: Document internal frame naming conventions (GH-32281) | Nick Coghlan | 2022-04-03 | 1 | -0/+69 |
| | | | | | | | | | | 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). | ||||
* | Language reference: Remove duplicated text about iterable unpacking (GH-25212) | Jiashuo Li | 2022-04-03 | 1 | -3/+1 |
| | |||||
* | bpo-46033: Clarify for-statement execution (GH-30025) | Michał D | 2022-04-03 | 2 | -11/+9 |
| | | | | Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | ||||
* | bpo-24563: Link encoding names to encoding declarations (GH-32274) | Terry Jan Reedy | 2022-04-03 | 1 | -3/+2 |
| | |||||
* | bpo-45584: Clarify `math.trunc` documentation (GH-29183) | Arthur Milchior | 2022-04-02 | 1 | -8/+10 |
| | | | | | | | | 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> | ||||
* | os docs: fix typo (GH-28996) | Vitor Buxbaum Orlandi | 2022-04-02 | 1 | -1/+1 |
| | | | Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com> | ||||
* | codecs docs: fix grammar mistake (GH-29462) | 180909 | 2022-04-02 | 1 | -1/+1 |
| | |||||
* | bpo-46315: Use fopencookie only on Emscripten 3.x and newer (GH-32266) | Christian Heimes | 2022-04-02 | 1 | -1/+1 |
| | |||||
* | bpo-45114: Use lstat() instead of stat() in stat docs example (GH-29845) | 180909 | 2022-04-02 | 1 | -1/+1 |
| | |||||
* | bpo-47031: Improve documentation for `math.nan` (GH-32170) | Charlie Zhao | 2022-04-02 | 1 | -2/+17 |
| | | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | ||||
* | Document func parameter of locale.atof (GH-18183) | Kevin Locke | 2022-04-02 | 1 | -3/+3 |
| | | | | | | | | | 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> | ||||
* | More minor fixes to C API docs (GH-31714) | Jelle Zijlstra | 2022-04-02 | 5 | -11/+9 |
| | | | | | | | * init_config: wording fixes * bytearray: remove XXX, there is a good link to the buffer docs * bytes, call, exceptions: minor wording fixes | ||||
* | More minor fixes to C API docs (GH-31525) | Jelle Zijlstra | 2022-04-02 | 13 | -29/+30 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | bpo-47194: Update zlib to v1.2.12 on Windows to resolve CVE-2018-25032 ↵ | Zachary Ware | 2022-04-02 | 3 | -2/+3 |
| | | | | (GH-32241) | ||||
* | [doc] fix superfluous backtick in front of role. (GH-32220) | Julien Palard | 2022-04-02 | 1 | -2/+2 |
| | |||||
* | bpo-47152: Convert the re module into a package (GH-32177) | Serhiy Storchaka | 2022-04-02 | 16 | -2182/+2235 |
| | | | The sre_* modules are now deprecated. | ||||
* | bpo-40280: Enable most file-at() and nanosleep APIs again (GH-32238) | Christian Heimes | 2022-04-02 | 2 | -17/+11 |
| | |||||
* | bpo-40280: Detect if WASM platform supports threading (GH-32243) | Christian Heimes | 2022-04-02 | 2 | -1/+31 |
| | | | Automerge-Triggered-By: GH:tiran | ||||
* | bpo-47196: Fix function pointer cast in test_imp (GH-32244) | Hood Chatham | 2022-04-02 | 1 | -24/+24 |
| | | | | | | | 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 | ||||
* | bpo-47131: Speedup AST comparisons in test_unparse by using node traversal ↵ | Jeremy Kloth | 2022-04-02 | 1 | -1/+37 |
| | | | | (GH-32132) | ||||
* | no-issue: Add assertion to PyModule_GetName for understanding (GH-32236) | Dong-hee Na | 2022-04-02 | 1 | -1/+3 |
| | |||||
* | bpo-40280: Emscripten fork_exec now fails early (GH-32224) | Christian Heimes | 2022-04-01 | 4 | -7/+19 |
| | |||||
* | bpo-47089: Avoid test_compileall failures on Windows (GH-32037) | Jeremy Kloth | 2022-04-01 | 1 | -48/+36 |
| | |||||
* | bpo-40280: Add debug Emscripten flavors (GH-32233) | Christian Heimes | 2022-04-01 | 2 | -22/+32 |
| | |||||
* | bpo-46023: makesetup: skip all duplicate modules (GH-32234) | Christian Heimes | 2022-04-01 | 2 | -6/+14 |
| | |||||
* | bpo-47168: Mark files generated by `make regen-limited-abi` as generated ↵ | Petr Viktorin | 2022-04-01 | 1 | -0/+3 |
| | | | | (GH-32195) | ||||
* | bpo-47172: Compiler enhancements (GH-32200) | Irit Katriel | 2022-04-01 | 1 | -36/+41 |
| | | | | | | | | * Make virtual opcodes negative. * Make is_jump detect only actual jumps. * Use is_block_push for the exception block setup opcodes. | ||||
* | bpo-47186: Replace JUMP_IF_NOT_EXC_MATCH by CHECK_EXC_MATCH + jump (GH-32231) | Irit Katriel | 2022-04-01 | 11 | -111/+107 |
| | |||||
* | bpo-46841: Use a `bytes` object for `_co_code_adaptive` (GH-32205) | Brandt Bucher | 2022-04-01 | 1 | -2/+2 |
| | |||||
* | bpo-46841: Avoid unnecessary allocations in code object comparisons (GH-32222) | Brandt Bucher | 2022-04-01 | 2 | -13/+14 |
| | |||||
* | bpo-47009: Streamline list.append for the common case (GH-31864) | Dennis Sweeney | 2022-04-01 | 4 | -27/+41 |
| | |||||
* | bpo-46850: Move _PyInterpreterState_SetEvalFrameFunc() to internal C API ↵ | Victor Stinner | 2022-04-01 | 6 | -13/+38 |
| | | | | | | | | | | | (GH-32054) Move the private _PyFrameEvalFunction type, and private _PyInterpreterState_GetEvalFrameFunc() and _PyInterpreterState_SetEvalFrameFunc() functions to the internal C API. The _PyFrameEvalFunction callback function type now uses the _PyInterpreterFrame type which is part of the internal C API. Update the _PyFrameEvalFunction documentation. | ||||
* | bpo-46850: Move _PyEval_EvalFrameDefault() to internal C API (GH-32052) | Victor Stinner | 2022-04-01 | 4 | -2/+13 |
| | | | | | Move the private undocumented _PyEval_EvalFrameDefault() function to the internal C API. The function now uses the _PyInterpreterFrame type which is part of the internal C API. | ||||
* | bpo-47167: Allow overriding a future compliance check in asyncio.Task (GH-32197) | Andrew Svetlov | 2022-04-01 | 6 | -15/+133 |
| | |||||
* | bpo-45099: Document asyncio internal API (GH-32166) | Andrew Svetlov | 2022-03-31 | 3 | -0/+95 |
| | |||||
* | bpo-47151: Fallback to fork when vfork fails in subprocess. (GH-32186) | Gregory P. Smith | 2022-03-31 | 2 | -0/+9 |
| | | | bpo-47151: Fallback to fork when vfork fails in subprocess. An OS kernel can specifically decide to disallow vfork() in a process. No need for that to prevent us from launching subprocesses. | ||||
* | bpo-47146: Stop Depending On regen-deepfreeze For regen-global-objects ↵ | Eric Snow | 2022-03-31 | 3 | -19/+9 |
| | | | | | | | | | (gh-32218) This effectively reverts the Makefile change in gh-31637. I've added some notes so it is more clear what is going on. We also update the "Check if generated files are up to date" job to run "make regen-deepfreeze" to ensure "make regen-global-objects" catches deepfreeze.c. https://bugs.python.org/issue47146 | ||||
* | bpo-40421: Add missing getters for frame object attributes to C-API. (GH-32114) | Mark Shannon | 2022-03-31 | 7 | -4/+136 |
| | |||||
* | bpo-47182: Fix crash by named unicode characters after interpreter ↵ | Christian Heimes | 2022-03-31 | 3 | -0/+10 |
| | | | | | reinitialization (GH-32212) Automerge-Triggered-By: GH:tiran | ||||
* | Remove unnecessary registration of weakref.WeakSet to _collections_abc.Set ↵ | Géry Ogam | 2022-03-31 | 1 | -1/+0 |
| | | | | (GH-32211) | ||||
* | bpo-14911: Corrected generator.throw() documentation (GH-32207) | Dave Goncalves | 2022-03-31 | 4 | -8/+28 |
| | | | Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com> | ||||
* | bpo-47120: Replace the JUMP_ABSOLUTE opcode by the relative JUMP_BACKWARD ↵ | Irit Katriel | 2022-03-31 | 15 | -113/+147 |
| | | | | (GH-32115) |