summaryrefslogtreecommitdiffstats
path: root/Doc/faq/programming.rst
Commit message (Collapse)AuthorAgeFilesLines
* [3.13] Fix numbered list syntax in programming.rst (GH-130158) (#132140)Miss Islington (bot)2025-04-051-5/+5
| | | | | | Fix numbered list syntax in programming.rst (GH-130158) (cherry picked from commit 376631829aab72e320e19102fc55cbca5af8c733) Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
* [3.13] Minor improvements to the programming FAQ (GH-127261) (#131964)Miss Islington (bot)2025-04-011-7/+7
| | | | | | | Minor improvements to the programming FAQ (GH-127261) (cherry picked from commit 23a658b9af410b72beeb28ba4ace2d83896c5631) Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* [3.13] gh-128998: Fix indentation of numbered list and literal block ↵Miss Islington (bot)2025-01-181-16/+18
| | | | | | | | | (GH-128999) (#129000) gh-128998: Fix indentation of numbered list and literal block (GH-128999) (cherry picked from commit e8092e5cdcd6707ac0b16d8fb37fa080a88bcc97) Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* [3.13] Programming FAQ: Mention object.__setattr__ as a technique for ↵Miss Islington (bot)2024-09-261-3/+10
| | | | | | | | | | delegation (GH-124617) (#124624) Programming FAQ: Mention object.__setattr__ as a technique for delegation (GH-124617) This is used for example by threading.local in the stdlib. (cherry picked from commit 43979fad904bcc343f90cb526faa526c45fcbfa4) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* [3.13] gh-101100: Add a table of class attributes to the "Custom classes" ↵Alex Waygood2024-09-261-1/+1
| | | | section of the data model docs (#124480) (#124556)
* [3.13] gh-123517: Remove unnecessary `:meth:` parentheses (gh-123518) ↵Wei-Hsiang (Matt) Wang2024-09-021-1/+1
| | | | (GH-123577)
* [3.13] gh-121905: Consistently use "floating-point" instead of "floating ↵Serhiy Storchaka2024-07-191-1/+1
| | | | | point" (GH-121907) (GH-122012) (cherry picked from commit 1a0c7b9ba48a2dffb70bb0c7327abae1d3e87356)
* [3.13] gh-120452: improve documentation about private name mangling ↵Miss Islington (bot)2024-07-131-4/+24
| | | | | | | | | (GH-120451) (#121715) gh-120452: improve documentation about private name mangling (GH-120451) (cherry picked from commit f4d6e45c1e7161878b36ef9e876ca3e44b80a97d) Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* Resolve reference warnings in faq/programming.rst (#108150)Adam Turner2023-08-201-3/+3
|
* gh-80480: array: Add 'w' typecode. (#105242)Inada Naoki2023-06-041-3/+3
|
* GH-103484: Fix redirected permanently URLs (#104001)Rafael Fontenelle2023-05-021-1/+1
| | | | | Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: Oleg Iarygin <dralife@yandex.ru>
* GH-101898: Fix missing term references for hashable definition (#101899)Furkan Onder2023-02-141-1/+1
| | | Fix missing term references for hashable definition
* gh-55688: Add note about ending backslashes for raw strings (#94768)Stanley2022-12-281-0/+40
| | | Co-authored-by: hauntsaninja <hauntsaninja@gmail.com>
* gh-48496: Added example and link to faq for UnboundLocalError in reference ↵Stanley2022-12-221-0/+2
| | | | (#93068)
* gh-84522: Add for-loop to apply-method-to-sequence FAQ (#94660)Samuel Sloniker2022-11-111-3/+15
|
* gh-96265: Formatting changes for faq/programming (#98242)Stanley2022-11-021-39/+48
| | | | | | | | | | | | | | | | | * Formatting changes for faq/programming * Add missing method formatting, use non-literal formatting * Fix sphinx warnings * Some extra formatting missed earlier * More formatting suggestions from review Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> * Add missing colon, avoid referening external module Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
* gh-97709: Included newline separator in Mandelbrot set (#97737)matheusja2022-10-041-2/+2
| | | | | Included newline separator in Mandelbrot set Now the Mandelbrot set one-liner example on separates the lines with a '\n' character.
* gh-96959: Update more HTTP links (GH-97536)Serhiy Storchaka2022-09-271-2/+2
| | | | Use HTTPS for documents which are available by both HTTP and HTTPS links, but there is no redirection from HTTP to HTTPS or vice versa.
* gh-96959: Update HTTP links which are redirected to HTTPS (GH-96961)Serhiy Storchaka2022-09-241-1/+1
|
* GH-96851: Add link to FAQ entry for caching method calls. (GH-96902)Raymond Hettinger2022-09-181-0/+2
|
* gh-91838: Resolve HTTP links which redirect to HTTPS (GH-95642)Serhiy Storchaka2022-08-041-1/+1
| | | | It updates links which redirect to HTTPS with different authority or path.
* gh-91838: Use HTTPS links in docs for resources which redirect to HTTPS ↵Serhiy Storchaka2022-08-041-1/+1
| | | | | | | | | | (GH-95527) If an HTTP link is redirected to a same looking HTTPS link, the latter can be used directly without changes in readability and behavior. It protects from a men-in-the-middle attack. This change does not affect Python examples.
* Docs: remove redundant "adverb-adjective" hyphens from compound modifiers ↵Ned Batchelder2022-07-051-2/+2
| | | | | (GH-94551) Discussion: https://discuss.python.org/t/slight-grammar-fix-throughout-adverbs-dont-need-hyphen/17021
* gh-85023: [doc] clarify parameters vs arguments explanation in FAQ (GH-94282)Arun Mani J2022-06-261-2/+3
|
* gh-93851: Fix all broken links in Doc/ (GH-93853)Oleg Iarygin2022-06-211-1/+1
|
* Fix typo in Programming FAQ (#92083)Matt Harding2022-05-021-1/+1
| | | I believe the word "with" was missing here.
* Clarify that this sentence applies to the above example. GH-32405Raymond Hettinger2022-04-081-3/+3
|
* Fix a typo in Doc/faq/programming.rst (GH-31243)Cooper Lees2022-02-141-1/+1
| | | is not longer used -> is no longer used
* Fix minor grammar error (#31325)Scott Noyes2022-02-141-1/+1
| | | "an" followed by consonant should be "a"
* bpo-45846: Fix capitalisation of Van Rossum at the start of sentence (GH-29641)JMcB2021-11-201-1/+1
|
* bpo-20692: Add Programming FAQ entry for 1.__class__ error. (GH-28918)Terry Jan Reedy2021-10-131-0/+21
| | | To avoid error, add either space or parentheses.
* bpo-4442: Document use of __new__ for subclasses of immutable types (GH-27866)Raymond Hettinger2021-08-221-0/+49
|
* Remove dubious suggestion (GH-26789)Raymond Hettinger2021-06-191-18/+0
| | | Remove the weakref example. If a new instance is created and the same arguments are passes, it raises a ReferenceError.
* bpo-44310: Add a FAQ entry for caching method calls (GH-26731)Raymond Hettinger2021-06-171-0/+97
|
* bpo-30757: Improve "How to make stand-alone binaries" FAQ (GH-26309)Erlend Egeberg Aasland2021-05-221-7/+10
| | | | Co-authored-by: denfromufa <denfromufa@users.noreply.github.com> Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
* [doc] Do some polishing in IDEs section (GH-22070)Andre Delfino2021-04-291-12/+12
|
* Fix broken links and improve stand-alone tools list in FAQ GH-22124Andre Delfino2021-04-261-4/+5
|
* Doc: Try to enhance wording on circular imports. (GH-24705)Julien Palard2021-04-131-10/+10
|
* bpo-20503: Show how isinstance() works with ABC registered classes. (GH-25175)Raymond Hettinger2021-04-051-0/+35
|
* bpo-43325: Add FAQ entry for identity tests (GH-25168)Raymond Hettinger2021-04-041-0/+87
|
* Doc: Do not suggest `s[::-1]` for reversed order (GH-22457)Andre Delfino2020-10-211-6/+1
|
* Doc: Do not encourage using a base class name in a derived class (GH-22177)Andre Delfino2020-10-211-6/+6
|
* bpo-40341: Remove some "discouraged solutions" in Doc/faq/programming.rst ↵Zackery Spytz2020-10-161-21/+1
| | | | (GH-22726)
* bpo-41774: Tweak new programming FAQ entry (GH-22562)Terry Jan Reedy2020-10-051-1/+1
| | | Remove mention of space in "remove multiple items from list".
* [doc] Update references to NumPy (GH-22458)Andre Delfino2020-10-011-1/+1
| | | Numeric(al) Python to NumPy. It seems the old name hasn't been used for some time.
* bpo-41774: Add programming FAQ entry (GH-22402)Terry Jan Reedy2020-09-291-0/+15
| | | | | In the "Sequences (Tuples/Lists)" section, add "How do you remove multiple items from a list".
* Revert "Fix all Python Cookbook links (#22205)" (GH-22424)Andre Delfino2020-09-271-1/+1
| | | This commit reverts commit ac0333e1e117b7f61ed7ef1dbcdb6e515ada603b as the original links are working again and they provide extended features such as comments and alternative versions.
* [doc] Teach 0-args form of super in Programming FAQ (GH-22176)Andre Delfino2020-09-201-8/+7
|
* Fix all Python Cookbook links (#22205)Andre Delfino2020-09-151-1/+1
|
* Remove reference to Boa Constructor. (GH-22012)Andre Delfino2020-09-021-6/+0
|