Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | gh-102828: add onexc arg to shutil.rmtree. Deprecate onerror. (#102829) | Irit Katriel | 2023-03-19 | 5 | -56/+256 | |
| | ||||||
* | gh-102778: revert changes to idlelib (#102825) | Irit Katriel | 2023-03-19 | 4 | -24/+9 | |
| | ||||||
* | gh-102755: fix refleak (#102826) | Irit Katriel | 2023-03-19 | 1 | -1/+2 | |
| | ||||||
* | gh-102192: Replace PyErr_Fetch/Restore etc by more efficient alternatives ↵ | Irit Katriel | 2023-03-19 | 4 | -342/+334 | |
| | | | | (#102816) | |||||
* | Add more comments to hypot() (GH-102817) | Raymond Hettinger | 2023-03-18 | 1 | -18/+12 | |
| | ||||||
* | gh-102192: Replace PyErr_Fetch/Restore etc by more efficient alternatives ↵ | Irit Katriel | 2023-03-18 | 1 | -41/+26 | |
| | | | | (#102769) | |||||
* | gh-102778: Add sys.last_exc, deprecate sys.last_type, ↵ | Irit Katriel | 2023-03-18 | 22 | -36/+103 | |
| | | | | sys.last_value,sys.last_traceback (#102779) | |||||
* | gh-101975: Fixed a potential SegFault on garbage collection (GH-102803) | gaogaotiantian | 2023-03-18 | 2 | -0/+2 | |
| | ||||||
* | gh-102799: remove unnecessary calls to sys.exc_info() in tests (#102800) | Irit Katriel | 2023-03-18 | 5 | -124/+124 | |
| | ||||||
* | Simplify and improve accuracy for subnormals in hypot() (GH-102785) | Raymond Hettinger | 2023-03-17 | 1 | -35/+28 | |
| | ||||||
* | gh-102781: fix cwd dependence in cases generator (#102782) | Carl Meyer | 2023-03-17 | 1 | -1/+3 | |
| | ||||||
* | gh-102701: Fix overflow in dictobject.c (GH-102750) | Inada Naoki | 2023-03-17 | 3 | -1/+11 | |
| | ||||||
* | GH-78530: add support for generators in `asyncio.wait` (#102761) | Kumar Aditya | 2023-03-17 | 4 | -0/+24 | |
| | ||||||
* | Increase stack reserve size for Windows debug builds to avoid test crashes ↵ | Steve Dower | 2023-03-17 | 2 | -2/+3 | |
| | | | | (GH-102764) | |||||
* | gh-102755: Add PyErr_DisplayException(exc) (#102756) | Irit Katriel | 2023-03-16 | 13 | -78/+76 | |
| | ||||||
* | Fix outdated note about 'int' rounding or truncating (#102736) | Mark Dickinson | 2023-03-16 | 1 | -4/+3 | |
| | ||||||
* | gh-102192: Replace PyErr_Fetch/Restore etc by more efficient alternatives ↵ | Irit Katriel | 2023-03-16 | 1 | -9/+10 | |
| | | | | (#102760) | |||||
* | gh-99726: Improves correctness of stat results for Windows, and uses faster ↵ | Steve Dower | 2023-03-16 | 10 | -82/+446 | |
| | | | | | API when available (GH-102149) This deprecates `st_ctime` fields on Windows, with the intent to change them to contain the correct value in 3.14. For now, they should keep returning the creation time as they always have. | |||||
* | gh-102192: remove redundant exception fields from ssl module socket (#102466) | Irit Katriel | 2023-03-16 | 2 | -23/+12 | |
| | ||||||
* | gh-102192: Replace PyErr_Fetch/Restore etc by more efficient alternatives ↵ | Irit Katriel | 2023-03-16 | 1 | -44/+35 | |
| | | | | (#102743) | |||||
* | gh-102737: Un-ignore ceval.c in the CI globals check (gh-102745) | Eric Snow | 2023-03-16 | 2 | -7/+7 | |
| | | | | | The tool now allows user-added #LINE preprocessor directives. https://github.com/python/cpython/issues/102737 | |||||
* | GH-102748: remove legacy support for generator based coroutines from ↵ | Kumar Aditya | 2023-03-16 | 4 | -2/+14 | |
| | | | | | `asyncio.iscoroutine` (#102749) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | |||||
* | gh-102721: Improve coverage of `_collections_abc._CallableGenericAlias` ↵ | Nikita Sobolev | 2023-03-16 | 2 | -14/+32 | |
| | | | | | (#102722) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | |||||
* | GH-102653: Make recipe docstring show the correct distribution (#102742) | Raymond Hettinger | 2023-03-16 | 1 | -1/+2 | |
| | ||||||
* | Add comments to `{typing,_collections_abc}._type_repr` about each other ↵ | Nikita Sobolev | 2023-03-16 | 2 | -2/+4 | |
| | | | | | (#102752) Remove `if` condition in `_collections_abc._type_repr` that's no longer needed, bringing it in sync with `typing._type_repr`. | |||||
* | gh-102594: PyErr_SetObject adds note to exception raised on normalization ↵ | Irit Katriel | 2023-03-16 | 6 | -5/+96 | |
| | | | | error (#102675) | |||||
* | gh-94440: Fix issue of ProcessPoolExecutor shutdown hanging (#94468) | yonatanp | 2023-03-16 | 4 | -0/+36 | |
| | | | | | Fix an issue of concurrent.futures ProcessPoolExecutor shutdown hanging. Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | |||||
* | GH-100112: avoid using iterable coroutines in asyncio internally (#100128) | Kumar Aditya | 2023-03-16 | 3 | -16/+22 | |
| | ||||||
* | gh-102690: Use Edge as fallback in webbrowser instead of IE (#102691) | Jamoo721 | 2023-03-16 | 2 | -4/+9 | |
| | ||||||
* | gh-102660: Fix Refleaks in import.c (#102744) | Eric Snow | 2023-03-16 | 3 | -28/+28 | |
| | | | | | gh-102661 introduced some leaks. This fixes them. https://github.com/python/cpython/issues/102660 | |||||
* | gh-102738: remove from cases generator the code related to register ↵ | Irit Katriel | 2023-03-15 | 2 | -300/+234 | |
| | | | | instructions (#102739) | |||||
* | Simplify and speed-up math.hypot() and math.dist() (GH-102734) | Raymond Hettinger | 2023-03-15 | 1 | -154/+139 | |
| | ||||||
* | Fix typo in code comment (#102726) | Martin Breuss | 2023-03-15 | 1 | -1/+1 | |
| | ||||||
* | Exclude `ceval.c` from the C-analyzer tool (#102735) | Alex Waygood | 2023-03-15 | 1 | -0/+5 | |
| | | | | | | | | | | The "check if generated files are up to date" CI check appears to be currently failing on all PRs (but not on pushes to main) See, for example: - https://github.com/python/cpython/pull/94468 - https://github.com/python/cpython/pull/94468 - https://github.com/python/cpython/pull/102731 This appears to be because the C-analyzer tool doesn't like the `#line` directives introduced in https://github.com/python/cpython/commit/70185de1abfe428049a5c43d58fcb656b46db96c. I'm advised by the message printed to the terminal in https://github.com/python/cpython/actions/runs/4428706945/jobs/7768216988#step:14:84 that this is the appropriate short-term fix! | |||||
* | gh-102654: Insert #line directives in generated_cases.c.h (#102669) | Guido van Rossum | 2023-03-15 | 3 | -16/+530 | |
| | | | | | | | | | This behavior is optional, because in some extreme cases it may just make debugging harder. The tool defaults it to off, but it is on in Makefile.pre.in. Also note that this makes diffs to generated_cases.c.h noisier, since whenever you insert or delete a line in bytecodes.c, all subsequent #line directives will change. | |||||
* | gh-101100: Documenting --prefix and --exec-prefix. (GH-102695) | Julien Palard | 2023-03-15 | 5 | -8/+24 | |
| | | | | Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> | |||||
* | gh-102281: Fix potential nullptr dereference + use of uninitialized memory ↵ | Max Bachmann | 2023-03-15 | 3 | -2/+10 | |
| | | | | (gh-102282) | |||||
* | gh-102615: Use `list` instead of `tuple` in `repr` of paramspec (#102637) | Nikita Sobolev | 2023-03-15 | 3 | -3/+52 | |
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | |||||
* | Remove misformatted exclamation marks in docs (#102694) | Tom Levy | 2023-03-15 | 2 | -3/+3 | |
| | | | | | | | | | | | | | | | | | Remove the exclamation mark from :program:`!foo` in .rst files because it inadvertently shows up in the rendered HTML. (Sphinx's cross-referencing roles use a '!' prefix to suppress hyperlinking[1], but :program: is not a cross-referencing role so the '!' is displayed verbatim.) The exclamation marks in venv.rst were introduced in #98350. See comments [2] and [3] for additional discussion. [1]: https://www.sphinx-doc.org/en/master/usage/restructuredtext/roles.html#cross-referencing-syntax [2]: https://github.com/python/cpython/pull/98350#issuecomment-1285965759 [3]: https://github.com/python/cpython/pull/98350#issuecomment-1286394047 Reported-by: Vinay Sajip <vinay_sajip@yahoo.co.uk> | |||||
* | gh-101377: improving test_locale_calendar_formatweekday of calendar (#101378) | Andre Hora | 2023-03-15 | 2 | -2/+7 | |
| | | | | | | --------- Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> | |||||
* | gh-102560 Add docstrings to asyncio.TaskGroup (#102565) | JosephSBoyle | 2023-03-15 | 1 | -0/+18 | |
| | ||||||
* | gh-102519: Avoid failing tests due to inaccessible volumes (GH-102706) | Steve Dower | 2023-03-15 | 1 | -6/+11 | |
| | ||||||
* | gh-102703: Fix typo in modules tutorial documentation (GH-102707) | Robert Prater (B. Eng) | 2023-03-15 | 1 | -1/+1 | |
| | | | | | | | | | **Before** This prevents directories with a common name, such as ``string``, unintentionally hiding ... **After** This prevents directories with a common name, such as ``string``, from unintentionally hiding ... | |||||
* | gh-101578: mention in what's new in 3.12 that exceptions are now normalized ↵ | Irit Katriel | 2023-03-14 | 1 | -0/+5 | |
| | | | | before stored (#102702) | |||||
* | Rename redundant enum tests so that they run (#102535) | JosephSBoyle | 2023-03-14 | 1 | -3/+2 | |
| | ||||||
* | gh-102674: Remove _specialization_stats from Lib/opcode.py (#102685) | Dong-hee Na | 2023-03-14 | 2 | -10/+1 | |
| | | | It's not use except in a test, so move it there instead. | |||||
* | gh-102660: Handle m_copy Specially for the sys and builtins Modules (gh-102661) | Eric Snow | 2023-03-14 | 5 | -4/+44 | |
| | | | | | | | It doesn't make sense to use multi-phase init for these modules. Using a per-interpreter "m_copy" (instead of PyModuleDef.m_base.m_copy) makes this work okay. (This came up while working on gh-101660.) Note that we might instead end up disallowing re-load for sys/builtins since they are so special. https://github.com/python/cpython/issues/102660 | |||||
* | gh-102354: change python3 to python in docs examples (#102696) | Paul Watson | 2023-03-14 | 5 | -6/+6 | |
| | ||||||
* | gh-81057: Add a CI Check for New Unsupported C Global Variables (gh-102506) | Eric Snow | 2023-03-14 | 8 | -54/+90 | |
| | | | | | | | | | | | This will keep us from adding new unsupported (i.e. non-const) C global variables, which would break interpreter isolation. FYI, historically it is very uncommon for new global variables to get added. Furthermore, it is rare for new code to break the c-analyzer. So the check should almost always pass unnoticed. Note that I've removed test_check_c_globals. A test wasn't a great fit conceptually and was super slow on debug builds. A CI check is a better fit. This also resolves gh-100237. https://github.com/python/cpython/issues/81057 | |||||
* | GH-94851: check unicode consistency of static strings in debug mode (#102684) | Kumar Aditya | 2023-03-14 | 2 | -0/+665 | |
| |