summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* gh-108765: Include explicitly <unistd.h> in signalmodule.c (#111402)Victor Stinner2023-10-272-1/+5
| | | unistd.h is needed by alarm() and pause() functions.
* gh-111406: Fix broken link to bpython's site (#111407)Zack Cerza2023-10-271-1/+1
|
* Fix typos in import system docs (#111396)Jonathan Berthias2023-10-271-3/+3
|
* gh-111386: Fix `uint32_t` cast in `generated_cases.c.h` (#111387)Nikita Sobolev2023-10-272-2/+2
|
* gh-111388: Add `show_group` parameter to `traceback.format_exception_only` ↵Nikita Sobolev2023-10-274-8/+185
| | | | (#111390)
* gh-111276: Clarify docs and comments about the role of LC_CTYPE (#111319)Łukasz Langa2023-10-272-9/+12
| | | | | | | | Fix locale.LC_CTYPE documentation to no longer mention string.lower() et al. Those functions were removed in Python 3.0: https://docs.python.org/2/library/string.html#deprecated-string-functions Also, fix a comment in logging about locale-specific behavior of `str.lower()`. Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* no-issue: Remove unused variable in getpath.py (gh-111372)Satish Pokala2023-10-271-2/+0
|
* gh-89519: Remove classmethod descriptor chaining, deprecated since 3.11 ↵Raymond Hettinger2023-10-278-193/+25
| | | | (gh-110163)
* gh-111343: Fix `itertools` docs: `start` arg is optional for `count` (gh-111344)Nikita Sobolev2023-10-271-1/+1
|
* gh-109587: Allow "precompiled" perf-trampolines to largely mitigate the cost ↵gsallam2023-10-278-10/+199
| | | | of enabling perf-trampolines (#109666)
* gh-111380: Show SyntaxWarnings only once when parsing if invalid syntax is ↵Pablo Galindo Salgado2023-10-273-0/+19
| | | | encouintered (#111381)
* GH-94438: Fix RuntimeWarning for jump tests in test_sys_settrace (GH-111341)Tian Gao2023-10-261-2/+6
|
* GH-111293: Fix DirEntry.inode dropping higher bits on Windows (GH-111294)zcxsythenew2023-10-262-3/+4
|
* gh-111354: define names for RESUME oparg values (#111365)Irit Katriel2023-10-267-8/+16
|
* gh-111259: Optimize recursive wildcards in pathlib (GH-111303)Serhiy Storchaka2023-10-262-3/+4
| | | Regular expression pattern `(?s:.)` is much faster than `[\s\S]`.
* gh-109094: replace frame->prev_instr by frame->instr_ptr (#109095)Irit Katriel2023-10-2623-164/+249
|
* Output more details in the re tracing (GH-111357)Serhiy Storchaka2023-10-262-4/+42
|
* gh-111348: Fix direct invocation of `test_doctest`; remove ↵Nikita Sobolev2023-10-261-15/+1
| | | | | `test_doctest.test_coverage` (#111349) Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
* GH-111213: Fix a few broken stats (GH-111216)Mark Shannon2023-10-262-7/+19
|
* GH-111339: Change `valid` property of executors to `is_valid()` method ↵Mark Shannon2023-10-262-19/+19
| | | | (GH-111350)
* bpo-43950: handle wide unicode characters in tracebacks (#28150)Batuhan Taskaya2023-10-262-14/+98
|
* gh-67224: Show source lines in tracebacks when using the -c option when ↵Pablo Galindo Salgado2023-10-2613-36/+104
| | | | running Python (#111200)
* Docs: Add `restart_events()` and positional arg semantics for ↵Tian Gao2023-10-251-8/+13
| | | | | `sys.monitoring` (#111291) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-110679: Improved markup in enum.rst (GH-110747)Khalil Mouawad2023-10-251-15/+15
|
* gh-100762: Fix optimization in gen_close (#111069)Irit Katriel2023-10-253-8/+5
|
* gh-111165: Add missed "support." prefix for "verbose" (GH-111327)Serhiy Storchaka2023-10-251-1/+1
|
* gh-108590: Improve sqlite3 docs on encoding issues and how to handle those ↵Erlend E. Aasland2023-10-251-33/+50
| | | | | | | | | | | | (#108699) Add a guide for how to handle non-UTF-8 text encodings. Link to that guide from the 'text_factory' docs. Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Corvin <corvin@corvin.dev> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* gh-111187: Postpone removal version for locale.getdefaultlocale() to 3.15 ↵Hugo van Kemenade2023-10-256-11/+27
| | | | (#111188)
* gh-111230: Fix errors checking in _ssl module init (#111232)Nikita Sobolev2023-10-252-82/+72
| | | Introduce ADD_INT_CONST macro wrapper for PyModule_AddIntConstant()
* gh-111174: Fix crash in getbuffer() called repeatedly for empty BytesIO ↵Serhiy Storchaka2023-10-253-3/+20
| | | | (GH-111210)
* gh-111165: Move test running code from test.support to libregrtest (GH-111166)Serhiy Storchaka2023-10-2512-342/+266
| | | | Remove no longer used functions run_unittest() and run_doctest() from the test.support module.
* gh-106320: Re-add some PyLong/PyDict C-API functions (GH-#111162)scoder2023-10-2510-55/+44
| | | | | | | | * gh-106320: Re-add _PyLong_FromByteArray(), _PyLong_AsByteArray() and _PyLong_GCD() to the public header files since they are used by third-party packages and there is no efficient replacement. See https://github.com/python/cpython/issues/111140 See https://github.com/python/cpython/issues/111139 * gh-111262: Re-add _PyDict_Pop() to have a C-API until a new public one is designed.
* gh-111065: Add more tests for the C API with the PySys_ prefix (GH-111067)Serhiy Storchaka2023-10-258-72/+215
| | | | | | | * Move existing tests for PySys_GetObject() and PySys_SetObject() into specialized files. * Add test for PySys_GetXOptions() using _testcapi. * Add tests for PySys_FormatStdout(), PySys_FormatStderr(), PySys_WriteStdout() and PySys_WriteStderr() using ctypes.
* Bump test deps: `ruff` and `mypy` (#111288)Artyom Romanov2023-10-252-2/+2
|
* gh-111295: Fix error checking in time extension module init (#111296)Nikita Sobolev2023-10-252-10/+18
| | | Introduce ADD_INT macro wrapper for PyModule_AddIntConstant()
* gh-111233: Fix error checking in select extension module init (#111234)Nikita Sobolev2023-10-252-66/+85
| | | Introduce ADD_INT macro wrapper for PyModule_AddIntConstant()
* gh-111253: Fix error checking in _socket module init (#111254)Nikita Sobolev2023-10-252-2/+3
|
* gh-111251: Fix error checking in _blake2 module init (#111252)Nikita Sobolev2023-10-252-8/+18
| | | Introduce ADD_INT_CONST macro wrapper for PyModule_AddIntConstant()
* gh-57129: Add test for inspect.getsource in the REPL (#111197)Pablo Galindo Salgado2023-10-251-1/+64
|
* Fix first parameter name in `tool` functions from `sys.monitoring` (#111286)Pavel Karateev2023-10-241-9/+9
|
* gh-102956: Fix returning of empty byte strings after seek in zipfile … ↵Jokimax2023-10-243-5/+22
| | | | | (#103565) gh-102956: Fix returning of empty byte strings after seek in zipfile module. This was a regression in 3.12.0 due to a performance enhancement.
* GH-109214: _SET_IP before _PUSH_FRAME (but not _POP_FRAME) (GH-111001)Brandt Bucher2023-10-245-44/+28
|
* GH-111182: Update EnumType.__contains__ docs (GH-111184)InSync2023-10-241-3/+4
|
* gh-109017: Use non alternate name for Kyiv (GH-109251)Jochen Sprickerhof2023-10-241-7/+4
| | | | | | | | | | | | tzdata provides Kiev as an alternative to Kyiv: https://sources.debian.org/src/tzdata/2023c-10/backward/?hl=314#L314 But Debian moved it to the tzdata-legacy package breaking the test: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1050530 This patch switches to the name provided by tzdata. Also check that the new name is actually available.
* Revert "Fix a code snippet typo in asyncio docs (#108427)" (GH-111271)Zachary Ware2023-10-241-1/+1
| | | | | | | | | This reverts commit 7f316763402a7d5556deecc3acd06cb719e189b3. The change resulted in a tautology and should not have been made. There may be an opportunity for additional clarity in this section, but this change wasn't it :) Ref: https://github.com/python/cpython/pull/108427#issuecomment-1777525740
* gh-111151: Convert monospaced directives to :ref: (#111152)InSync2023-10-243-8/+20
|
* gh-75666: Tkinter: add tests for binding (GH-111202)Serhiy Storchaka2023-10-241-0/+307
|
* gh-97928: Change the behavior of tkinter.Text.count() (GH-98484)Serhiy Storchaka2023-10-245-55/+53
| | | | | | | It now always returns an integer if one or less counting options are specified. Previously it could return a single count as a 1-tuple, an integer (only if option "update" was specified) or None if no items found. The result is now the same if wantobjects is set to 0.
* gh-110019: Refactor summarize_stats (GH-110398)Michael Droettboom2023-10-241-791/+1041
|
* Fix typo in sys docs (#111196)James Tocknell2023-10-241-1/+1
| | | | Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>