Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | gh-77171: Fixes SubFormat check to compare the entire value. Add docs (GH-97509) | Steve Dower | 2022-09-23 | 3 | -6/+21 | |
| | ||||||
* | gh-96965: Update Windows release to libffi 3.4.3 (GH-97512) | Steve Dower | 2022-09-23 | 3 | -4/+5 | |
| | ||||||
* | gh-75608: Add Windows FAQ entry for missing UCRT (GH-92765) | Stanley | 2022-09-23 | 1 | -0/+8 | |
| | ||||||
* | gh-96761: Fix build process of the clang compiler for _bootstrap_python ↵ | Dong-hee Na | 2022-09-23 | 3 | -4/+43 | |
| | | | | | (gh-96945) Co-authored-by: Matthias Goergens <matthias.goergens@gmail.com> | |||||
* | gh-96397: Document that keywords in calls need not be identifiers (#96393) | Jeff Allen | 2022-09-22 | 1 | -2/+12 | |
| | | | | This represents the official SC stance, see https://github.com/python/steering-council/issues/142#issuecomment-1252172695 | |||||
* | GH-85760: Fix race in calling process_exited callback too early (#97009) | Kumar Aditya | 2022-09-22 | 2 | -1/+3 | |
| | ||||||
* | gh-90155: Fix bug in asyncio.Semaphore and strengthen FIFO guarantee (#93222) | Cyker Way | 2022-09-22 | 3 | -22/+143 | |
| | | | | | | | | | The main problem was that an unluckily timed task cancellation could cause the semaphore to be stuck. There were also doubts about strict FIFO ordering of tasks allowed to pass. The Semaphore implementation was rewritten to be more similar to Lock. Many tests for edge cases (including cancellation) were added. | |||||
* | GH-96975: Skip incomplete frames in PyEval_GetFrame (GH-97003) | Brandt Bucher | 2022-09-22 | 4 | -3/+79 | |
| | ||||||
* | include OrderedDict import in TimeBoundedLRU example (GH-96962) | Harry | 2022-09-22 | 1 | -0/+1 | |
| | ||||||
* | gh-97005: Update libexpat from 2.4.7 to 2.4.9 (gh-97006) | Dong-hee Na | 2022-09-22 | 8 | -17/+28 | |
| | | | Co-authored-by: Gregory P. Smith [Google] <greg@krypto.org> | |||||
* | Doc: fix link redirect (GH-96606) | partev | 2022-09-21 | 1 | -1/+1 | |
| | | | "Hyperbolic_function" -> "Hyperbolic_functions" | |||||
* | gh-81039: Add small example of f-string's "=}" to tutorial (gh-92291) | Stanley | 2022-09-21 | 2 | -1/+12 | |
| | ||||||
* | gh-96954: Add tests for unicodedata.name/lookup (#96955) | Batuhan Taskaya | 2022-09-21 | 1 | -1/+9 | |
| | | | | | | | They were undertested, and since #96954 might involve a rewrite of this part of the code we want to ensure that there won't be any behavioral change. Co-authored-by: Carl Friedrich Bolz-Tereick <cfbolz@gmx.de> | |||||
* | gh-71141: Add note on rejecting "leading-dot" syntax for with statements ↵ | Stanley | 2022-09-21 | 1 | -0/+4 | |
| | | | | | (#96928) Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | |||||
* | gh-90808: add more examples to `test_sched.test_priority` (#31144) | Nikita Sobolev | 2022-09-21 | 1 | -4/+17 | |
| | ||||||
* | [Enum] fix typos (GH-96285) | wim glenn | 2022-09-20 | 1 | -2/+2 | |
| | ||||||
* | gh-95591: [Enum] use `_FlagTests` base class (GH-96475) | Nikita Sobolev | 2022-09-20 | 1 | -4/+4 | |
| | ||||||
* | gh-96947: Fix comment on `pyruntimestate->pyinterpreters` struct for ↵ | Виталий Дмитриев | 2022-09-20 | 1 | -2/+2 | |
| | | | | | | | `next_id` (GH-96949) `_next_interp_id` appeared on [this commit](https://github.com/python/cpython/commit/e377416c10eb0bf055b0728cdcdc4488fdfd3b5f#diff-7ac11e526f79b42d6ea9d3592cb99da46775640c69fa5510f4a6de87cced7141R68) renamed to `next_id` ([by this commit](https://github.com/python/cpython/commit/2ebc5ce42a8a9e047e790aefbf9a94811569b2b6#diff-bccfc01bd96b58c022dde77486b8a896cbb31d7581bd4a4156b32c3654afe468R59)). Also, now, `next_id` gets initialized in` _PyInterpreterState_Enable()` https://github.com/python/cpython/blob/12c5f328d2479ac3432df5e266adc4e59adeabfe/Python/pystate.c#L241-L244 because `_PyInterpreterState_Init()` function doesn't exist at all. | |||||
* | GH-95921: Fix positions for some chained comparisons (GH-96968) | Brandt Bucher | 2022-09-20 | 3 | -0/+28 | |
| | ||||||
* | Fix minor comment typo in dictobject.c (GH-96960) | Samuel | 2022-09-20 | 1 | -1/+1 | |
| | | | | | Fix a minor comment typo in the Objects/dictobject.c file. Automerge-Triggered-By: GH:methane | |||||
* | gh-87092: in compiler, move the detection of exception handlers before the ↵ | Irit Katriel | 2022-09-20 | 1 | -16/+32 | |
| | | | | CFG optimization stage (GH-96935) | |||||
* | gh-96711: Enhance SystemError message upon Invalid opcode (#96712) | serge-sans-paille | 2022-09-20 | 2 | -3/+16 | |
| | | | | | | Raise verbose SystemError instead of printing debug information upon Invalid opcode. Fix #96711 | |||||
* | gh-96727: Document restrictions on Handler.emit() with respect to locking. ↵ | Vinay Sajip | 2022-09-20 | 1 | -0/+16 | |
| | | | | (GH-96948) | |||||
* | gh-96512: Update int_max_str docs to say 3.11 (#96942) | Gregory P. Smith | 2022-09-19 | 8 | -36/+11 | |
| | | | | It was unknown if it'd be before 3.11.0 when creating the original changes. It's in 3.11rc2, so 3.11 it is. | |||||
* | gh-95865: Further reduce quote_from_bytes memory consumption (#96860) | Gregory P. Smith | 2022-09-19 | 3 | -1/+16 | |
| | | | on large input values. Based on Dennis Sweeney's chunking idea. | |||||
* | gh-96387: take_gil() resets drop request before exit (#96869) | Victor Stinner | 2022-09-19 | 2 | -0/+16 | |
| | | | | | | | | | | | | | At Python exit, sometimes a thread holding the GIL can wait forever for a thread (usually a daemon thread) which requested to drop the GIL, whereas the thread already exited. To fix the race condition, the thread which requested the GIL drop now resets its request before exiting. take_gil() now calls RESET_GIL_DROP_REQUEST() before PyThread_exit_thread() if it called SET_GIL_DROP_REQUEST to fix a race condition with drop_gil(). Issue discovered and analyzed by Mingliang ZHAO. | |||||
* | GH-96864: Check for error between line and opcode events (GH-96880) | Brandt Bucher | 2022-09-19 | 3 | -1/+17 | |
| | ||||||
* | gh-96917: link to typing.readthedocs.io from typing.rst (#96921) | Shantanu | 2022-09-19 | 1 | -0/+5 | |
| | | | See the discussion at https://github.com/python/cpython/issues/91533 | |||||
* | gh-95913: Copyedit, link & format Typing Features section in 3.11 What's New ↵ | C.A.M. Gerlach | 2022-09-19 | 1 | -23/+50 | |
| | | | | | | | (GH-96097) Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | |||||
* | gh-95913: Fix and copyedit New Features section of 3.11 What's New (GH-95915) | C.A.M. Gerlach | 2022-09-19 | 2 | -35/+40 | |
| | ||||||
* | gh-96821: Fix undefined behaviour in `_testcapimodule.c` (GH-96915) | Matthias Görgens | 2022-09-19 | 2 | -1/+4 | |
| | | | | | | | * gh-96821: Assert for demonstrating undefined behaviour * Fix UB Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> | |||||
* | GH-96851: Add link to FAQ entry for caching method calls. (GH-96902) | Raymond Hettinger | 2022-09-18 | 2 | -0/+5 | |
| | ||||||
* | fix various typos in random module's documentation (GH-96912) | partev | 2022-09-18 | 1 | -4/+4 | |
| | ||||||
* | gh-94787: [doc] Add to argparse doc an example of a mutually-exclusive group ↵ | Scott Main | 2022-09-18 | 1 | -1/+20 | |
| | | | | nested in an argument group (GH-94807) | |||||
* | Clarify that the expression is regular math notation, not Python. (#96903) | Raymond Hettinger | 2022-09-18 | 1 | -2/+2 | |
| | ||||||
* | gh-87179: Fix more IDLE class headers (#96899) | Terry Jan Reedy | 2022-09-17 | 2 | -2/+2 | |
| | | | Remove unneeded '(object)' and '()'. | |||||
* | Revert "gh-87079: Warn on unintended signal wakeup fd override in `asyncio` ↵ | Guido van Rossum | 2022-09-17 | 5 | -66/+8 | |
| | | | | | | | (#96807)" (#96898) This reverts commit 05878106989c6f5b9dd35a6c15a21bee59312827. Reason: This broke buildbots (some warnings added by that commit are turned to errors in the SSL buildbot). Repro: ./python Lib/test/ssltests.py | |||||
* | gh-91210: Improve error message when non-default param follows default ↵ | Lysandros Nikolaou | 2022-09-17 | 5 | -365/+391 | |
| | | | | | | (GH-95933) - Improve error message when parameter without a default follows one with a default - Show same error message when positional-only params precede the default/non-default sequence | |||||
* | Simplify sieve() recipe. Add edge case tests. (GH-96892) | Raymond Hettinger | 2022-09-17 | 1 | -1/+7 | |
| | ||||||
* | gh-87079: Warn on unintended signal wakeup fd override in `asyncio` (#96807) | Michel Hidalgo | 2022-09-17 | 5 | -8/+66 | |
| | | | Warn on loop initialization, when setting the wakeup fd disturbs a previously set wakeup fd, and on loop closing, when upon resetting the wakeup fd, we find it has been changed by someone else. | |||||
* | gh-96861: Check for unset sys.executable during venv creation. (GH-96887) | Vinay Sajip | 2022-09-17 | 1 | -0/+5 | |
| | ||||||
* | gh-96883: browser: include concurrent.futures (GH-96886) | Christian Heimes | 2022-09-17 | 2 | -13/+21 | |
| | ||||||
* | fixes gh-96841: replace Mercurial with VCS (#96879) | Benjamin Peterson | 2022-09-16 | 1 | -2/+2 | |
| | ||||||
* | gh-95778: Mention sys.set_int_max_str_digits() in error message (#96874) | Victor Stinner | 2022-09-16 | 3 | -4/+7 | |
| | | | | When ValueError is raised if an integer is larger than the limit, mention sys.set_int_max_str_digits() in the error message. | |||||
* | gh-96052: codeop: fix handling compiler warnings in incomplete input (GH-96132) | Serhiy Storchaka | 2022-09-16 | 3 | -13/+37 | |
| | | | | | | Previously codeop.compile_command() emitted compiler warnings (SyntaxWarning or DeprecationWarning) and raised a SyntaxError for incomplete input containing a potentially incorrect code. Now it always returns None for incomplete input without emitting any warnings. | |||||
* | gh-89536: Use ThinLTO policy if possible (gh-96766) | Dong-hee Na | 2022-09-16 | 5 | -6/+99 | |
| | ||||||
* | gh-96810: Clarify for which statements sqlite3 implicitly opens transactions ↵ | Erlend E. Aasland | 2022-09-15 | 1 | -1/+2 | |
| | | | | (#96832) | |||||
* | Fix ResourceWarning in test.test_frame (GH-96831) | Dennis Sweeney | 2022-09-15 | 1 | -16/+19 | |
| | ||||||
* | GH-91049: Introduce set vectorcall field API for PyFunctionObject (GH-92257) | adphrost | 2022-09-15 | 9 | -3/+115 | |
| | | | | Co-authored-by: Andrew Frost <adfrost@fb.com> Co-authored-by: Itamar Ostricher <itamarost@gmail.com> | |||||
* | gh-96751: Remove dead code from `CALL_FUNCTION_EX` opcode (GH-96752) | Nikita Sobolev | 2022-09-15 | 3 | -13/+24 | |
| |