Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions Doc/faq/extending.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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?
--------------------------------------------------------------------------------------

Most packaged versions of Python don't include the
:file:`/usr/lib/python2.{x}/config/` directory, which contains various files
Most packaged versions of Python omit some files
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"?
------------------------------------------------------
Expand Down
7 changes: 3 additions & 4 deletions Doc/faq/general.rst
Original file line number Diff line number Diff line change
Expand Up @@ -309,10 +309,9 @@ guaranteed that interfaces will remain the same throughout a series of bugfix
releases.

The latest stable releases can always be found on the `Python download page
<https://www.python.org/downloads/>`_. There are two production-ready versions
of Python: 2.x and 3.x. The recommended version is 3.x, which is supported by
most widely used libraries. Although 2.x is still widely used, :pep:`it is not
maintained anymore <0373>`.
<https://www.python.org/downloads/>`_.
Python 3.x is the recommended version and supported by most widely used libraries.
Python 2.x :pep:`is not maintained anymore <373>`.

How many people are using Python?
---------------------------------
Expand Down
Loading