Skip to content

Commit c01cd3c

Browse files
Merge branch 'main' into translation/source
2 parents 3d01325 + 8eb9cb2 commit c01cd3c

3 files changed

Lines changed: 14 additions & 1 deletion

File tree

‎source/conf.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,8 @@
148148
# Ignore while StackOverflow is blocking GitHub CI. Ref:
149149
# https://github.com/pypa/packaging.python.org/pull/1474
150150
r"https://stackoverflow\.com/.*",
151+
# Cloudflare challenge blocks automated link checking.
152+
r"https://clickpy\.clickhouse\.com/$",
151153
r"https://pyscaffold\.org/.*",
152154
r"https://anaconda\.org",
153155
r"https://www\.cisa\.gov/sbom",

‎source/overview.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ A similar model involves installing an alternative Python
279279
distribution, but does not support arbitrary operating system-level
280280
packages:
281281

282-
* `ActiveState ActivePython <https://www.activestate.com/products/python/>`_
282+
* `ActiveState ActivePython <https://www.activestate.com/platform/supported-languages/python>`_
283283
* `WinPython <http://winpython.github.io/>`_
284284

285285
.. _bringing-your-own-python:

‎source/specifications/inline-script-metadata.rst‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,17 @@ and the regular expression, the text specification takes precedence.
7070
Tools MUST NOT read from metadata blocks with types that have not been
7171
standardized by this specification.
7272

73+
Note that the specification only requires that *top-level* comment blocks are
74+
recognised as containing metadata. However, parsing Python code is non-trivial,
75+
and therefore:
76+
77+
* Tools MAY choose to do a simple textual scan, rather than a full Python parse.
78+
* As a result of the previous point, the behaviour of scripts that contain data
79+
that looks like metadata within another Python construct such as a multi-line
80+
string is tool-dependent and should not be relied on.
81+
* The canonical regular expression provided above is an example of an
82+
implementation that does a simple textual scan.
83+
7384
script type
7485
-----------
7586

0 commit comments

Comments
 (0)