Łukasz Langa
d542a9be51
[3.11] gh-121957: Emit audit events for python -i and python -m asyncio (GH-122118)
2024-07-22 13:44:55 +02:00
Miss Islington (bot)
7eedaf4a86
[3.11] gh-117058: Update GUI and packaging recommendations for macOS. (GH-117059) ( #117082 )
...
Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
2024-03-20 17:52:29 +02:00
Miss Islington (bot)
76c4ab31c9
[3.11] gh-90300: Fix cmdline.rst (GH-116721) (GH-116725)
...
* Fix the description of the "-b" option.
* Add references to environment variables for "-s" and "-X dev" options.
(cherry picked from commit 33662d4e01
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2024-03-13 13:56:25 +00:00
Serhiy Storchaka
e89f2a0be1
[3.11] gh-115664: Fix ordering of more versionadded and versionchanged directives (GH-116298) (GH-116450) (GH-116452)
...
(cherry picked from commit 1e75fe1468
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
(cherry picked from commit 808a77612f
)
2024-03-07 08:35:24 +00:00
Hugo van Kemenade
e5595288c9
[3.11] Docs: update using/configure.rst (GH-116274) ( #116277 )
2024-03-04 13:57:35 -07:00
Miss Islington (bot)
9daf55e5be
[3.11] gh-115872: Doc: remove obsolete reference to MSI packages (GH-115873) ( #115877 )
...
Co-authored-by: partev <petrosyan@gmail.com>
2024-02-24 01:17:36 -07:00
Miss Islington (bot)
a0434b21d3
[3.11] gh-115795: Doc: fix obsolete URL (GH-115749) ( #115804 )
...
gh-115795: Doc: fix obsolete URL (GH-115749)
(cherry picked from commit 7bc79371a6
)
Co-authored-by: partev <petrosyan@gmail.com>
2024-02-22 06:51:43 +00:00
Brian Schubert
61f2085687
[3.11] gh-115664: Fix chronological ordering of versionadded and versionchanged directives (GH-115676) ( #115681 )
...
Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
2024-02-19 18:42:19 +00:00
Miss Islington (bot)
d87a02223c
[3.11] Update "Using Python on a Mac" (GH-115024) ( #115388 )
...
Update "Using Python on a Mac" (GH-115024)
(cherry picked from commit 0a6e1a4119
)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-02-13 09:06:35 +02:00
Adam Turner
71288ed8b0
[3.11] GH-92584: Move installation schemes overview to sysconfig docs (GH-108018) ( #110214 )
...
* Add new installation path functions subsection
* Add content from install/index to sysconfig
* Fix table
* Update note about installers
* Clean up the list of schemes, remove references to Distutils.
(cherry picked from commit f16e81f368
)
2024-01-11 23:48:10 +00:00
Serhiy Storchaka
c92a473a71
[3.11] gh-113664: Improve style of Big O notation (GH-113695) (GH-113910)
...
Use cursive to make it looking like mathematic formulas.
(cherry picked from commit a8629816c6
)
2024-01-10 13:13:27 +00:00
Serhiy Storchaka
f78f6b6e89
[3.11] gh-112999: Replace the outdated "deprecated" directives with "versionchanged" (GH-113000) (GH-113020)
...
(cherry picked from commit fe9991bb67
)
2023-12-12 17:17:35 +00:00
Miss Islington (bot)
2d615e1c26
[3.11] gh-101100: Fix sphinx warnings in usage/cmdline.rst
(GH-110841) ( #110856 )
...
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2023-10-14 00:28:52 -06:00
Ezio Melotti
90b2620b6e
[3.11] gh-110631: Fix reST indentation (GH-110724) ( #110739 )
...
* Fix wrong indentation in the other dirs.
* Fix more wrong indentation..
(cherry picked from commit 718391f475
)
2023-10-11 23:12:53 +02:00
Adam Turner
8394368f1f
[3.11] Docs: Avoid the deprecated `.. cmdoption::
` directive (GH-110292) ( #110303 )
...
[3.11] Docs: Avoid the deprecated ``.. cmdoption::`` directive (GH-110292).
(cherry picked from commit 77e9aae383
)
2023-10-05 20:30:26 +03:00
Serhiy Storchaka
c534637106
[3.11] gh-109634: Use :samp: role (GH-109635) (GH-109778)
...
(cherry picked from commit 92af0cc580
)
Co-authored-by: Jacob Coffee <jacob@z7x.org>
2023-09-29 09:39:31 +03:00
Victor Stinner
d951aaea97
[3.11] gh-107298: Document PyMODINIT_FUNC macro ( #109236 ) ( #109948 )
...
gh-107298: Document PyMODINIT_FUNC macro (#109236 )
Document PyMODINIT_FUNC macro.
Remove links to PyAPI_FUNC() and PyAPI_DATA() macros since they are
not documented. These macros should only be used to define the Python
C API. They should not be used outside Python code base.
(cherry picked from commit d7a27e527d
)
2023-09-27 10:40:24 +02:00
Miss Islington (bot)
c485715ba8
[3.11] gh-101100: Fix Sphinx warnings in Doc/using/configure.rst (GH-109931) ( #109938 )
...
gh-101100: Fix Sphinx warnings in Doc/using/configure.rst (GH-109931)
(cherry picked from commit 3538930d87
)
Co-authored-by: Victor Stinner <vstinner@python.org>
2023-09-27 02:35:26 +02:00
Miss Islington (bot)
7cabbb133a
[3.11] gh-109474: Update two Unix packaging URLs (GH-109307) ( #109478 )
...
gh-109474: Update two Unix packaging URLs (GH-109307)
update packaging URLs
fix a broken URL for fedora RPM packaging guide and fix a URL redirect for Slackware packaging guide.
(cherry picked from commit 0b38ce440b
)
Co-authored-by: partev <petrosyan@gmail.com>
2023-09-16 07:56:16 +00:00
Alex Waygood
b1ed10f413
[3.11] Fix misc doc typos (GH-108592) ( #108613 )
...
(cherry picked from commit 88f1c5b
)
Co-authored-by: xzmeng <aumo@foxmail.com>
2023-08-29 08:56:14 +00:00
Serhiy Storchaka
358b1acc69
[3.11] gh-107298: Fix some references in the C API documentation (GH-108072) (GH-108076)
...
(cherry picked from commit f51f0466c0
)
2023-08-17 08:30:47 +00:00
Adam Turner
e3a11e12ab
[3.11] GH-92584: Remove reference to Distutils in `cx_Freeze
`'s description (GH-108047) ( #108061 )
...
Remove reference to Distutils in ``cx_Freeze``'s description.
(cherry picked from commit 57fcf96e4f
)
2023-08-16 23:01:27 +02:00
Miss Islington (bot)
ba2d6c9d1a
[3.11] GH-92584: Redirect macOS package installation to the PPUG (GH-108044) ( #108059 )
...
GH-92584: Redirect macOS package installation to the PPUG (GH-108044)
(cherry picked from commit 902864256c
)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-08-16 20:50:49 +00:00
Serhiy Storchaka
b338ac7540
[3.11] gh-106909: Use role :const: for referencing module constants (GH-106910) (GH-106957)
...
(cherry picked from commit 4b9948617f
)
2023-07-21 14:49:57 +03:00
Serhiy Storchaka
cc76113cf8
[3.11] gh-106892: Use roles :data: and :const: for referencing module variables (GH-106894) (GH-106955)
...
(cherry picked from commit d036db728e
)
2023-07-21 14:49:21 +03:00
Serhiy Storchaka
6bde1b9f04
[3.11] gh-106919: Use role :c:macro: for referencing the C "constants" (GH-106920) (GH-106952)
...
(cherry picked from commit fcc816dbff
)
2023-07-21 14:48:30 +03:00
Rafael Fontenelle
5e76305236
[3.11] GH-103484: Fix redirected permanently URLs (GH-104001) ( #104088 )
...
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Oleg Iarygin <dralife@yandex.ru>
Fix redirected permanently URLs (#104001 )
2023-05-02 14:50:16 +03:00
Miss Islington (bot)
34df9e740d
[3.11] Change 'dependant' to 'dependent' (GH-103745) ( #103754 )
...
Co-authored-by: Christopher Chavez <chrischavez@gmx.us>
2023-04-24 08:22:24 -06:00
Miss Islington (bot)
4c4ef50ec2
GH-83893: Cross reference env. vars and -X command line options (GH-103414)
...
(cherry picked from commit d65ed693a8
)
Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
Co-authored-by: Erlend E. Aasland
2023-04-16 16:09:50 -07:00
Miss Islington (bot)
3ddf397217
gh-101100: Documenting --prefix and --exec-prefix. (GH-102695)
...
(cherry picked from commit 61b9ff35cb
)
Co-authored-by: Julien Palard <julien@palard.fr>
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
2023-03-15 15:13:48 -07:00
Miss Islington (bot)
738dde303b
[3.11] gh-102354: change python3 to python in docs examples (GH-102696) ( #102697 )
...
gh-102354: change python3 to python in docs examples (GH-102696)
(cherry picked from commit 80abd62647
)
Co-authored-by: Paul Watson <paul.hermeneutic@gmail.com>
2023-03-14 12:52:33 -06:00
Miss Islington (bot)
e98fa7121d
gh-101467: Correct py.exe handling of prefix matches and cases when only one runtime is installed (GH-101468)
...
(cherry picked from commit eda60916bc
)
Co-authored-by: Steve Dower <steve.dower@python.org>
2023-02-01 13:31:21 -08:00
Miss Islington (bot)
34679913fe
Fix trivial typo in shebang example (GH-101385)
...
The example was showing the current version, but should be pinned to 3.7 to match the example command.
(cherry picked from commit 666c0840dc
)
Co-authored-by: socal-nerdtastic <37753609+socal-nerdtastic@users.noreply.github.com>
2023-01-29 13:14:23 -08:00
Miss Islington (bot)
a3510c3a4e
gh-100247: Improve documentation for custom shebang commands in py.exe launcher (GH-101083)
...
(cherry picked from commit 30753c37c6
)
Co-authored-by: Steve Dower <steve.dower@python.org>
2023-01-16 09:13:47 -08:00
Miss Islington (bot)
6492492ce7
gh-100247: Fix py.exe launcher not using entire shebang command for finding custom commands (GH-100944)
...
(cherry picked from commit 468c3bf798
)
Co-authored-by: Steve Dower <steve.dower@python.org>
2023-01-13 04:52:28 -08:00
Miss Islington (bot)
46a3cf4fe3
gh-98692: Enable treating shebang lines as executables in py.exe launcher (GH-98732)
...
(cherry picked from commit 88297e2a8a
)
Co-authored-by: Steve Dower <steve.dower@python.org>
2022-10-31 14:31:26 -07:00
Stanley
5f86275ec2
[3.11] Change links to label refs (GH-98454) ( #98725 )
...
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
(cherry picked from commit 268129a74f
)
2022-10-26 13:18:50 -07:00
Vinay Sajip
3b7e0204bf
[3.11] [doc] Refresh the venv introduction documentation, and correct the st… (GH-98465)
...
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Phil Elson <pelson.pub@gmail.com>
2022-10-19 22:28:24 +01:00
C.A.M. Gerlach
ea19c28512
[3.11] Docs: Fix backtick errors found by sphinx-lint (GH-97998) ( #98371 )
...
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>.
(cherry picked from commit fa2d43e518
)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2022-10-18 01:49:38 +02:00
Miss Islington (bot)
c9d0a7a6bc
[3.11] Remove extra spaces in custom openSSL documentation. (GH-93568) ( #98007 )
...
Remove extra spaces in custom openSSL documentation. (GH-93568)
(cherry picked from commit 4875433682
)
Co-authored-by: Xiao Chen <chenxiao_7@163.com>
Co-authored-by: Xiao Chen <chenxiao_7@163.com>
2022-10-06 17:56:24 -07:00
Miss Islington (bot)
3263aaf83f
gh-97754: Update doc for default location of per-user installs on Windows (GH-97756)
...
(cherry picked from commit a120b9f25d
)
Co-authored-by: Ben Faulhaber <111227622+faulhaberben@users.noreply.github.com>
2022-10-04 09:13:37 -07:00
Miss Islington (bot)
dfe23ee20f
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.
(cherry picked from commit dd53b79de0
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2022-09-27 04:16:37 -07:00
Gregory P. Smith
f8b71da9aa
[3.11] gh-95778: CVE-2020-10735: Prevent DoS by very large int() ( #96500 )
...
Integer to and from text conversions via CPython's bignum `int` type is not safe against denial of service attacks due to malicious input. Very large input strings with hundred thousands of digits can consume several CPU seconds.
This PR comes fresh from a pile of work done in our private PSRT security response team repo.
This backports https://github.com/python/cpython/pull/96499 aka 511ca94520
Signed-off-by: Christian Heimes [Red Hat] <christian@python.org>
Tons-of-polishing-up-by: Gregory P. Smith [Google] <greg@krypto.org>
Reviews via the private PSRT repo via many others (see the NEWS entry in the PR).
<!-- gh-issue-number: gh-95778 -->
* Issue: gh-95778
<!-- /gh-issue-number -->
I wrote up [a one pager for the release managers](https://docs.google.com/document/d/1KjuF_aXlzPUxTK4BMgezGJ2Pn7uevfX7g0_mvgHlL7Y/edit# ).
2022-09-02 09:48:57 -07:00
Miss Islington (bot)
96c1f013b3
gh-95155: Update "Using Python on a Mac" documentation (GH-95284) (GH-95742)
...
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit d25ff1f613
)
Co-authored-by: Howie Zhao <howiezhaohr@hotmail.com>
2022-08-06 19:15:48 +02:00
Serhiy Storchaka
d8df7e0207
[3.11] gh-91838: Use HTTPS links in docs for resources which redirect to HTTPS (GH-95527) (GH-95643)
...
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 f79547a429
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2022-08-04 11:45:03 +03:00
Miss Islington (bot)
2c0017b5e6
gh-94399: Restore PATH search behaviour of py.exe launcher for '/usr/bin/env' shebang lines (GH-95582)
...
(cherry picked from commit 67840edb28
)
Co-authored-by: Steve Dower <steve.dower@python.org>
2022-08-03 15:00:46 -07:00
Miss Islington (bot)
5f139e5044
gh-92219: Clarify that some options to the installer may break the install (GH-95548)
...
(cherry picked from commit d2c1a9c76c
)
Co-authored-by: Steve Dower <steve.dower@python.org>
2022-08-01 17:06:22 -07:00
Christian Heimes
9af9ea28e7
[3.11] gh-95415: Make availability directive consistent (GH-95416) (GH-95438)
...
Co-authored-by: Christian Heimes <christian@python.org>
2022-08-01 14:26:19 +02:00
Miss Islington (bot)
e2e8ec0760
GH-95029: Describe Windows Store package isolation and redirection in more detail (GH-95030)
...
(cherry picked from commit b1924b1006
)
Co-authored-by: Anthony Shaw <anthony.p.shaw@gmail.com>
2022-07-20 17:11:01 -07:00
Miss Islington (bot)
77bf973930
Docs: remove redundant "adverb-adjective" hyphens from compound modifiers (GH-94551) (GH-94557)
...
Discussion: https://discuss.python.org/t/slight-grammar-fix-throughout-adverbs-dont-need-hyphen/17021
(cherry picked from commit 3440d197a5
)
Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
2022-07-05 14:30:19 +02:00