summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>
* GH-94438: Restore ability to jump over None tests (GH-111237)Savannah Ostrowski2023-10-244-0/+38
|
* gh-110572: Remove `test_*` from `_testcapi/getargs.c` (GH-111214)Nikita Sobolev2023-10-244-214/+25
|
* gh-109894: Fix initialization of static `MemoryError` in subinterpreter ↵Radislav Chugunov2023-10-234-4/+16
| | | | | | | | | | | | (gh-110911) Fixes #109894 * set `interp.static_objects.last_resort_memory_error.args` to empty tuple to avoid crash on `PyErr_Display()` call * allow `_PyExc_InitGlobalObjects()` to be called on subinterpreter init --------- Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
* gh-101100: Fix Sphinx warnings for `fileno` (#111118)Hugo van Kemenade2023-10-238-13/+49
|
* Add a version added note for PY_VECTORCALL_ARGUMENTS_OFFSET (#110963)Anthony Shaw2023-10-231-0/+2
|
* typo: missing line of output in pull parser example (#111068)Don Patterson2023-10-231-0/+1
|
* Fix typo in 3.13's whatsnew (#111215)Pablo Martí Gamboa2023-10-231-1/+1
|
* gh-105931: Fix surprising compileall stripdir behaviour (GH-108671)hetmankp2023-10-233-6/+37
| | | | | | | | | | | | | | | | Before, the '-s STRIPDIR' option on compileall lead to some surprising results as it only strips away path components that match, but leaves alone the non-matching ones interspersed in between. For example, with: python -m compileall -s/path/to/another/src /path/to/build/src/file.py The resulting written path will be: build/file.py This fix only strips directories that are a fully matching prefix of the source path. If a stripdir is provided that is not a valid prefix, a warning will be displayed (which can be silenced with '-qq').
* GH-109369: Add machinery for deoptimizing tier2 executors, both individually ↵Mark Shannon2023-10-237-2/+353
| | | | and globally. (GH-110384)
* gh-67565: Remove redundant C-contiguity checks (GH-105521)Furkan Onder2023-10-2330-464/+36
| | | | Co-authored-by: Stefan Krah <skrah@bytereef.org>
* gh-110383: Italicize variable name (#111206)Nick2023-10-231-1/+1
|
* gh-110383: Added explanation about simplest regex use case for quantifiers. ↵Nick2023-10-231-0/+3
| | | | | | (#111110) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* gh-110828: AIX 32bit build needs -latomic for _testcapi module (#110962)Ayappan Perumal2023-10-223-3/+9
|
* gh-110196: Fix ipaddress.IPv6Address.__reduce__ (GH-110198)Tian Gao2023-10-223-0/+11
|
* gh-109975: What's new in 3.13: Add module headers to removals and sort (#110994)Hugo van Kemenade2023-10-221-66/+107
|
* gh-101100: Fix sphinx warnings in `library/asyncio-dev.rst` (GH-111179)Nikita Sobolev2023-10-222-4/+11
| | | | | | | | | | | * gh-101100: Fix sphinx warnings in `library/asyncio-dev.rst` * Update Doc/library/asyncio-eventloop.rst * Update Doc/library/asyncio-eventloop.rst --------- Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
* gh-101100: Fix Sphinx warning in `tutorial/introduction.rst` (#111173)Maciej Olko2023-10-222-2/+1
|