8000 Address review · python/cpython@413c34b · GitHub
[go: up one dir, main page]

Skip to content

Commit 413c34b

Browse files
< 8000 div class="Box-sc-g0xbh4-0 dpBUfI color-fg-muted">committed
Address review
1 parent 86faf10 commit 413c34b

File tree

1 file changed

+11
-15
lines changed

1 file changed

+11
-15
lines changed

Doc/howto/pyporting.rst

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,30 +8,26 @@ How to port Python 2 Code to Python 3
8000
88

99
:author: Brett Cannon
1010

11-
.. topic:: Abstract
11+
Python 2 reached its official end-of-life at the start of 2020. This means
12+
that no new bug reports, fixes, or changes will be made to Python 2 - it's
13+
no longer supported: see :pep:`373` and
14+
`status of Python versions <https://devguide.python.org/versions>`_.
1215

13-
Python 2 reached its official end-of-life at the start of 2020. This means
14-
that no new bug reports, fixes, or changes will be made to Python 2 - it's
15-
no longer supported: see :pep:`373` and
16-
`status of Python versions <https://devguide.python.org/versions>`_.
16+
If you are looking to port an extension module instead of pure Python code,
17+
please see :ref:`cporting-howto`.
1718

18-
This guide is intended to provide you with a path to Python 3 for your
19-
code, that includes compatibility with Python 2 as a first step.
19+
The archived python-porting_ mailing list may contain some useful guidance.
2020

21-
If you are looking to port an extension module instead of pure Python code,
22-
please see :ref:`cporting-howto`.
23-
24-
The archived python-porting_ mailing list may contain some useful guidance.
25-
26-
Since Python 3.13 the original official pyporting guide was discontinued.
27-
You can still find the old guide in the
28-
`archive <https://docs.python.org/3.12/howto/pyporting.html>`_.
21+
Since Python 3.13 the original porting guide was discontinued.
22+
You can find the old guide in the
23+
`archive <https://docs.python.org/3.12/howto/pyporting.html>`_.
2924

3025

3126
Third-party guides
3227
==================
3328

3429
There are also multiple third-party guides that might be useful:
30+
3531
- `Guide by Fedora <https://portingguide.readthedocs.io>`_
3632
- `PyCon 2020 tutorial <https://www.youtube.com/watch?v=JgIgEjASOlk>`_
3733
- `Guide by Digital Ocean <https://www.digitalocean.com/community/tutorials/how-to-port-python-2-code-to-python-3>`_

0 commit comments

Comments
 (0)
0