Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | gh-85283: Build winsound extension with limited C API (#110978) | Victor Stinner | 2023-10-17 | 8 | -151/+30 |
| | | | Replace type->tp_name with PyType_GetQualName(). | ||||
* | gh-107457: update dis documentation with changes in 3.12 (#108900) | Matthieu Dartiailh | 2023-10-17 | 1 | -16/+43 |
| | |||||
* | gh-110938: Fix error messages for indented blocks with functions and classes ↵ | Pablo Galindo Salgado | 2023-10-17 | 4 | -22/+46 |
| | | | | with generic type parameters (#110973) | ||||
* | gh-110964: Remove private _PyArg functions (#110966) | Victor Stinner | 2023-10-17 | 166 | -228/+510 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the following private functions and structures to pycore_modsupport.h internal C API: * _PyArg_BadArgument() * _PyArg_CheckPositional() * _PyArg_NoKeywords() * _PyArg_NoPositional() * _PyArg_ParseStack() * _PyArg_ParseStackAndKeywords() * _PyArg_Parser structure * _PyArg_UnpackKeywords() * _PyArg_UnpackKeywordsWithVararg() * _PyArg_UnpackStack() * _Py_ANY_VARARGS() Changes: * Python/getargs.h now includes pycore_modsupport.h to export functions. * clinic.py now adds pycore_modsupport.h when one of these functions is used. * Add pycore_modsupport.h includes when a C extension uses one of these functions. * Define Py_BUILD_CORE_MODULE in C extensions which now include directly or indirectly (via code generated by Argument Clinic) pycore_modsupport.h: * _csv * _curses_panel * _dbm * _gdbm * _multiprocessing.posixshmem * _sqlite.row * _statistics * grp * resource * syslog * _testcapi: bad_get() no longer uses METH_FASTCALL calling convention but METH_VARARGS. Replace _PyArg_UnpackStack() with PyArg_ParseTuple(). * _testcapi: add PYTESTCAPI_NEED_INTERNAL_API macro which is defined by _testcapi sub-modules which need the internal C API (pycore_modsupport.h): exceptions.c, float.c, vectorcall.c, watchers.c. * Remove Include/cpython/modsupport.h header file. Include/modsupport.h no longer includes the removed header file. * Fix mypy clinic.py |