summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* gh-90473: WASI: skip gethostname tests (GH-93092)Christian Heimes2022-05-239-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 Haller2022-05-231-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 Bellamy2022-05-233-7/+38
| | | | | Fixes #91061 Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* gh-92994: Clarify importlib "check" example (#92995)Shantanu2022-05-231-0/+3
| | | Fixes #92994
* gh-73137: Added sub-subsection headers for flags in re (#93000)Stanley2022-05-231-30/+42
| | | Fixes #73137
* binascii docs: strict_mode parameter is keyword-only (#93055)Jelle Zijlstra2022-05-231-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 Zijlstra2022-05-221-5/+5
|
* Clean up the sqlite3 tests (GH-93056)Serhiy Storchaka2022-05-212-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)Shantanu2022-05-211-6/+6
| | | Fixes #91362
* Improve tests for opening Sqlite by URI (GH-93047)Serhiy Storchaka2022-05-211-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-paille2022-05-212-2/+35
|
* gh-93044: No longer convert the database argument of sqlite3.connect() to ↵Serhiy Storchaka2022-05-214-7/+19
| | | | | bytes (GH-93046) Just pass it to the factory as is.
* ci: add GitHub token permissions (#92999)Varun Sharma2022-05-214-1/+13
|
* gh-71223: Improve rendering of some references in the docs (GH-93041)Serhiy Storchaka2022-05-217-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)Shantanu2022-05-211-1/+1
| | | Fixes #93019
* Take advantage of math.comb() in the nth_combination() recipe (#93027)Raymond Hettinger2022-05-201-6/+2
|
* Fix a directive in the `pathlib` docs (GH-93030)Brett Cannon2022-05-201-1/+1
|
* gh-72073: Add Windows case in pathlib.rename (GH-93002)Stanley2022-05-201-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 Gerlach2022-05-2022-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 Phipps2022-05-201-1/+2
|
* gh-91860: documentation for typing.dataclass_transform (#92768)Shantanu2022-05-203-12/+84
| | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-91922: Fix sqlite connection on nonstardard locales and paths (GH-92926)Serhiy Storchaka2022-05-204-64/+40
|
* Doc: add missing manpage and title references in tkinter docs (#29008)Rafael Fontenelle2022-05-201-2/+3
| | | | - add bind(3tk) manpage markup - add Tcl/Tk book reference markup
* Doc: Minor adjustment of `socket.create_server` docs (#26938)Pavel2022-05-202-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 Na2022-05-201-3/+4
|
* gh-92817: Fix precedence of options to py.exe launcher (GH-92988)Steve Dower2022-05-193-11/+49
|
* gh-92984: Explicitly disable incremental linking for Windows Release and PGO ↵David Machaj2022-05-192-0/+2
| | | | builds (GH-92985)
* gh-92913: Clarify changes to PyInitConfig.module_search_paths[_set] fields ↵Steve Dower2022-05-195-8/+39
| | | | (GH-92980)
* GH-89914: Make the oparg of the YIELD_VALUE instruction equal the stack ↵Mark Shannon2022-05-199-26/+35
| | | | depth. (GH-92960)
* gh-92417: `importlib` docs: remove references to unsupported Python versions ↵Alex Waygood2022-05-192-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 Sobolev2022-05-194-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 Osipov2022-05-192-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 Fischer2022-05-193-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 Waygood2022-05-191-3/+0
| | | | (GH-92538)
* gh-92417: `fractions`, `decimal`: Improve docs for alternative constructor ↵Alex Waygood2022-05-192-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 Waygood2022-05-191-2/+2
|
* bpo-45393: help() on operator precedence has misleading entries (GH-31246)Zackery Spytz2022-05-192-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 Gerlach2022-05-191-27/+21
| | | | Py>=3 (GH-92502)
* gh-92675: venv: Fix ensure_directories() to again accept a Path for env_dir ↵David Foster2022-05-193-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 Zijlstra2022-05-191-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 Aditya2022-05-193-4/+9
| | | | (gh-92956)
* gh-90473: Decrease recursion limit and skip tests on WASI (GH-92803)Christian Heimes2022-05-1920-14/+109
|
* GH-90690: Remove `PRECALL` instruction (GH-92925)Mark Shannon2022-05-1914-701/+544
|
* Doc: amend ssl.PROTOCOL_SSLv2 and ssl.PROTOCOL_SSLv3 wording (#92634)Jan Brasna2022-05-191-3/+3
|
* gh-92670: Skip test_shutil.TestCopy.test_copyfile_nonexistent_dir on AIX ↵Ayappan Perumal2022-05-192-0/+7
| | | | (#92718)
* Include ``asyncio.Barrier`` in 3.11 Whats New (GH-92927)Duprat2022-05-191-0/+4
|
* gh-92914: Round the allocated size for lists up to the even number (GH-92915)Serhiy Storchaka2022-05-193-3/+11
|
* gh-87901: Remove the encoding argument from os.popen (GH-92836)Inada Naoki2022-05-193-7/+13
|
* gh-92812: Align ArgumentParser.add_subparsers() docs with argument spec (#92814)1809092022-05-181-1/+1
|
* Split refcount stats into 'interpreter' and 'non-interpreter' (GH-92919)Mark Shannon2022-05-186-0/+24
|