[3.12] Docs: Update two FAQs for Python 3 (GH-124247) (GH-124256)

(cherry picked from commit 5f01111594)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
Miss Islington (bot) 2024-09-24 08:42:00 +02:00 committed by GitHub
parent 4b221bf878
commit d26d0a10b1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 8 deletions

View file

@ -246,13 +246,12 @@ Then, when you run GDB:
I want to compile a Python module on my Linux system, but some files are missing. Why? I want to compile a Python module on my Linux system, but some files are missing. Why?
-------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------
Most packaged versions of Python don't include the Most packaged versions of Python omit some files
:file:`/usr/lib/python2.{x}/config/` directory, which contains various files
required for compiling Python extensions. required for compiling Python extensions.
For Red Hat, install the python-devel RPM to get the necessary files. For Red Hat, install the python3-devel RPM to get the necessary files.
For Debian, run ``apt-get install python-dev``. For Debian, run ``apt-get install python3-dev``.
How do I tell "incomplete input" from "invalid input"? How do I tell "incomplete input" from "invalid input"?
------------------------------------------------------ ------------------------------------------------------

View file

@ -309,10 +309,9 @@ guaranteed that interfaces will remain the same throughout a series of bugfix
releases. releases.
The latest stable releases can always be found on the `Python download page The latest stable releases can always be found on the `Python download page
<https://www.python.org/downloads/>`_. There are two production-ready versions <https://www.python.org/downloads/>`_.
of Python: 2.x and 3.x. The recommended version is 3.x, which is supported by Python 3.x is the recommended version and supported by most widely used libraries.
most widely used libraries. Although 2.x is still widely used, :pep:`it is not Python 2.x :pep:`is not maintained anymore <373>`.
maintained anymore <0373>`.
How many people are using Python? How many people are using Python?
--------------------------------- ---------------------------------