summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
...
* gh-101100: Fix broken xrefs in fcntl module doc (#115691)Skip Montanaro2024-02-253-16/+28
| | | | | | | | | | | | | | | | | | | | | * clean up fcntl module doc * simplify * a few changes, based on suggestion by CAM-Gerlach * nitpick ignore for a couple other C functions mentioned in the fcntl module doc * more changes, especially related to LOCK_* constants * :data: back to :const: * Apply suggestions from code review Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> --------- Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
* bpo-31116: Add Z85 variant to base64 (GH-30598)Matan Perelman2024-02-252-0/+26
| | | Z85 specification: https://rfc.zeromq.org/spec/32/
* gh-96471: Correct docs for queue shutdown (#115838)Laurie O2024-02-251-4/+3
|
* gh-113479: Link to workaround for subtle issue with takewhile() (gh-115890)Raymond Hettinger2024-02-251-33/+41
|
* gh-103417: Fix the scheduler example (GH-111497)mauricelambert2024-02-251-1/+1
| | | | | Arguments to enterabs() are specified as Unix time. If the scheduler use the time.monotonic timer, the code will take decades to complete.
* gh-101100: Fix Sphinx warnings in `whatsnew/2.0.rst` (#112351)Hugo van Kemenade2024-02-252-53/+53
| | | | Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* Add an example of of custom `__repr__` (#112761)Oh seungmin2024-02-251-0/+10
| | | | | | | Added to repr entry in Doc/library/functions.rst. --------- Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* Erase some unnecessary quotes on data model doc (#113521)Adorilson Bezerra2024-02-252-5/+4
| | | | Thanks to Pedro Arthur Duarte (pedroarthur.jedi at gmail.com) for help with this bug.
* gh-113202: Add whatsnew entry for the batched() strict option. (gh-115889)Raymond Hettinger2024-02-241-0/+8
|
* gh-115872: Doc: remove obsolete reference to MSI packages (#115873)partev2024-02-241-1/+1
|
* Insert missing apostrophes in ctypes documentation (#115090)jmcb2024-02-231-3/+3
|
* gh-54358: Clarify data chunking in pyexpat (GH-31629)Stanley2024-02-231-2/+6
| | | | Co-authored-by: Éric Araujo <merwok@netwok.org>
* gh-89480: Document the gdb helpers (GH-115657)Pablo Galindo Salgado2024-02-232-0/+450
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Content adapted from https://devguide.python.org/development-tools/gdb/# and https://wiki.python.org/moin/DebuggingWithGdb. The original content on the Wiki page came from gdb debug help used by the Launchpad (https://launchpad.net/) team. Thanks to Anatoly Techtonik and user `rmf` for substantial improvements to the Wiki page. The history of the Devguide page follows (with log entries expanded for major content contributions): Hugo van Kemenade, Sat Dec 30 21:22:04 2023 +0200 Hugo van Kemenade, Fri Dec 8 12:04:32 2023 +0200 Erlend E. Aasland & Hugo van Kemenade, Tue Aug 8 22:05:34 2023 +0200 Satish Mishra, Sat Feb 11 13:54:57 2023 +0530 Hugo van Kemenade, Fri Dec 23 17:33:33 2022 +0200 Skip Montanaro, Hugo, Erlend, & Ezio, Fri Nov 4 05:04:23 2022 -0500 Add a GDB tips section to Advanced Tools (#977) Adam Turner, Wed Jun 15 21:19:23 2022 +0100 Adam Turner, Tue Jun 14 11:12:26 2022 +0100 Suriyaa, Fri Jun 8 19:39:23 2018 +0200 Jeff Allen, Tue Oct 24 18:12:53 2017 +0100 Jeff Allen, Fri Oct 13 13:43:43 2017 +0100 Mariatta, Wed Jan 4 09:14:55 2017 -0800 Carol Willing, Mon Sep 26 14:50:54 2016 -0700 Zachary Ware, Thu Jul 21 10:42:23 2016 -0500 Georg Brandl, Mon Nov 3 11:28:19 2014 +0100 Add instruction how to activate python-gdb.py Georg Brandl, Sun Mar 9 10:32:01 2014 +0100 Georg Brandl, Tue Apr 3 09:12:53 2012 +0200 Georg Brandl, Sat Mar 5 17:32:35 2011 +0100 Dave Malcolm, Fri Jan 21 12:34:09 2011 -0500 Add documentation on the gdb extension commands provided in libpython.py I adapted this from documentation I wrote for the Fedora wiki: https://fedoraproject.org/wiki/Features/EasierPythonDebugging#New_gdb_commands reformatting it as rst, and making other minor changes Brett Cannon, Thu Jan 20 15:16:52 2011 -0800 Dave Malcolm, Thu Jan 20 16:17:23 2011 -0500 Add some notes on the gdb pretty-printer hooks Antoine Pitrou, Thu Jan 20 21:17:49 2011 +0100 Give an example backtrace Antoine Pitrou, Thu Jan 20 21:03:06 2011 +0100 Expand explanations about gdb support Brett Cannon, Thu Jan 20 11:33:36 2011 -0800 Tweak the gdb support title to fit in better with the devguide. Brett Cannon, Mon Jan 17 21:12:54 2011 +0000 Short README on gdb support. Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com> Co-authored-by: anatoly techtonik <techtonik@gmail.com> Co-authored-by: Antoine Pitrou <solipsis@pitrou.net> Co-authored-by: Brett Cannon <brett@python.org> Co-authored-by: Carol Willing <carolcode@willingconsulting.com> Co-authored-by: Dave Malcolm <dmalcolm@redhat.com> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: Georg Brandl <georg@python.org> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Jeff Allen <ja.py@farowl.co.uk> Co-authored-by: Mariatta <Mariatta@users.noreply.github.com> Co-authored-by: Petr Viktorin <encukou@gmail.com> Co-authored-by: Satish Mishra <7506satish@gmail.com> Co-authored-by: Skip Montanaro <skip.montanaro@gmail.com> Co-authored-by: Suriyaa <isc.suriyaa@gmail.com> Co-authored-by: Zachary Ware <zachary.ware@gmail.com>
* Update http.cookiejar document for cookie object attributes (GH-101885)NewUserHa2024-02-221-0/+5
|
* gh-115795: Doc: fix obsolete URL (#115749)partev2024-02-221-1/+1
|
* gh-111140: Improve PyLong_AsNativeBytes API doc example & improve the test ↵Gregory P. Smith2024-02-221-17/+57
| | | | | | | | | (#115380) This expands the examples to cover both realistic use cases for the API. I noticed thing in the test that could be done better so I added those as well: We need to guarantee that all bytes of the result are overwritten and that too many are not written. Tests now pre-fills the result with data in order to ensure that. Co-authored-by: Steve Dower <steve.dower@microsoft.com>
* gh-115399: Document CVE-2023-52425 under "XML vulnerabilities" (GH-115400)Sebastian Pipping2024-02-211-0/+13
| | | Doc/library/xml.rst: Document CVE-2023-52425 under "XML vulnerabilities"
* gh-115653: Document PyCode_GetFirstFree() (#115654)Bogdan Romanyuk2024-02-211-2/+6
| | | Correct the return type of the PyCode_GetNumFree() documentation.
* gh-104061: Add socket.SO_BINDTOIFINDEX constant (GH-104062)Victor Westerhuis2024-02-201-0/+5
| | | | | Add socket.SO_BINDTOIFINDEX constant This socket option avoids a race condition between SO_BINDTODEVICE and network interface renaming.
* gh-101860: Expose __name__ on property (GH-101876)Eugene Toder2024-02-201-4/+15
| | | | | Useful for introspection and consistent with functions and other descriptors.
* gh-112020: Document the meaning of empty bytes returned by socket.recv() ↵talcs2024-02-201-2/+3
| | | | (GH-112055)
* gh-113157: Document and test __get__ for MethodType (gh-115492)Raymond Hettinger2024-02-201-2/+18
|
* Make the title match the content (GH-115702)Raymond Hettinger2024-02-202-5/+5
|
* Modernize the Sorting HowTo guide (gh-115479)Raymond Hettinger2024-02-201-6/+54
|
* Fix typo in multiprocessing docs (#115650)Naglis Jonaitis2024-02-191-1/+1
|
* gh-115664: Fix versionadded and versionchanged directives in ↵Serhiy Storchaka2024-02-191-15/+14
| | | | multiprocessing.rst (GH-115665)
* gh-115664: Fix chronological ordering of versionadded and versionchanged ↵Brian Schubert2024-02-196-20/+20
| | | | directives (#115676)
* gh-115652: Fix indentation in the documentation of ↵Daniel Haag2024-02-191-5/+5
| | | | multiprocessing.get_start_method (GH-115658)
* gh-83648: Add missing `deprecated` arg in argparse.rst (GH-115640)0xflotus2024-02-191-1/+1
|
* gh-102388: Add windows_31j to aliases for cp932 codec (#102389)Masayuki Moriyama2024-02-191-1/+2
| | | | | | | | | The charset name "Windows-31J" is registered in the IANA Charset Registry[1] and is implemented in Python as the cp932 codec. [1] https://www.iana.org/assignments/charset-reg/windows-31J Signed-off-by: Masayuki Moriyama <masayuki.moriyama@miraclelinux.com>
* Docs: Add explanation about little/big endian (#109841)Simon A. Eugster2024-02-191-0/+15
| | | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
* gh-114709: Mark commonpath behaviour as changed in 3.13 (#115639)Shantanu2024-02-181-1/+4
|
* gh-115572: Move `codeobject.replace()` docs to the data model (#115631)Daler2024-02-182-9/+9
|
* gh-114709: Fix exceptions raised by posixpath.commonpath (#114710)Sebastian Rittau2024-02-181-2/+2
| | | | | | Fix the exceptions raised by posixpath.commonpath Raise ValueError, not IndexError when passed an empty iterable. Raise TypeError, not ValueError when passed None.
* Document use of ANY in test assertions (GH-94060)Thomas Grainger2024-02-171-0/+8
|
* gh-97590: Update docs and tests for ftplib.FTP.voidcmd() (GH-96825)Matthew Hughes2024-02-171-2/+2
| | | | Since 2f3941d743481ac48628b8b2c075f2b82762050b this function returns the response string, rather than nothing.
* gh-56499: Update the pickle library's note section for the __setstate__ ↵Furkan Onder2024-02-171-2/+2
| | | | function (GH-101062)
* gh-87688: Amend SSLContext.hostname_checks_common_name docs (GH-100517)Rami2024-02-171-1/+1
|
* gh-101100: Fix Sphinx warnings in `whatsnew/3.2.rst` (#115580)Hugo van Kemenade2024-02-173-43/+44
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-101100: Fix Sphinx warnings in `whatsnew/3.1.rst` (#115575)Hugo van Kemenade2024-02-172-10/+13
|
* gh-101699: Explain using Match.expand with \g<0> (GH-101701)Stevoisiak2024-02-171-1/+2
| | | | | | | Update documentation for re library to explain that a backreference `\g<0>` is expanded to the entire string when using Match.expand(). Note that numeric backreferences to group 0 (`\0`) are not supported. Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* gh-113812: Allow DatagramTransport.sendto to send empty data (#115199)Jamie Phan2024-02-172-0/+11
| | | | Also include the UDP packet header sizes (8 bytes per packet) in the buffer size reported to the flow control subsystem.
* docs: Add glossary term references to shutil docs (#115559)Brian Schubert2024-02-161-4/+4
| | | Add glossary term references to shutil docs
* gh-115103: Implement delayed memory reclamation (QSBR) (#115180)Sam Gross2024-02-161-0/+32
| | | | | | This adds a safe memory reclamation scheme based on FreeBSD's "GUS" and quiescent state based reclamation (QSBR). The API provides a mechanism for callers to detect when it is safe to free memory that may be concurrently accessed by readers.
* gh-69990: Make Profile.print_stats support sorting by multiple values ↵Furkan Onder2024-02-161-0/+7
| | | | | | (GH-104590) Co-authored-by: Chiu-Hsiang Hsu
* gh-100734: What's New in 3.x: Add missing detail from 3.x branch (#114689)Hugo van Kemenade2024-02-158-0/+327
|
* gh-112433: Add optional _align_ attribute to ctypes.Structure (GH-113790)monkeyman1922024-02-151-0/+10
|
* bpo-38364: unwrap partialmethods just like we unwrap partials (#16600)Martijn Pieters2024-02-151-0/+10
| | | | | | | | | | | | | * bpo-38364: unwrap partialmethods just like we unwrap partials The inspect.isgeneratorfunction, inspect.iscoroutinefunction and inspect.isasyncgenfunction already unwrap functools.partial objects, this patch adds support for partialmethod objects as well. Also: Rename _partialmethod to __partialmethod__. Since we're checking this attribute on arbitrary function-like objects, we should use the namespace reserved for core Python. --------- Co-authored-by: Petr Viktorin <encukou@gmail.com>
* gh-114626: add PyCFunctionFast and PyCFunctionFastWithKeywords (GH-114627)David Hewitt2024-02-152-11/+13
| | | Co-authored-by: Petr Viktorin <encukou@gmail.com>
* docs: use consistent .append() in dis.rst (#115434)Ned Batchelder2024-02-151-4/+4
| | | The STACK variable is described as like a Python list, so pushing to it should be done with .append() consistently throughout.