File tree Expand file tree Collapse file tree 13 files changed +35
-21
lines changed Expand file tree Collapse file tree 13 files changed +35
-21
lines changed Original file line number Diff line number Diff line change 251
251
r'https://github.com/python/cpython/tree/.*' : 'https://github.com/python/cpython/blob/.*'
252
252
}
253
253
254
+ linkcheck_anchors_ignore = [
255
+ # ignore anchors that start with a '/', e.g. Wikipedia media files:
256
+ # https://en.wikipedia.org/wiki/Walrus#/media/File:Pacific_Walrus_-_Bull_(8247646168).jpg
257
+ r'\/.*' ,
258
+ ]
259
+
260
+ linkcheck_ignore = [
261
+ # The crawler gets "Anchor not found"
262
+ r'https://developer.apple.com/documentation/.+?#.*' ,
263
+ r'https://devguide.python.org.+?/#.*' ,
264
+ r'https://github.com.+?#.*' ,
265
+ # Robot crawlers not allowed: "403 Client Error: Forbidden"
266
+ r'https://support.enthought.com/hc/.*' ,
267
+ # SSLError CertificateError, even though it is valid
268
+ r'https://unix.org/version2/whatsnew/lp64_wp.html' ,
269
+ ]
270
+
271
+
254
272
# Options for extensions
255
273
# ----------------------
256
274
Original file line number Diff line number Diff line change @@ -130,14 +130,10 @@ involved in creating and publishing a project:
130
130
* `Uploading the project to the Python Package Index `_
131
131
* `The .pypirc file `_
132
132
133
- .. _Project structure : \
134
- https://packaging.python.org/tutorials/packaging-projects/#packaging-python-projects
135
- .. _Building and packaging the project : \
136
- https://packaging.python.org/tutorials/packaging-projects/#creating-the-package-files
137
- .. _Uploading the project to the Python Package Index : \
138
- https://packaging.python.org/tutorials/packaging-projects/#uploading-the-distribution-archives
139
- .. _The .pypirc file : \
140
- https://packaging.python.org/specifications/pypirc/
133
+ .. _Project structure : https://packaging.python.org/tutorials/packaging-projects/#packaging-python-projects
134
+ .. _Building and packaging the project : https://packaging.python.org/tutorials/packaging-projects/#creating-the-package-files
135
+ .. _Uploading the project to the Python Package Index : https://packaging.python.org/tutorials/packaging-projects/#uploading-the-distribution-archives
136
+ .. _The .pypirc file : https://packaging.python.org/specifications/pypirc/
141
137
142
138
143
139
How do I...?
Original file line number Diff line number Diff line change @@ -780,7 +780,7 @@ socket to :meth:`select.select` to check if it's writable.
780
780
The :mod:` asyncio` module provides a general purpose single-threaded and
781
781
concurrent asynchronous library, which can be used for writing non-blocking
782
782
network code.
783
- The third-party ` Twisted < https://twistedmatrix.com/trac /> ` _ library is
783
+ The third-party ` Twisted < https://twisted.org /> ` _ library is
784
784
a popular and feature-rich alternative.
785
785
786
786
Original file line number Diff line number Diff line change @@ -1208,8 +1208,8 @@ General
1208
1208
-------
1209
1209
1210
1210
**Structure and Interpretation of Computer Programs **, by Harold Abelson and
1211
- Gerald Jay Sussman with Julie Sussman. Full text at
1212
- https://mitpress.mit.edu/sicp/ . In this classic textbook of computer science,
1211
+ Gerald Jay Sussman with Julie Sussman. The book can be found at
1212
+ https://mitpress.mit.edu/sicp. In this classic textbook of computer science,
1213
1213
chapters 2 and 3 discuss the use of sequences and streams to organize the data
1214
1214
flow inside a program. The book uses Scheme for its examples, but many of the
1215
1215
design approaches described in these chapters are applicable to functional-style
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ response::
86
86
87
87
import urllib.request
88
88
89
- req = urllib.request.Request('http://www.voidspace. org.uk ')
89
+ req = urllib.request.Request('http://python. org/ ')
90
90
with urllib.request.urlopen(req) as response:
91
91
the_page = response.read()
92
92
@@ -458,7 +458,7 @@ To illustrate creating and installing a handler we will use the
458
458
``HTTPBasicAuthHandler ``. For a more detailed discussion of this subject --
459
459
including an explanation of how Basic Authentication works - see the `Basic
460
460
Authentication Tutorial
461
- <http://www.voidspace.org.uk/python/articles/authentication.shtml> `_ .
461
+ <https://web.archive.org/web/20201215133350/ http://www.voidspace.org.uk/python/articles/authentication.shtml> `__ .
462
462
463
463
When authentication is required, the server sends a header (as well as the 401
464
464
error code) requesting authentication. This specifies the authentication scheme
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ function.
19
19
20
20
Readline keybindings may be configured via an initialization file, typically
21
21
``.inputrc `` in your home directory. See `Readline Init File
22
- <https://tiswww.cwru.edu/php/chet/readline/rluserman.html#SEC9 > `_
22
+ <https://tiswww.cwru.edu/php/chet/readline/rluserman.html#Readline-Init-File > `_
23
23
in the GNU Readline manual for information about the format and
24
24
allowable constructs of that file, and the capabilities of the
25
25
Readline library in general.
Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ this edition of "What's New in Python" links to the bug/patch
172
172
item for each change.
173
173
174
174
Hosting of the Python bug tracker is kindly provided by
175
- `Upfront Systems <http ://www. upfrontsoftware.co.za >`__
175
+ `Upfront Systems <https ://upfrontsoftware.co.za >`__
176
176
of Stellenbosch, South Africa. Martin von Löwis put a
177
177
lot of effort into importing existing bugs and patches from
178
178
SourceForge; his scripts for this import operation are at
Original file line number Diff line number Diff line change @@ -2103,7 +2103,7 @@ Changes to Python's build process and to the C API include:
2103
2103
2104
2104
* The latest release of the GNU Debugger, GDB 7, can be `scripted
2105
2105
using Python
2106
- <https://sourceware.org/gdb/current/onlinedocs/gdb/Python.html> `__.
2106
+ <https://web.archive.org/web/20110715084810/http:// sourceware.org/gdb/current/onlinedocs/gdb/Python.html> `__.
2107
2107
When you begin debugging an executable program P, GDB will look for
2108
2108
a file named ``P-gdb.py `` and automatically read it. Dave Malcolm
2109
2109
contributed a :file: `python-gdb.py ` that adds a number of
Original file line number Diff line number Diff line change @@ -357,7 +357,7 @@ Wirtel
357
357
358
358
Add TLSVersion constants and SSLContext.maximum_version / minimum_version
359
359
attributes. The new API wraps OpenSSL 1.1
360
- https://www.openssl.org/docs/man1.1.0/ssl/SSL_CTX_set_min_proto_version.html
360
+ https://web.archive.org/web/20180309043602/https:// www.openssl.org/docs/man1.1.0/ssl/SSL_CTX_set_min_proto_version.html
361
361
feature.
362
362
363
363
..
Original file line number Diff line number Diff line change @@ -5951,7 +5951,7 @@ Wirtel
5951
5951
5952
5952
Add TLSVersion constants and SSLContext.maximum_version / minimum_version
5953
5953
attributes. The new API wraps OpenSSL 1.1
5954
- https://www.openssl.org/docs/man1.1.0/ssl/SSL_CTX_set_min_proto_version.html
5954
+ https://web.archive.org/web/20180309043602/https:// www.openssl.org/docs/man1.1.0/ssl/SSL_CTX_set_min_proto_version.html
5955
5955
feature.
5956
5956
5957
5957
..
You can’t perform that action at this time.
0 commit comments