Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-90473: WASI: skip gethostname tests (GH-93092) | Christian Heimes | 2022-05-23 | 9 | -0/+30 |
| | | | | | | - WASI's ``gethostname()`` is a stub that always fails with OSError ``ENOTSUP`` - skip mailcap ``test`` if subprocess is not available - WASI process_time clock does not work. | ||||
* | gh-89158: Add some REPL secondary prompt markers (#93073) | Nicolas Haller | 2022-05-23 | 1 | -3/+3 |
| | | | | This fixes an issue on tutorial/classes.rst section 9.4 where the example "class Warehouse" was truncated when pressing the >>> button to hide the prompts and output. | ||||
* | gh-91061: also accept pathlib.Path for winsound.PlaySound (#91489) | Mori Bellamy | 2022-05-23 | 3 | -7/+38 |
| | | | | | Fixes #91061 Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | ||||
* | gh-92994: Clarify importlib "check" example (#92995) | Shantanu | 2022-05-23 | 1 | -0/+3 |
| | | | Fixes #92994 | ||||
* | gh-73137: Added sub-subsection headers for flags in re (#93000) | Stanley | 2022-05-23 | 1 | -30/+42 |
| | | | Fixes #73137 | ||||
* | binascii docs: strict_mode parameter is keyword-only (#93055) | Jelle Zijlstra | 2022-05-23 | 1 | -1/+1 |
| | | | | | See https://github.com/python/cpython/commit/35b98e38b6edd63153fc8e092f94cb20725dacc1 Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> | ||||
* | termios docs: fix indentation (#93080) | Jelle Zijlstra | 2022-05-22 | 1 | -5/+5 |
| | |||||
* | Clean up the sqlite3 tests (GH-93056) | Serhiy Storchaka | 2022-05-21 | 2 | -33/+23 |
| | | | | Remove helper managed_connect(). Use memory_database() or contextlib.closing() + addCleanup(unlink) instead. | ||||
* | gh-91362: reword pickle docs to account for nested classes (#92429) | Shantanu | 2022-05-21 | 1 | -6/+6 |
| | | | Fixes #91362 | ||||
* | Improve tests for opening Sqlite by URI (GH-93047) | Serhiy Storchaka | 2022-05-21 | 1 | -5/+42 |
| | | | | * Test with with escaped non-ascii characters * Test read-only open of existing DB. | ||||
* | GH-92898: Make _Py_Cast C++ version compatible with cast operator (gh-92951) | serge-sans-paille | 2022-05-21 | 2 | -2/+35 |
| | |||||
* | gh-93044: No longer convert the database argument of sqlite3.connect() to ↵ | Serhiy Storchaka | 2022-05-21 | 4 | -7/+19 |
| | | | | | bytes (GH-93046) Just pass it to the factory as is. | ||||
* | ci: add GitHub token permissions (#92999) | Varun Sharma | 2022-05-21 | 4 | -1/+13 |
| | |||||
* | gh-71223: Improve rendering of some references in the docs (GH-93041) | Serhiy Storchaka | 2022-05-21 | 7 | -9/+16 |
| | | | | For example, instead of "eval()uated" (link from "eval()") show "evaluated" (link from the whole word). | ||||
* | gh-93019: Fix markup in zipfile.rst (#93025) | Shantanu | 2022-05-21 | 1 | -1/+1 |
| | | | Fixes #93019 | ||||
* | Take advantage of math.comb() in the nth_combination() recipe (#93027) | Raymond Hettinger | 2022-05-20 | 1 | -6/+2 |
| | |||||
* | Fix a directive in the `pathlib` docs (GH-93030) | Brett Cannon | 2022-05-20 | 1 | -1/+1 |
| | |||||
* | gh-72073: Add Windows case in pathlib.rename (GH-93002) | Stanley | 2022-05-20 | 1 | -2/+3 |
| | | | | | #72073 https://docs.python.org/3.12/library/pathlib.html#pathlib.Path.rename | ||||
* | gh-92611: Clarify planned removal version in PEP 594-deprecated modules ↵ | CAM Gerlach | 2022-05-20 | 22 | -25/+25 |
| | | | | | | | (GH-92793) As discussed in #92611 and #92564 and as a followup to PR #92612 , this 3.11+ only PR uses the proper `deprecated-removed` role for the modules deprecated by PEP 593 (PEP-594) to clearly indicate to users that a removal version is planned and what it is, so they can prepare accordingly or voice any unanticipated impacts. Related to #92792 ; if we decide to backport that PR, the upgrade to using `deprecated-removed` on those functions can be moved to this one. | ||||
* | shutil._copyfileobj_readinto: tiny speedup (#92377) | Lucinda May Phipps | 2022-05-20 | 1 | -1/+2 |
| | |||||
* | gh-91860: documentation for typing.dataclass_transform (#92768) | Shantanu | 2022-05-20 | 3 | -12/+84 |
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | ||||
* | gh-91922: Fix sqlite connection on nonstardard locales and paths (GH-92926) | Serhiy Storchaka | 2022-05-20 | 4 | -64/+40 |
| | |||||
* | Doc: add missing manpage and title references in tkinter docs (#29008) | Rafael Fontenelle | 2022-05-20 | 1 | -2/+3 |
| | | | | - add bind(3tk) manpage markup - add Tcl/Tk book reference markup | ||||
* | Doc: Minor adjustment of `socket.create_server` docs (#26938) | Pavel | 2022-05-20 | 2 | -1/+2 |
| | | | | - fix spelling in create_server() docs - add a line about create_server() in the socket.py docstring | ||||
* | Update globals-to-fix.tsv to follow recent changes (gh-92959) | Dong-hee Na | 2022-05-20 | 1 | -3/+4 |
| | |||||
* | gh-92817: Fix precedence of options to py.exe launcher (GH-92988) | Steve Dower | 2022-05-19 | 3 | -11/+49 |
| | |||||
* | gh-92984: Explicitly disable incremental linking for Windows Release and PGO ↵ | David Machaj | 2022-05-19 | 2 | -0/+2 |
| | | | | builds (GH-92985) | ||||
* | gh-92913: Clarify changes to PyInitConfig.module_search_paths[_set] fields ↵ | Steve Dower | 2022-05-19 | 5 | -8/+39 |
| | | | | (GH-92980) | ||||
* | GH-89914: Make the oparg of the YIELD_VALUE instruction equal the stack ↵ | Mark Shannon | 2022-05-19 | 9 | -26/+35 |
| | | | | depth. (GH-92960) | ||||
* | gh-92417: `importlib` docs: remove references to unsupported Python versions ↵ | Alex Waygood | 2022-05-19 | 2 | -10/+7 |
| | | | | | (GH-92424) Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM> | ||||
* | bpo-28249: fix `lineno` location for empty `DocTest` instances (GH-30498) | Nikita Sobolev | 2022-05-19 | 4 | -6/+83 |
| | | | | | Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||||
* | gh-78630: Drop invalid HP aCC compiler switch -fPIC on HP-UX (#8847) | Michael Osipov | 2022-05-19 | 2 | -3/+1 |
| | | | | | At compile time, '+z' is already properly used with HP aCC, and shared libraries are correctly linked with '+b'. The '-fPIC' switch can safely be dropped. | ||||
* | bpo-46879: Fix incorrect sphinx object names in doc (GH-31615) | Martin Fischer | 2022-05-19 | 3 | -0/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | API members documented in sphinx have an object name, which allow the documentation to be linked from other projects. Sphinx calculates the object name by prefixing the current module name to the directive argument, e.g: .. module:: foo .. function:: bar.baz becomes foo.bar.baz. Since these anchors aren't displayed in the documentation, some mistakes have crept in, namely the Python stdlib documentation currently contains the objects: * asyncio.asyncio.subprocess.DEVNULL * asyncio.asyncio.subprocess.PIPE * asyncio.asyncio.subprocess.STDOUT * asyncio.asyncio.subprocess.Process * multiprocessing.sharedctypes.multiprocessing.Manager * xml.etree.ElementTree.xml.etree.ElementInclude This commit fixes this by making use of the :module: option which without an argument makes sphinx take the directive argument as is for the object name (avoiding the prefixing of the current module name that led to these broken object names). Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||||
* | gh-92417: `subprocess` docs: remove note on compatibility with Python <3.5 ↵ | Alex Waygood | 2022-05-19 | 1 | -3/+0 |
| | | | | (GH-92538) | ||||
* | gh-92417: `fractions`, `decimal`: Improve docs for alternative constructor ↵ | Alex Waygood | 2022-05-19 | 2 | -8/+9 |
| | | | | | methods (GH-92421) Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> | ||||
* | gh-92417: `socket` docs: remove references to Python <3.3 (GH-92544) | Alex Waygood | 2022-05-19 | 1 | -2/+2 |
| | |||||
* | bpo-45393: help() on operator precedence has misleading entries (GH-31246) | Zackery Spytz | 2022-05-19 | 2 | -2/+4 |
| | | | | Fix the formatting for "await x" and "not x" in the operator precedence table. | ||||
* | gh-92417: Update docs and examples of doctest.IGNORE_EXCEPTION_DETAIL for ↵ | CAM Gerlach | 2022-05-19 | 1 | -27/+21 |
| | | | | Py>=3 (GH-92502) | ||||
* | gh-92675: venv: Fix ensure_directories() to again accept a Path for env_dir ↵ | David Foster | 2022-05-19 | 3 | -4/+20 |
| | | | | | | | (#92676) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | ||||
* | gh-91491: Complete Whats New in 3.11 for typing (#92708) | Jelle Zijlstra | 2022-05-19 | 1 | -4/+36 |
| | | | | | | Fixes #91491 Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | ||||
* | GH-92955: fix memory leak in code object lines and positions iterators ↵ | Kumar Aditya | 2022-05-19 | 3 | -4/+9 |
| | | | | (gh-92956) | ||||
* | gh-90473: Decrease recursion limit and skip tests on WASI (GH-92803) | Christian Heimes | 2022-05-19 | 20 | -14/+109 |
| | |||||
* | GH-90690: Remove `PRECALL` instruction (GH-92925) | Mark Shannon | 2022-05-19 | 14 | -701/+544 |
| | |||||
* | Doc: amend ssl.PROTOCOL_SSLv2 and ssl.PROTOCOL_SSLv3 wording (#92634) | Jan Brasna | 2022-05-19 | 1 | -3/+3 |
| | |||||
* | gh-92670: Skip test_shutil.TestCopy.test_copyfile_nonexistent_dir on AIX ↵ | Ayappan Perumal | 2022-05-19 | 2 | -0/+7 |
| | | | | (#92718) | ||||
* | Include ``asyncio.Barrier`` in 3.11 Whats New (GH-92927) | Duprat | 2022-05-19 | 1 | -0/+4 |
| | |||||
* | gh-92914: Round the allocated size for lists up to the even number (GH-92915) | Serhiy Storchaka | 2022-05-19 | 3 | -3/+11 |
| | |||||
* | gh-87901: Remove the encoding argument from os.popen (GH-92836) | Inada Naoki | 2022-05-19 | 3 | -7/+13 |
| | |||||
* | 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 |
| |