Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | gh-111089: Use PyUnicode_AsUTF8() in sqlite3 (#111122) | Victor Stinner | 2023-10-20 | 1 | -6/+1 | |
| | | | | PyUnicode_AsUTF8() now raises an exception if the string contains embedded null characters. | |||||
* | gh-111126: Use `isinstance` instead of `assert[Not]IsInstance` in ↵ | Nikita Sobolev | 2023-10-20 | 1 | -4/+4 | |
| | | | | `test_typing` (#111127) | |||||
* | gh-111089: PyUnicode_AsUTF8AndSize() sets size on error (#111106) | Victor Stinner | 2023-10-20 | 3 | -4/+11 | |
| | | | | On error, PyUnicode_AsUTF8AndSize() now sets the size argument to -1, to avoid undefined value. | |||||
* | gh-111089: Add PyUnicode_AsUTF8() to the limited C API (#111121) | Victor Stinner | 2023-10-20 | 9 | -16/+23 | |
| | | | | | | | | Add PyUnicode_AsUTF8() function to the limited C API. multiprocessing posixshmem now uses PyUnicode_AsUTF8() instead of PyUnicode_AsUTF8AndSize(): the extension is built with the limited C API. The function now raises an exception if the filename contains an embedded null character instead of truncating silently the filename. | |||||
* | gh-111119: Fix flaky test test_lock_two_threads (gh-111124) | Sam Gross | 2023-10-20 | 1 | -4/+12 | |
| | ||||||
* | gh-110093: Partially revert previous change in socketmodule.c (GH-111120) | Serhiy Storchaka | 2023-10-20 | 1 | -1/+3 | |
| | ||||||
* | gh-111089: PyUnicode_AsUTF8() now raises on embedded NUL (#111091) | Victor Stinner | 2023-10-20 | 8 | -25/+49 | |
| | | | | | | | | | * PyUnicode_AsUTF8() now raises an exception if the string contains embedded null characters. * Update related C API tests (test_capi.test_unicode). * type_new_set_doc() uses PyUnicode_AsUTF8AndSize() to silently truncate doc containing null bytes. Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | |||||
* | gh-110093: Replace trivial Py_BuildValue() with direct C API call (GH-110094) | Serhiy Storchaka | 2023-10-20 | 13 | -32/+33 | |
| | ||||||
* | Synchronize test_contextlib with test_contextlib_async (GH-111000) | Serhiy Storchaka | 2023-10-20 | 1 | -0/+46 | |
| | ||||||
* | gh-110913: Fix WindowsConsoleIO chunking of UTF-8 text (GH-111007) | Tamás Hegedűs | 2023-10-20 | 2 | -16/+21 | |
| | ||||||
* | Add tests for failing PyUnicode_AsUTF8AndSize() with psize=NULL (GH-111100) | Serhiy Storchaka | 2023-10-20 | 1 | -0/+4 | |
| | ||||||
* | gh-101100: Fix Sphinx warnings in `library/tty.rst` (#111079) | Hugo van Kemenade | 2023-10-20 | 2 | -5/+14 | |
| | | | Fix Sphinx warnings in library/tty.rst | |||||
* | gh-111092: Make turtledemo run without default root enabled (#111093) | Terry Jan Reedy | 2023-10-20 | 2 | -1/+2 | |
| | | | | Add missing 'root' argument to PanedWindow call. Other root children already have it. | |||||
* | gh-85283: Build posixshmem extension with Limited C API (#111087) | Victor Stinner | 2023-10-19 | 4 | -104/+24 | |
| | | | | | | | Build the _multiprocessing.posixshmem extension with the Limited C API. * Add <errno.h> include. * Replace PyUnicode_AsUTF8() with PyUnicode_AsUTF8AndSize(). | |||||
* | gh-67565: Add tests for C-contiguity checks (GH-110951) | Furkan Onder | 2023-10-19 | 3 | -0/+29 | |
| | ||||||
* | Remove unnecessary while in SocketIO.readinto (GH-111057) | sc07kvm | 2023-10-19 | 1 | -10/+9 | |
| | | | It is unnecessary after removing "continue" in 6e6c59b (bpo-42357). | |||||
* | add 3.13 as an option on the bug form (#111083) | Ned Batchelder | 2023-10-19 | 1 | -0/+1 | |
| | ||||||
* | gh-109510: Clearly explain "Which Docstrings Are Examined" (#109696) | Unique-Usman | 2023-10-19 | 1 | -3/+24 | |
| | | | | | | | Co-authored-by: Mariatta <Mariatta@users.noreply.github.com> Co-authored-by: Jacob Coffee <jacob@z7x.org> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> | |||||
* | GH-101100: Fix reference warnings for ``__enter__`` and ``__exit__`` (#110112) | Adam Turner | 2023-10-19 | 11 | -58/+58 | |
| | ||||||
* | GH-101100: Fix reference warnings for ``__getitem__`` (#110118) | Adam Turner | 2023-10-19 | 20 | -38/+38 | |
| | ||||||
* | gh-101100: Fix sphinx warnings in `library/getpass.rst` (#110461) | Nikita Sobolev | 2023-10-19 | 2 | -2/+1 | |
| | ||||||
* | gh-76785: Make interpreters.*Channel Objects Shareable (gh-110607) | Eric Snow | 2023-10-19 | 3 | -2/+5 | |
| | | | This restores their shareability, which was disabled by gh-110318 due to ref leaks. | |||||
* | gh-76785: Add *Channel.is_closed (gh-110606) | Eric Snow | 2023-10-19 | 3 | -2/+302 | |
| | ||||||
* | gh-101100: Fix sphinx warnings in `library/codecs.rst` (#110979) | Nikita Sobolev | 2023-10-19 | 2 | -34/+36 | |
| | ||||||
* | gh-111031: Check more files in `test_tokenize` (#111032) | Nikita Sobolev | 2023-10-19 | 1 | -10/+0 | |
| | ||||||
* | gh-111050: IDLE - Simplify configdialog.HighPage.theme_elements (#111053) | Terry Jan Reedy | 2023-10-19 | 2 | -24/+22 | |
| | | | | | | Replace tuple value with internal name, removing numbers. Remove sorting of already ordered dislay names. Remove '[0]' indexing into now-gone tuple. | |||||
* | GH-103082: Clean up the sys.monitoring docs (GH-110532) | Tian Gao | 2023-10-18 | 2 | -101/+165 | |
| | ||||||
* | Fix a misspelling of Interpeter -> Interpreter (GH-111040) | Nikita Sobolev | 2023-10-18 | 2 | -2/+2 | |
| | ||||||
* | GH-104232: Fix statement about trace return values (GH-110516) | Tian Gao | 2023-10-18 | 1 | -3/+2 | |
| | ||||||
* | GH-102895 Add an option local_exit in code.interact to block exit() from ↵ | Tian Gao | 2023-10-18 | 5 | -33/+114 | |
| | | | | terminating the whole process (GH-102896) | |||||
* | gh-111015: Install IDLE.app and Python Launcher.app on macOS with correct ↵ | Joshua Root | 2023-10-18 | 3 | -0/+5 | |
| | | | | | permissions (gh-111016) Co-authored-by: Ned Deily <nad@python.org> | |||||
* | gh-100445: Improve error message for unterminated strings with escapes (#100446) | Shantanu | 2023-10-18 | 3 | -4/+25 | |
| | ||||||
* | gh-103737: IDLE - Remove unneeded .keys() for dict iteration (#110960) | Terry Jan Reedy | 2023-10-18 | 8 | -26/+28 | |
| | | | | | Add comments where .keys() is needed. Leave debugger usages along because situation is unclear as indicated in expanded comment. Most testing is manual. | |||||
* | gh-111019: Align expected and actual titles in test output (#111020) | James | 2023-10-18 | 2 | -10/+10 | |
| | | | | Align expected and actual titles in output from assert_has_calls/assert_called_with for greater readability | |||||
* | gh-108747: Add unit tests for site.{usercustomize,sitecustomize} hooks (#109470) | Charles Machalow | 2023-10-18 | 2 | -0/+40 | |
| | ||||||
* | gh-110938: More syntax tests for PEP695 funcs and classes (#110986) | Nikita Sobolev | 2023-10-18 | 1 | -0/+15 | |
| | ||||||
* | gh-109975: What's new in 3.13: longer full support (#110997) | Hugo van Kemenade | 2023-10-18 | 1 | -0/+5 | |
| | ||||||
* | gh-110961: Fixed asyncio.wait docstring to remove deprecated coroutine ↵ | Bar Harel | 2023-10-18 | 1 | -2/+0 | |
| | | | | | reference (#111017) Co-authored-by: Kumar Aditya <kumaraditya@python.org> | |||||
* | Regen Doc/requirements-oldest-sphinx.txt (#111012) | Victor Stinner | 2023-10-18 | 1 | -2/+1 | |
| | | | | Fix https://github.com/python/cpython/security/dependabot/4: use urllib3 version 2.0.7. | |||||
* | gh-76785: Clean Up the Channels Module (gh-110568) | Eric Snow | 2023-10-17 | 3 | -297/+335 | |
| | ||||||
* | gh-85283: Build _uuid extension with limited C API (#111010) | Victor Stinner | 2023-10-17 | 3 | -4/+7 | |
| | ||||||
* | gh-84570: Add Timeouts to SendChannel.send() and RecvChannel.recv() (gh-110567) | Eric Snow | 2023-10-17 | 8 | -47/+202 | |
| | ||||||
* | gh-85283: Build _scproxy extension with limited C API (#111008) | Victor Stinner | 2023-10-17 | 3 | -18/+16 | |
| | | | | * Replace Py_SETREF(v, NULL) with Py_CLEAR(v). * Reformat the code. | |||||
* | gh-84570: Send-Wait Fixes for _xxinterpchannels (gh-111006) | Eric Snow | 2023-10-17 | 5 | -148/+571 | |
| | | | | | There were a few things I did in gh-110565 that need to be fixed. I also forgot to add tests in that PR. (Note that this PR exposes a refleak introduced by gh-110246. I'll take care of that separately.) | |||||
* | gh-85283: Build resource extension with limited C API (#110989) | Victor Stinner | 2023-10-17 | 4 | -36/+38 | |
| | | | | | | * Replace PyStructSequence_SET_ITEM() with PyStructSequence_SetItem(). * Replace PyTuple_GET_SIZE() with PyTuple_Size(). * Replace PyTuple_GET_ITEM() with PyTuple_GetItem(). | |||||
* | gh-85283: Fix _ctypes_test build on Windows in release mode (#111005) | Victor Stinner | 2023-10-17 | 1 | -0/+7 | |
| | | | | Define Py_BUILD_CORE to not attempt to link the extension to python3.lib (which fails). | |||||
* | Add `.ruff_cache/` to `.gitignore` (#110983) | Nikita Sobolev | 2023-10-17 | 1 | -0/+1 | |
| | ||||||
* | gh-110995: Fix test_gdb check_usable_gdb() (#110998) | Victor Stinner | 2023-10-17 | 2 | -6/+13 | |
| | | | | | | | Fix detection of gdb built without Python scripting support. * check_usable_gdb() doesn't check gdb exit code when calling run_gdb(). * Use shutil.which() to get the path to the gdb program. | |||||
* | gh-109693: Remove pycore_atomic.h (gh-110992) | Donghee Na | 2023-10-17 | 8 | -564/+4 | |
| | ||||||
* | gh-85283: Add PySys_Audit() to the limited C API (#108571) | Victor Stinner | 2023-10-17 | 8 | -14/+37 | |
| | | | | | | | | | | The PySys_Audit() function was added in Python 3.8 by the PEP 578 "Python Runtime Audit Hooks". Add also PySys_AuditTuple() to the limited C API, function added to Python 3.13. Move non-limited "PerfMap" C API from Include/sysmodule.h to Include/cpython/sysmodule.h. |