summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* gh-102828: add onexc arg to shutil.rmtree. Deprecate onerror. (#102829)Irit Katriel2023-03-195-56/+256
|
* gh-102778: revert changes to idlelib (#102825)Irit Katriel2023-03-194-24/+9
|
* gh-102755: fix refleak (#102826)Irit Katriel2023-03-191-1/+2
|
* gh-102192: Replace PyErr_Fetch/Restore etc by more efficient alternatives ↵Irit Katriel2023-03-194-342/+334
| | | | (#102816)
* Add more comments to hypot() (GH-102817)Raymond Hettinger2023-03-181-18/+12
|
* gh-102192: Replace PyErr_Fetch/Restore etc by more efficient alternatives ↵Irit Katriel2023-03-181-41/+26
| | | | (#102769)
* gh-102778: Add sys.last_exc, deprecate sys.last_type, ↵Irit Katriel2023-03-1822-36/+103
| | | | sys.last_value,sys.last_traceback (#102779)
* gh-101975: Fixed a potential SegFault on garbage collection (GH-102803)gaogaotiantian2023-03-182-0/+2
|
* gh-102799: remove unnecessary calls to sys.exc_info() in tests (#102800)Irit Katriel2023-03-185-124/+124
|
* Simplify and improve accuracy for subnormals in hypot() (GH-102785)Raymond Hettinger2023-03-171-35/+28
|
* gh-102781: fix cwd dependence in cases generator (#102782)Carl Meyer2023-03-171-1/+3
|
* gh-102701: Fix overflow in dictobject.c (GH-102750)Inada Naoki2023-03-173-1/+11
|
* GH-78530: add support for generators in `asyncio.wait` (#102761)Kumar Aditya2023-03-174-0/+24
|
* Increase stack reserve size for Windows debug builds to avoid test crashes ↵Steve Dower2023-03-172-2/+3
| | | | (GH-102764)
* gh-102755: Add PyErr_DisplayException(exc) (#102756)Irit Katriel2023-03-1613-78/+76
|
* Fix outdated note about 'int' rounding or truncating (#102736)Mark Dickinson2023-03-161-4/+3
|
* gh-102192: Replace PyErr_Fetch/Restore etc by more efficient alternatives ↵Irit Katriel2023-03-161-9/+10
| | | | (#102760)
* gh-99726: Improves correctness of stat results for Windows, and uses faster ↵Steve Dower2023-03-1610-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 Katriel2023-03-162-23/+12
|
* gh-102192: Replace PyErr_Fetch/Restore etc by more efficient alternatives ↵Irit Katriel2023-03-161-44/+35
| | | | (#102743)
* gh-102737: Un-ignore ceval.c in the CI globals check (gh-102745)Eric Snow2023-03-162-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 Aditya2023-03-164-2/+14
| | | | | `asyncio.iscoroutine` (#102749) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-102721: Improve coverage of `_collections_abc._CallableGenericAlias` ↵Nikita Sobolev2023-03-162-14/+32
| | | | | (#102722) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* GH-102653: Make recipe docstring show the correct distribution (#102742)Raymond Hettinger2023-03-161-1/+2
|
* Add comments to `{typing,_collections_abc}._type_repr` about each other ↵Nikita Sobolev2023-03-162-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 Katriel2023-03-166-5/+96
| | | | error (#102675)
* gh-94440: Fix issue of ProcessPoolExecutor shutdown hanging (#94468)yonatanp2023-03-164-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 Aditya2023-03-163-16/+22
|
* gh-102690: Use Edge as fallback in webbrowser instead of IE (#102691)Jamoo7212023-03-162-4/+9
|
* gh-102660: Fix Refleaks in import.c (#102744)Eric Snow2023-03-163-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 Katriel2023-03-152-300/+234
| | | | instructions (#102739)
* Simplify and speed-up math.hypot() and math.dist() (GH-102734)Raymond Hettinger2023-03-151-154/+139
|
* Fix typo in code comment (#102726)Martin Breuss2023-03-151-1/+1
|
* Exclude `ceval.c` from the C-analyzer tool (#102735)Alex Waygood2023-03-151-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 Rossum2023-03-153-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 Palard2023-03-155-8/+24
| | | | Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* gh-102281: Fix potential nullptr dereference + use of uninitialized memory ↵Max Bachmann2023-03-153-2/+10
| | | | (gh-102282)
* gh-102615: Use `list` instead of `tuple` in `repr` of paramspec (#102637)Nikita Sobolev2023-03-153-3/+52
| | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* Remove misformatted exclamation marks in docs (#102694)Tom Levy2023-03-152-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 Hora2023-03-152-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)JosephSBoyle2023-03-151-0/+18
|
* gh-102519: Avoid failing tests due to inaccessible volumes (GH-102706)Steve Dower2023-03-151-6/+11
|
* gh-102703: Fix typo in modules tutorial documentation (GH-102707)Robert Prater (B. Eng)2023-03-151-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 Katriel2023-03-141-0/+5
| | | | before stored (#102702)
* Rename redundant enum tests so that they run (#102535)JosephSBoyle2023-03-141-3/+2
|
* gh-102674: Remove _specialization_stats from Lib/opcode.py (#102685)Dong-hee Na2023-03-142-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 Snow2023-03-145-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 Watson2023-03-145-6/+6
|
* gh-81057: Add a CI Check for New Unsupported C Global Variables (gh-102506)Eric Snow2023-03-148-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 Aditya2023-03-142-0/+665
|