Stanley
b95b1b3b25
gh-55688: Add note about ending backslashes for raw strings ( #94768 )
...
Co-authored-by: hauntsaninja <hauntsaninja@gmail.com>
2022-12-28 00:30:42 -05:00
Stanley
f3db68e6e6
gh-48496: Added example and link to faq for UnboundLocalError in reference ( #93068 )
2022-12-22 17:23:25 -06:00
Samuel Sloniker
97c493dd35
gh-84522: Add for-loop to apply-method-to-sequence FAQ ( #94660 )
2022-11-10 22:16:16 -06:00
jmcb
728e42fcf5
doc: Formatting and typo fixes ( #98974 )
2022-11-06 20:55:55 -08:00
Stanley
0689b99bb8
gh-96265: Formatting changes for faq/programming ( #98242 )
...
* 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>
2022-11-01 21:58:44 -07:00
Stanley
e9569ec43e
gh-96265: Formatting changes for faq/general ( #98129 )
...
* 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>
2022-10-12 18:04:41 +02:00
Jelle Zijlstra
0f111f53c1
gh-96073: fix backticks in NEWS entry (GH-98056)
...
Automerge-Triggered-By: GH:JelleZijlstra
2022-10-07 14:44:56 -07:00
Stanley
3a7e955858
gh-96265: Fix some formatting in faq/design.rst ( #96924 )
...
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-10-07 12:15:41 -07:00
180909
c81c64ca58
gh-96959: Update HTTP links which are redirected to HTTPS ( #98039 )
2022-10-07 11:52:45 -07:00
Hugo van Kemenade
fa2d43e518
Docs: Fix backtick errors found by sphinx-lint ( #97998 )
...
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
2022-10-06 18:01:30 -07:00
matheusja
49802605f8
gh-97709: Included newline separator in Mandelbrot set ( #97737 )
...
Included newline separator in Mandelbrot set
Now the Mandelbrot set one-liner example on separates the lines with a '\n' character.
2022-10-03 22:34:02 -07:00
Serhiy Storchaka
dd53b79de0
gh-96959: Update more HTTP links (GH-97536)
...
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.
2022-09-27 14:08:11 +03:00
Serhiy Storchaka
db39050396
gh-96959: Update HTTP links which are redirected to HTTPS (GH-96961)
2022-09-24 14:38:53 +03:00
Stanley
80bc7d7c0a
gh-75608: Add Windows FAQ entry for missing UCRT (GH-92765)
2022-09-23 11:44:01 +01:00
Stanley
e5ab0b6aa6
gh-71141: Add note on rejecting "leading-dot" syntax for with statements ( #96928 )
...
Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
2022-09-20 21:16:39 -07:00
Raymond Hettinger
bbc24b2bd5
GH-96851: Add link to FAQ entry for caching method calls. (GH-96902)
2022-09-18 16:36:20 -05:00
partev
b17aae8bbd
gh-95413: Remove references to deprecated CGI library ( #95414 )
2022-08-30 13:14:08 +02:00
Serhiy Storchaka
d0d0154443
gh-91838: Resolve HTTP links which redirect to HTTPS (GH-95642)
...
It updates links which redirect to HTTPS with different authority or
path.
2022-08-04 13:30:05 +03:00
Serhiy Storchaka
f79547a429
gh-91838: Use HTTPS links in docs for resources which redirect to HTTPS (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.
2022-08-04 10:13:49 +03:00
Ned Batchelder
3440d197a5
Docs: remove redundant "adverb-adjective" hyphens from compound modifiers (GH-94551)
...
Discussion: https://discuss.python.org/t/slight-grammar-fix-throughout-adverbs-dont-need-hyphen/17021
2022-07-05 11:16:10 +02:00
Arun Mani J
d71f5adc41
gh-85023: [doc] clarify parameters vs arguments explanation in FAQ (GH-94282)
2022-06-26 22:57:41 +01:00
Oleg Iarygin
f62ff97f31
gh-93851: Fix all broken links in Doc/ (GH-93853)
2022-06-21 20:55:18 +02:00
CAM Gerlach
a5ba0f4ebc
Doc: Update references and examples of old, unsupported OSes and uarches (GH-92791)
2022-06-09 15:55:06 +02:00
Carl Bordum Hansen
bb900712a5
Remove VOC reference (93333)
...
VOC has been archived by the BeeWare project, and they are instead
embedding CPython, rather than transpiling to Java bytecode.
2022-05-31 10:29:21 -07:00
CAM Gerlach
f1bbcba74f
gh-76773: Update docs mentioning no-longer-supported Windows versions & features (GH-92529)
2022-05-10 09:30:32 +03:00
slateny
9dc4aae8e9
Link to GitHub instead of BPO for CPython bug tracker (GH-92221)
2022-05-03 22:40:36 +08:00
Matt Harding
2a7efa3242
Fix typo in Programming FAQ ( #92083 )
...
I believe the word "with" was missing here.
2022-05-02 09:01:03 -06:00
Raymond Hettinger
f4b328e2bb
Clarify that this sentence applies to the above example. GH-32405
2022-04-07 21:10:00 -05:00
Hugo van Kemenade
6881ea936e
bpo-47126: Update to canonical PEP URLs specified by PEP 676 (GH-32124)
2022-03-30 12:00:27 +01:00
Cooper Lees
ff5a167597
Fix a typo in Doc/faq/programming.rst (GH-31243)
...
is not longer used -> is no longer used
2022-02-14 10:49:28 -08:00
Scott Noyes
0d29e7a06f
Fix minor grammar error ( #31325 )
...
"an" followed by consonant should be "a"
2022-02-14 10:45:48 -08:00
Mateusz Łoskot
f0a648152f
bpo-46502: Remove "How do I tell incomplete input" from FAQ (GH-30925)
...
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.
2022-01-26 23:49:06 +00:00
Nikita Sobolev
b9d8980d89
bpo-43698: do not use `...` as argument name in docs (GH-30502)
2022-01-26 19:06:10 +09:00
Terry Jan Reedy
123a3527dd
bpo-45845: Change link for pyserial (GH-29675)
2021-11-20 14:56:42 -05:00
Terry Jan Reedy
9852339145
bpo-44844: Remove unresponsive web link (GH-29651)
...
Threading notes by Aahz from OSCON 2001.
2021-11-20 13:21:14 -05:00
JMcB
bc2bc0dbdb
bpo-45846: Fix capitalisation of Van Rossum at the start of sentence (GH-29641)
2021-11-20 11:35:39 +02:00
Victor Stinner
105582e74c
bpo-45434: Remove Include/eval.h header file (GH-28973)
...
Move Include/eval.h content into Include/ceval.h and
Include/cpython/ceval.h, and remove Include/eval.h.
2021-10-15 13:06:05 +02:00
Terry Jan Reedy
380c440875
bpo-20692: Add Programming FAQ entry for 1.__class__ error. (GH-28918)
...
To avoid error, add either space or parentheses.
2021-10-13 01:14:58 -04:00
Christian Clauss
241bda785a
[doc] Fix typos found using codespell (GH-28744)
...
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2021-10-05 23:48:44 +02:00
Serhiy Storchaka
36122e1814
bpo-41203: Replace Mac OS X and OS X with macOS (GH-28515)
...
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>
2021-09-22 20:33:36 +03:00
Raymond Hettinger
eec340ea3a
bpo-4442: Document use of __new__ for subclasses of immutable types (GH-27866)
2021-08-22 21:27:06 +02:00
Gautam Chaudhuri
6a358bb948
bpo-44903: Removed othergui.rst and list of GUI frameworks (GH-27762)
2021-08-17 11:00:58 +02:00
Mariusz Felisiak
11749e2dc2
bpo-44740: Lowercase "internet" and "web" where appropriate. ( #27378 )
...
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2021-07-27 00:11:55 +02:00
Petr Viktorin
29987f7265
bpo-40939: Remove documentation for `PyParser_*` & add porting notes (GH-26855)
...
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.
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
2021-06-24 14:57:28 +02:00
Terry Jan Reedy
51f45d085d
bpo-13814: Explain why generators are not context managers (GH-26835)
...
Put entry in Design FAQ after a question about a context manager for assignment.
Original patch by Aidan Lowe.
2021-06-21 17:23:29 -04:00
Raymond Hettinger
e5c7ee1156
Remove dubious suggestion (GH-26789)
...
Remove the weakref example. If a new instance is created and the same arguments are passes, it raises a ReferenceError.
2021-06-18 19:19:32 -05:00
Raymond Hettinger
7f01f77f8f
bpo-44310: Add a FAQ entry for caching method calls (GH-26731)
2021-06-17 15:39:42 -05:00
Mark
ee3d78ef73
Point to recent link to PyFLTK (GH-26315)
2021-05-25 17:37:28 -03:00
Erlend Egeberg Aasland
2a1e6698b1
bpo-30757: Improve "How to make stand-alone binaries" FAQ (GH-26309)
...
Co-authored-by: denfromufa <denfromufa@users.noreply.github.com>
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
2021-05-22 23:03:09 +01:00
E-Paine
e9f66aedf4
Remove effbot urls (GH-26308)
2021-05-22 14:09:54 +02:00