Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | gh-92812: Align ArgumentParser.add_subparsers() docs with argument spec (#92814) | 180909 | 2022-05-18 | 1 | -1/+1 | |
| | ||||||
* | Split refcount stats into 'interpreter' and 'non-interpreter' (GH-92919) | Mark Shannon | 2022-05-18 | 6 | -0/+24 | |
| | ||||||
* | Remove Windows release build script (GH-92908) | Steve Dower | 2022-05-18 | 22 | -1921/+0 | |
| | | | The scripts have been migrated to the release-tools repository | |||||
* | bpo-42047: Add native thread ID for DragonFlyBSD (#22714) | David CARLIER | 2022-05-18 | 5 | -3/+11 | |
| | | | | | | Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: kj <28750310+Fidget-Spinner@users.noreply.github.com> Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com> Co-authored-by: Victor Stinner <vstinner@python.org> | |||||
* | gh-91755: Remove doc of C API private refcount functions (#92918) | Victor Stinner | 2022-05-18 | 1 | -6/+0 | |
| | | | These functions should only be used by Python internals. | |||||
* | gh-92780: Improve sqlite3.Connection.create_collation docs (#92790) | Erlend Egeberg Aasland | 2022-05-18 | 1 | -11/+8 | |
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | |||||
* | gh-91755: Document Py_IncRef and Py_DecRef as C functions (#91805) | Charlie Zhao | 2022-05-18 | 1 | -4/+10 | |
| | | | | Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | |||||
* | bpo-40838: document `getdoc`, `getmodule`, `getsourcefile` in `inspect` ↵ | Nikita Sobolev | 2022-05-18 | 2 | -2/+7 | |
| | | | | | | returns `None` (#30575) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | |||||
* | gh-92841: Fix asyncio's RuntimeError: Event loop is closed (GH-92842) | Oleg Iarygin | 2022-05-17 | 2 | -1/+3 | |
| | ||||||
* | bpo-38704: Prevent installation on unsupported Windows versions (GH-17950) | Zackery Spytz | 2022-05-17 | 2 | -1/+1 | |
| | ||||||
* | gh-89898: Fix test_threading.test_args_argument() (#92885) | Victor Stinner | 2022-05-17 | 1 | -0/+1 | |
| | | | | | | | | | | | | | Join the thread to not leak threads running in the background to the next test. Fix the following warning on the "AMD64 FreeBSD Shared 3.11" buildbot: test_args_argument (test.test_threading.ThreadTests.test_args_argument) ... Warning -- threading_cleanup() failed to cleanup 1 threads (count: 1, dangling: 2) Warning -- Dangling thread: <_MainThread(MainThread, started 35026161664)> Warning -- Dangling thread: <Thread(Thread-134 (<lambda>), started 35314998016)> ok | |||||
* | gh-89653: Add assertions on PyUnicode_READ() index (#92883) | Victor Stinner | 2022-05-17 | 1 | -1/+9 | |
| | | | | Add assertions on the index argument of PyUnicode_READ(), PyUnicode_READ_CHAR() and PyUnicode_WRITE() functions. | |||||
* | gh-89653: PEP 670: Fix PyUnicode_READ() cast (#92872) | Victor Stinner | 2022-05-17 | 2 | -1/+33 | |
| | | | | _Py_CAST() cannot be used with a constant type: use _Py_STATIC_CAST() instead. | |||||
* | Fix NULL check in test_type_from_ephemeral_spec in_testcapimodule.c (GH-92863) | Dennis Sweeney | 2022-05-17 | 1 | -1/+1 | |
| | ||||||
* | gh-92536: Update unicode struct size to ensure MemoryError is raised (GH-92867) | Dennis Sweeney | 2022-05-17 | 1 | -10/+6 | |
| | ||||||
* | gh-92782: unify the style of CFG traversal algorithms in the compiler (GH-92784) | Irit Katriel | 2022-05-17 | 1 | -38/+45 | |
| | ||||||
* | Summarize stats: Increase number of predecessor/successor pairs shown from 3 ↵ | Mark Shannon | 2022-05-17 | 1 | -3/+3 | |
| | | | | to 5. (GH-92853) | |||||
* | Fix NULL test in _testinternalcapi (GH-92861) | Dennis Sweeney | 2022-05-17 | 1 | -1/+1 | |
| | ||||||
* | re docs: fix source code link (#92819) | 谭九鼎 | 2022-05-17 | 1 | -1/+1 | |
| | ||||||
* | gh-92265: set meta_path and path_hooks correctly in ↵ | Filipe Laíns | 2022-05-16 | 1 | -1/+2 | |
| | | | | | | | | test_reload_namespace_changed (GH-92275) Previously, we were blocking the frozen imports and forcing the source version to be used, but we did not fix up sys.meta_path or sys.path_hooks, causing the frozen importers to leak into the source version of the test. | |||||
* | gh-92547: Remove deprecated sqlite3 features (#92548) | Erlend Egeberg Aasland | 2022-05-16 | 8 | -121/+16 | |
| | | | | | | | | | | The following sqlite3 features were deprecated in 3.10, scheduled for removal in 3.12: - sqlite3.OptimizedUnicode (gh-23163) - sqlite3.enable_shared_cache (gh-24008) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Signed-off-by: Erlend E. Aasland <erlend.aasland@protonmail.com> | |||||
* | gh-90473: Skip tests that don't apply to Emscripten and WASI (GH-92846) | Christian Heimes | 2022-05-16 | 14 | -24/+49 | |
| | ||||||
* | Improve object stats (#92845) | Mark Shannon | 2022-05-16 | 10 | -55/+106 | |
| | | | | | * Add incref/decref stats * Show ratios for allocation in summary | |||||
* | gh-92671: Don't omit parentheses when unparsing empty tuples (GH-92673) | Batuhan Taskaya | 2022-05-16 | 3 | -1/+9 | |
| | ||||||
* | gh-92820: Skip test_cppext if _ctypes is missing (#92844) | Victor Stinner | 2022-05-16 | 3 | -4/+22 | |
| | | | Add @test.support.requires_venv_with_pip decorator. | |||||
* | Speedup: build docs in parallel (GH-92733) | Hugo van Kemenade | 2022-05-16 | 2 | -4/+4 | |
| | ||||||
* | gh-81548: Clarify the deprecation of octal sequences affect byte strings ↵ | Pablo Galindo Salgado | 2022-05-16 | 1 | -2/+2 | |
| | | | | | (GH-92643) Automerge-Triggered-By: GH:pablogsal | |||||
* | gh-90473: WASI: Mark tests that require os.pipe() (GH-92837) | Christian Heimes | 2022-05-16 | 4 | -0/+14 | |
| | ||||||
* | gh-87670: Add web.archive redirects from effbot (GH-92816) | Stanley | 2022-05-16 | 3 | -4/+5 | |
| | ||||||
* | gh-92530: Fix an issue that occurred after interrupting ↵ | Serhiy Storchaka | 2022-05-16 | 2 | -7/+16 | |
| | | | | | | | | threading.Condition.notify (GH-92534) If Condition.notify() was interrupted just after it released the waiter lock, but before removing it from the queue, the following calls of notify() failed with RuntimeError: cannot release un-acquired lock. | |||||
* | Restore default role check in `make check`. (#92290) | Ezio Melotti | 2022-05-15 | 4 | -6/+11 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | * Restore default role check in `make check`. * Options first, then files. * Update `make.bat` too. * Add a comment explaining the extra options. * No reason to ignore the README.rst. * Enable default-role check in sphinx-lint. Co-authored-by: Julien Palard <julien@palard.fr> * Update sphinx-lint default-role check. * Fix use of the default role in the docs. * Update make.bat to check for the default role too. * Fix comment in make.bat. Co-authored-by: Julien Palard <julien@palard.fr> | |||||
* | gh-89668: Optimize ZipFile file header processing algorithm to avoid ↵ | Jan Wolski | 2022-05-15 | 1 | -1/+1 | |
| | | | | unneeded IO(gh-25966) | |||||
* | gh-92781: Avoid mixing declarations and code in C API (#92783) | Victor Stinner | 2022-05-15 | 6 | -11/+20 | |
| | | | | | Avoid mixing declarations and code in the C API to fix the compiler warning: "ISO C90 forbids mixed declarations and code" [-Werror=declaration-after-statement]. | |||||
* | gh-90473: Fail subprocess early on Emscripten/WASI (GH-92802) | Christian Heimes | 2022-05-14 | 2 | -6/+13 | |
| | ||||||
* | GH-92804: Fix memory leak in memoryview iterator (gh-92805) | Kumar Aditya | 2022-05-14 | 3 | -3/+6 | |
| | ||||||
* | gh-90861: Memory optimization for set.issubset (gh-92799) | Dong-hee Na | 2022-05-14 | 1 | -5/+5 | |
| | ||||||
* | gh-92611: Link to PEP 594 sections & add key detail in doc deprecation ↵ | CAM Gerlach | 2022-05-13 | 21 | -22/+46 | |
| | | | | notices (GH-92612) | |||||
* | Fix numbers.Real.__rdivmod__ doc string (#31991) | Géry Ogam | 2022-05-13 | 1 | -3/+3 | |
| | ||||||
* | gh-91249: Remove .bat extension in documentation for when activating venv on ↵ | yashlad681 | 2022-05-13 | 1 | -1/+1 | |
| | | | | Windows. (GH-92770) | |||||
* | bpo-9182: Add a section on specifying positional arguments (#31810) | slateny | 2022-05-13 | 2 | -2/+34 | |
| | ||||||
* | Fix small typo (#92721) | Gabi Nagy | 2022-05-13 | 1 | -1/+1 | |
| | ||||||
* | gh-92446: Argparse choices should be a sequence (#92450) | 180909 | 2022-05-13 | 1 | -1/+1 | |
| | ||||||
* | Document Py_ssize_t. (GH-92512) | Julien Palard | 2022-05-13 | 10 | -24/+31 | |
| | | | | | | It fixes 252 errors from a Sphinx nitpicky run (sphinx-build -n). But there's 8182 errors left. Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> | |||||
* | gh-85858: Remove PyUnicode_InternImmortal() function (#92579) | Victor Stinner | 2022-05-13 | 7 | -67/+27 | |
| | | | | | | | | | | | | | | | | | Remove the PyUnicode_InternImmortal() function and the SSTATE_INTERNED_IMMORTAL macro. The PyUnicode_InternImmortal() function is still exported in the stable ABI. The function is removed from the API. PyASCIIObject.state.interned size is now a single bit, rather than 2 bits. Keep SSTATE_NOT_INTERNED and SSTATE_INTERNED_MORTAL macros for backward compatibility, but no longer use them internally since the interned member is now a single bit and so can only have two values (interned or not interned). Update stats of _PyUnicode_ClearInterned(). | |||||
* | gh-89653: Use int type for Unicode kind (#92704) | Victor Stinner | 2022-05-13 | 13 | -52/+49 | |
| | | | | Use the same type that PyUnicode_FromKindAndData() kind parameter type (public C API): int. | |||||
* | GH-92236: Remove spurious "line" event when starting coroutine or generator. ↵ | Mark Shannon | 2022-05-13 | 4 | -0/+107 | |
| | | | | (GH-92722) | |||||
* | gh-89653: PEP 670: Convert PyUnicode_KIND() macro to function (#92705) | Victor Stinner | 2022-05-13 | 3 | -10/+21 | |
| | | | | | | | | In the limited C API version 3.12, PyUnicode_KIND() is now implemented as a static inline function. Keep the macro for the regular C API and for the limited C API version 3.11 and older to prevent introducing new compiler warnings. Update _decimal.c and stringlib/eq.h for PyUnicode_KIND(). | |||||
* | gh-90473: Increase stack size, disable obmalloc on WASI (GH-92732) | Christian Heimes | 2022-05-13 | 5 | -10/+44 | |
| | ||||||
* | gh-92536: Doc update about Py_UNICODE removal (GH-92756) | Inada Naoki | 2022-05-13 | 2 | -3/+3 | |
| | ||||||
* | gh-92584: test_cppext uses setuptools (#92639) | Victor Stinner | 2022-05-12 | 2 | -67/+77 | |
| | | | | Rewrite test_cppext to run in a virtual environment and to build the C++ extension with setuptools rather than distutils. |