summaryrefslogtreecommitdiffstats
path: root/Doc/faq
Commit message (Collapse)AuthorAgeFilesLines
* GH-101898: Fix missing term references for hashable definition (GH-101899)Miss Islington (bot)2023-02-141-1/+1
| | | | | | Fix missing term references for hashable definition (cherry picked from commit 3690688149dca11589af59b7704541336613199a) Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
* [3.10] gh-99276 - Updated Doc/faq/general.rst (GH-101396) (#101462)Miss Islington (bot)2023-01-311-2/+2
| | | | Co-authored-by: Raj <51259329+workingpayload@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* gh-55688: Add note about ending backslashes for raw strings (GH-94768)Miss Islington (bot)2022-12-281-0/+40
| | | | | | (cherry picked from commit b95b1b3b25b0a93a22c7d58ac5bd5870e62070a8) Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com> Co-authored-by: hauntsaninja <hauntsaninja@gmail.com>
* gh-48496: Added example and link to faq for UnboundLocalError in reference ↵Miss Islington (bot)2022-12-221-0/+2
| | | | | | | (GH-93068) (cherry picked from commit f3db68e6e66ebb36e1b9cb30daba913ecc736169) Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
* doc: Formatting and typo fixes (GH-98974)Miss Islington (bot)2022-11-071-5/+5
| | | | | (cherry picked from commit 728e42fcf51cbb2108caf1382df224c13b53d024) Co-authored-by: jmcb <joelsgp@protonmail.com>
* [3.10] gh-96265: Formatting changes for faq/programming (GH-98242) (#98994)Stanley2022-11-031-37/+46
| | | | | | | | | | | | | | | | | | | | * 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>. (cherry picked from commit 0689b99bb8c4f6058af43a52effaa8a25609dbed) Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
* [3.10] Docs: Fix backtick errors found by sphinx-lint (GH-97998) (#98373)C.A.M. Gerlach2022-10-171-1/+1
| | | | | | | | Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>. (cherry picked from commit fa2d43e5184f5eaf3391844ec2400342a1b2ead4) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* gh-96265: Formatting changes for faq/general (GH-98129)Miss Islington (bot)2022-10-121-12/+18
| | | | | | | | | | | | | | | | | | | | | | | * Some formatting changes for general faq * Use list for Python versioning Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> * New line for list, list for a/b/rc * Line wrap for 80 chars * More line wrap * Remove PythonWin mention. Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> (cherry picked from commit e9569ec43e2376aa77240cd630db4be07e8720f3) Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
* [3.10] gh-96959: Update HTTP links which are redirected to HTTPS (GH-98039) ↵Miss Islington (bot)2022-10-071-1/+1
| | | | | | | (#98050) (cherry picked from commit c81c64ca58822156beba79dfd3035bf2a5b7354e) Co-authored-by: 180909 <734461790@qq.com>
* [3.10] gh-97709: Included newline separator in Mandelbrot set (GH-97737) ↵Miss Islington (bot)2022-10-041-2/+2
| | | | | | | | | | | (#97823) Included newline separator in Mandelbrot set Now the Mandelbrot set one-liner example on separates the lines with a '\n' character. (cherry picked from commit 49802605f8e47c5c7ddc8a6cecdf4afe44765586) Co-authored-by: matheusja <matheusjahnke@hotmail.com>
* gh-96959: Update more HTTP links (GH-97536)Miss Islington (bot)2022-09-275-6/+6
| | | | | | | 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. (cherry picked from commit dd53b79de0ea98af6a11481217a961daef4e9774) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* gh-96959: Update HTTP links which are redirected to HTTPS (GH-96961)Miss Islington (bot)2022-09-253-4/+4
| | | | | (cherry picked from commit db39050396a104c73d0da473a2f00a62f9dfdfaa) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* gh-75608: Add Windows FAQ entry for missing UCRT (GH-92765)Miss Islington (bot)2022-09-231-0/+8
| | | | | (cherry picked from commit 80bc7d7c0a3f777da244ec79429baf382523b8da) Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
* gh-91838: Resolve HTTP links which redirect to HTTPS (GH-95642)Miss Islington (bot)2022-08-042-2/+2
| | | | | | | It updates links which redirect to HTTPS with different authority or path. (cherry picked from commit d0d0154443cafb2f0a2cdfb6a1267d80cce8388e) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.10] gh-91838: Use HTTPS links in docs for resources which redirect to ↵Serhiy Storchaka2022-08-043-9/+9
| | | | | | | | | | | | HTTPS (GH-95527) (GH-95644) 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.. (cherry picked from commit f79547a429d5c90af83a0da821e082cba20d4712) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.10] Docs: remove redundant "adverb-adjective" hyphens from compound ↵Łukasz Langa2022-07-052-3/+3
| | | | | | | | modifiers (GH-94551) (GH-94558) Discussion: https://discuss.python.org/t/slight-grammar-fix-throughout-adverbs-dont-need-hyphen/17021 (cherry picked from commit 3440d197a55800ecceea3e115e44b4262411359c) Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
* gh-85023: [doc] clarify parameters vs arguments explanation in FAQ (GH-94282)Miss Islington (bot)2022-06-261-2/+3
| | | | | (cherry picked from commit d71f5adc41569c2d626552269797e0545fc9122c) Co-authored-by: Arun Mani J <49952138+arun-mani-j@users.noreply.github.com>
* [3.10] gh-93851: Fix all broken links in Doc/ (GH-93853) (GH-94078)Łukasz Langa2022-06-212-2/+2
| | | | | | (cherry picked from commit f62ff97f31a775cc7956adeae32c14e7c85bdc15) Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
* Doc: Update references and examples of old, unsupported OSes and uarches ↵Miss Islington (bot)2022-06-091-2/+8
| | | | | | | (GH-92791) (GH-93639) (cherry picked from commit a5ba0f4ebca5020f6c77718a20663e0ac6e194ac) Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
* Remove VOC reference (93333)Miss Islington (bot)2022-05-311-2/+1
| | | | | | | VOC has been archived by the BeeWare project, and they are instead embedding CPython, rather than transpiling to Java bytecode. (cherry picked from commit bb900712a5511ba82ef64105fe28d2a6886a8fed) Co-authored-by: Carl Bordum Hansen <carl@bordum.dk>
* [3.10] gh-76773: Update docs mentioning no-longer-supported Windows versions ↵Miss Islington (bot)2022-05-101-6/+2
| | | | | | | | | | & features (GH-92529) (GH-92609) (cherry picked from commit f1bbcba74f77eff2a4c0881f3d529f3bf0664d40) Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM> Automerge-Triggered-By: GH:serhiy-storchaka
* [3.10] bpo-43504: Remove effbot urls (GH-26308) (#92161)Thaddeus14992022-05-021-3/+0
| | | | | | * [3.10] Remove effbot urls (GH-26308). (cherry picked from commit e9f66aedf44ccc3be27975cfb070a44ce6a6bd13) Co-authored-by: E-Paine <63801254+E-Paine@users.noreply.github.com>
* [3.10] Fix typo in Programming FAQ (GH-92083) (GH-92148)Miss Islington (bot)2022-05-021-1/+1
| | | | | | | I believe the word "with" was missing here. (cherry picked from commit 2a7efa324274a54fe0e5480cae1438d8294b9ec3) Co-authored-by: Matt Harding <majaharding@gmail.com>
* Fix minor grammar error (GH-31325)Miss Islington (bot)2022-02-141-1/+1
| | | | | | "an" followed by consonant should be "a" (cherry picked from commit 0d29e7a06f98e8312b699d4531d27b76add1249f) Co-authored-by: Scott Noyes <snoyes@gmail.com>
* Fix a typo in Doc/faq/programming.rst (GH-31243)Miss Islington (bot)2022-02-141-1/+1
| | | | | | is not longer used -> is no longer used (cherry picked from commit ff5a16759744ee0a43c5d1c209f47e256abc7718) Co-authored-by: Cooper Lees <me@cooperlees.com>
* [3.10] bpo-46502: Remove "How do I tell incomplete input" from FAQ ↵Pablo Galindo Salgado2022-01-271-125/+0
| | | | | | | | | | | | | | | | | | | (GH-30925) (GH-30933) Since, - Py_CompileString no longer allows to distinguish "incomplete input" from "invalid input" - there is no alternative solution available from the Python C API due to how the new parser works (rewritten in 3.9) - the only supported way is to manually import the codeop module from C and use its API as IDLE does, and accept its own complications it is desirable to remove this Q&A from the official FAQ.. (cherry picked from commit f0a648152f2d8011f47cc49873438ebaf01d3f82) Co-authored-by: Mateusz Łoskot <mateusz@loskot.net> Co-authored-by: Mateusz Łoskot <mateusz@loskot.net>
* bpo-43698: do not use `...` as argument name in docs (GH-30502)Miss Islington (bot)2022-01-261-11/+8
| | | | | (cherry picked from commit b9d8980d89bfaa4bf16d60f0488adcc9d2cbf5ef) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* [3.10] bpo-45845: Change link for pyserial (GH-29675)Miss Islington (bot)2021-11-201-2/+2
| | | | | | (cherry picked from commit 123a3527ddd7774e8db325c778927e49172e01d4) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-45845: Remove unresponsive web link (GH-29651) (GH-29674)Miss Islington (bot)2021-11-201-3/+0
| | | | | | | Threading notes by Aahz from OSCON 2001. (cherry picked from commit 985233914504c73f14a23af1c68a3709079e6913) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-45846: Fix capitalisation of Van Rossum at the start of sentence ↵Miss Islington (bot)2021-11-201-1/+1
| | | | | | | (GH-29641) (GH-29656) (cherry picked from commit bc2bc0dbdb52498d009f9f9771452e6aa4faff2b) Co-authored-by: JMcB <joel.mcbride1@live.com>
* bpo-20692: Add Programming FAQ entry for 1.__class__ error. (GH-28918)Miss Islington (bot)2021-10-131-0/+21
| | | | | | To avoid error, add either space or parentheses. (cherry picked from commit 380c44087505d0d560f97e325028f27393551164) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* [3.10] [doc] Fix typos found using codespell (GH-28744) (GH-28758)Christian Clauss2021-10-061-1/+1
|
* bpo-41203: Replace Mac OS X and OS X with macOS (GH-28515) (GH-28523)Miss Islington (bot)2021-09-232-2/+2
| | | | | | | | | | Replace old names when they refer to actual versions of macOS. Keep historical names in references to older versions. Co-authored-by: Patrick Reader <_@pxeger.com> (cherry picked from commit 36122e18148c5b6c78ebce1d36d514fd7cf250f5) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-4442: Document use of __new__ for subclasses of immutable types (GH-27866)Miss Islington (bot)2021-08-221-0/+49
| | | | | (cherry picked from commit eec340ea3af27887fcaac4029ebdee99f3713bff) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
* bpo-44903: Removed othergui.rst and list of GUI frameworks (GH-27762)Miss Islington (bot)2021-08-171-88/+8
| | | | | (cherry picked from commit 6a358bb9482f7595b858ea7b800cbe66f0de5fa1) Co-authored-by: Gautam Chaudhuri <gautam.chaudhuri.1803@gmail.com>
* bpo-44740: Lowercase "internet" and "web" where appropriate. (GH-27378) ↵Miss Islington (bot)2021-07-262-2/+2
| | | | | | | | (GH-27380) Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 11749e2dc20ad6a76e9a39e948853e89b2b4bbed) Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
* bpo-40939: Remove documentation for `PyParser_*` & add porting notes ↵Miss Islington (bot)2021-06-281-33/+2
| | | | | | | | | | | (GH-26855) (GH-26898) I tried to be relatively thorough and give lots of links. One reason is that this wasn't deprecated very long; also it seems people running into this tend to not be familiar with similar APIs. (cherry picked from commit 29987f72650b7cccee4df216c8297e8484a44e6a) Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Co-authored-by: Petr Viktorin <encukou@gmail.com>
* bpo-13814: Explain why generators are not context managers (GH-26835)Miss Islington (bot)2021-06-211-0/+9
| | | | | | | | Put entry in Design FAQ after a question about a context manager for assignment. Original patch by Aidan Lowe. (cherry picked from commit 51f45d085dad3b708f6fe166af517aba69e7e9f7) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* Remove dubious suggestion (GH-26789) (#26797)Miss Islington (bot)2021-06-191-18/+0
|
* bpo-44310: Add a FAQ entry for caching method calls (GH-26731) (GH-26777)Miss Islington (bot)2021-06-171-0/+97
|
* Point to recent link to PyFLTK (GH-26315) (GH-26366)Miss Islington (bot)2021-05-251-1/+1
| | | | | | | (cherry picked from commit ee3d78ef730116f2c43afc248d207ca1d47eee08) Co-authored-by: Mark <mark@qtrac.eu> Co-authored-by: Mark <mark@qtrac.eu>
* bpo-30757: Improve "How to make stand-alone binaries" FAQ (GH-26309) (GH-26311)Miss Islington (bot)2021-05-222-10/+12
| | | | | | | | | Co-authored-by: denfromufa <denfromufa@users.noreply.github.com> Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> (cherry picked from commit 2a1e6698b10a7b58c6ac66429de0f51cb739da35) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* [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-262-9/+8
|
* Doc: Try to enhance wording on circular imports. (GH-24705)Julien Palard2021-04-131-10/+10
|
* bpo-43723: Deprecate camelCase aliases from threading (GH-25174)Jelle Zijlstra2021-04-121-2/+2
| | | | | | The snake_case names have existed since Python 2.6, so there is no reason to keep the old camelCase names around. One similar method, threading.Thread.isAlive, was already removed in Python 3.9 (bpo-37804).
* 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
|
* Fix typo in the word "spaghetti" (GH-24866)Kazantcev Andrey2021-03-151-1/+1
| | | Automerge-Triggered-By: GH:Mariatta
* bpo-43199: Briefly explain why no goto (GH-24852)Terry Jan Reedy2021-03-141-1/+9
| | | | Answer "Why is there no goto?" in the Design and History FAQ.