summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* gh-81652: Add MAP_ALIGNED_SUPER FreeBSD and MAP_CONCEAL OpenBSD constants ↵Yeojin Kim2023-02-241-3/+11
| | | | (gh-102191)
* Fix typo in `Py_GetPythonHome` signature (#102168)Tanner Firl2023-02-231-1/+1
|
* gh-101578: Fixup NEWS and add What's New entry for new exception APIs (#102157)Erlend E. Aasland2023-02-231-0/+18
|
* gh-87634: remove locking from functools.cached_property (GH-101890)Carl Meyer2023-02-232-0/+25
| | | Remove the undocumented locking capabilities of functools.cached_property.
* Fix syntax error in struct doc example (#102160)Terry Jan Reedy2023-02-221-1/+1
| | | | Missing closing ) reported on Discuss by Chukwudi Nwachukwu.
* GH-101777: `queue.rst`: use 2 spaces after a period to be consistent. (#102143)Owain Davies2023-02-221-8/+8
|
* gh-102135: Update turtle docs to rename wikipedia demo to rosette (#102137)somebody2023-02-221-3/+3
|
* gh-100556: Improve clarity of `or` docs (#100589)ram vikram singh2023-02-211-2/+2
| | | Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* gh-101777: Make `PriorityQueue` docs slightly clearer (#102026)Owain Davies2023-02-211-2/+2
| | | | Adjust wording slightly, and use min(entries) instead of sorted(list(entries))[0] as an example.
* gh-101578: Amend exception docs (#102057)Erlend E. Aasland2023-02-212-22/+25
| | | Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
* gh-102011: use sys.exception() instead of sys.exc_info() in docs where ↵Irit Katriel2023-02-206-32/+29
| | | | possible (#102012)
* GH-99818: improve the documentation for zipfile.Path and Traversable (GH-101589)Filipe Laíns2023-02-202-3/+7
| | | Automerge-Triggered-By: GH:FFY00
* gh-101578: Amend PyErr_{Set,Get}RaisedException docs (#101962)Erlend E. Aasland2023-02-192-32/+20
| | | Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
* Misc improvements to the float tutorial (GH-102052)Raymond Hettinger2023-02-191-33/+106
|
* gh-85417: Clarify behaviour on branch cuts in cmath module (#102046)Mark Dickinson2023-02-191-28/+38
| | | | | | This PR updates the cmath module documentation to reflect the reality that Python is almost always (and as far as I can tell, that "almost" can be omitted) running on a machine whose C double supports signed zeros. * Removes misleading references to functions being continuous from above / below / the left / the right at branch cuts * Expands the note on branch cuts at the top of the module documentation to explain the double-sided sign-of-zero-based behaviour
* gh-100425: Update tutorial docs related to sum() accuracy (FH-101854)neuralstring2023-02-191-1/+1
|
* gh-99735: Use required=True in argparse subparsers example (#100927)Patricio Paez2023-02-191-1/+1
|
* Fix incorrectly documented attribute in csv docs (#101250)Reza Rastak2023-02-191-1/+1
|
* GH-84783: Make the slice object hashable (GH-101264)Furkan Onder2023-02-191-0/+3
|
* gh-101536: [docs] Improve attributes of `urllib.error.HTTPError` (#101612)Nikita Sobolev2023-02-181-1/+12
| | | | | * gh-101536: [docs] Improve attributes of `urllib.error.HTTPError` * Address review
* gh-101739: [Enum] update docs - default boundary for Flag is CONFORM (GH-101746)Owain Davies2023-02-171-9/+8
|
* gh-100226: Clarify StreamReader.read behavior (#101807)Jan Gosmann2023-02-171-2/+10
|
* gh-101992: update plistlib examples to be runnable (#101994)Dustin Rodrigues2023-02-171-6/+15
| | | | | | | | | * gh-101992: update plistlib examples to be runnable * Update Doc/library/plistlib.rst --------- Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* Docs: fix typos in PyFunction_WatchCallback docs and in 3.12 NEWS (GH-101980)Yeojin Kim2023-02-171-1/+1
| | | | - possitibility => possibility - disaallowed => disallowed
* gh-101973: Fix parameter reference for PyModule_FromDefAndSpec (#101976)Oleg Iarygin2023-02-171-2/+2
|
* gh-93573: Replace wrong example domains in configparser doc (GH-93574)sblondon2023-02-161-23/+23
| | | | | | | | * Replace bitbucket.org domain by forge.example * Update example to python.org * Use explicitly invalid domain topsecret.server.com domain is not controled by PSF. It's replaced by invalid topsecret.server.example domain. It follows RFC 2606, which advise .example as TLD for documentation.
* gh-101881: Support (non-)blocking read/write functions on Windows pipes ↵Rayyan Ansari2023-02-161-2/+10
| | | | | | | | | | | | (GH-101882) * fileutils: handle non-blocking pipe IO on Windows Handle erroring operations on non-blocking pipes by reading the _doserrno code. Limit writes on non-blocking pipes that are too large. * Support blocking functions on Windows Use the GetNamedPipeHandleState and SetNamedPipeHandleState Win32 API functions to add support for os.get_blocking and os.set_blocking.
* gh-99138: Isolate _zoneinfo (#99218)Erlend E. Aasland2023-02-151-1/+1
| | | | * Convert zone info type to heap type and add it to module state * Add global variables to module state
* gh-101693: In sqlite3, deprecate using named placeholders with parameters ↵Erlend E. Aasland2023-02-152-1/+25
| | | | supplied as a sequence (#101698)
* gh-101799: implement PREP_RERAISE_STAR as an intrinsic function (#101800)Irit Katriel2023-02-141-11/+15
|
* GH-101898: Fix missing term references for hashable definition (#101899)Furkan Onder2023-02-1416-22/+22
| | | Fix missing term references for hashable definition
* Correct trivial grammar in reset_mock docs (#101861)Steve Kowalik2023-02-131-3/+3
|
* gh-101845: pyspecific: Fix i18n for availability directive (GH-101846)Jean Abou-Samra2023-02-121-9/+11
| | | | | | | | | | pyspecific: Fix i18n for availability directive If the directive has content, the previous code would nest paragraph nodes from that content inside a general paragraph node, which confuses Sphinx and leads it to drop the content when translating. Instead, use a container node for the body. Also use set_source_info so that any warnings have location info.
* gh-101390: Fix docs for `imporlib.util.LazyLoader.factory` to properly call ↵busywhitespace2023-02-101-1/+1
| | | | it a class method (GH-101391)
* Docs: Fix getstatus() -> getcode() typos (#101296)Hugo van Kemenade2023-02-102-2/+2
|
* Docs: use parameter list for sqlite3.Cursor.execute* (#101782)Erlend E. Aasland2023-02-101-12/+33
| | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-101283: Fix 'versionchanged' for the shell=True fallback on Windows in ↵Oleg Iarygin2023-02-091-5/+5
| | | | 3.12 (GH-101728)
* GH-99293: Document that `Py_TPFLAGS_VALID_VERSION_TAG` shouldn't be used. ↵Mark Shannon2023-02-091-0/+10
| | | | | | | | (#GH-101736) Document that Py_TPFLAGS_VALID_VERSION_TAG shouldn't be used.
* gh-85984: Remove legacy Lib/pty.py code. (#92365)Soumendra Ganguly2023-02-091-0/+4
| | | | | | | | | | Refactored the implementation of pty.fork to use os.login_tty. A DeprecationWarning is now raised by pty.master_open() and pty.slave_open(). They were undocumented and deprecated long long ago in the docstring in favor of pty.openpty. Signed-off-by: Soumendra Ganguly <soumendraganguly@gmail.com> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Gregory P. Smith <greg@krypto.org>
* gh-101283: Version was just released, so should be changed in 3.11.3 (GH-101719)Steve Dower2023-02-081-5/+5
|
* gh-101283: Improved fallback logic for subprocess with shell=True on Windows ↵Oleg Iarygin2023-02-081-0/+40
| | | | (GH-101286)
* GH-101578: Normalize the current exception (GH-101607)Mark Shannon2023-02-082-1/+82
| | | | | | | | | | * Make sure that the current exception is always normalized. * Remove redundant type and traceback fields for the current exception. * Add new API functions: PyErr_GetRaisedException, PyErr_SetRaisedException * Add new API functions: PyException_GetArgs, PyException_SetArgs
* gh-47937: Note that Popen attributes are read-only (#93070)Stanley2023-02-081-11/+12
| | | | | | * Note that Popen attributes aren't meant to be set by users by rewording the text about the attributes. * Also update some universal_newlines references to mention the modern text parameter name while in the area. Co-authored-by: Gregory P. Smith <greg@krypto.org>
* gh-101632: Add the new RETURN_CONST opcode (#101633)penguin_wwy2023-02-071-0/+7
|
* gh-97725: Fix documentation for the default file of ↵Oleg Iarygin2023-02-071-1/+1
| | | | `asyncio.Task.print_stack` (#101652)
* Fix nesting of 'Pending Removal in Python 3.14' (#101637)Oleg Iarygin2023-02-071-1/+1
|
* Doctest: Pin sphinxext-opengraph==0.7.5 to prevent importing NumPy (#101642)Hugo van Kemenade2023-02-071-1/+1
|
* gh-85747: Active voice & suggested edits, 'running/stopping loop' & ↵Brian Skinn2023-02-071-18/+24
| | | | | | 'callbacks' subsections of asyncio-eventloop.rst (#100270) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* GH-101616: Mention the Docs Discourse forum in the "reporting docs issues" ↵Mariatta Wijaya2023-02-061-0/+3
| | | | | (GH-101617) Fixes https://github.com/python/cpython/issues/101616
* bpo-33591: Add support for path like objects to `ctypes.CDLL` (#7032)mrh19972023-02-051-0/+16
| | | Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>