@@ -8,30 +8,26 @@ How to port Python 2 Code to Python 3
8000
8
8
9
9
:author: Brett Cannon
10
10
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 >`_.
12
15
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 `.
17
18
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.
20
20
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 >`_.
29
24
30
25
31
26
Third-party guides
32
27
==================
33
28
34
29
There are also multiple third-party guides that might be useful:
30
+
35
31
- `Guide by Fedora <https://portingguide.readthedocs.io >`_
36
32
- `PyCon 2020 tutorial <https://www.youtube.com/watch?v=JgIgEjASOlk >`_
37
33
- `Guide by Digital Ocean <https://www.digitalocean.com/community/tutorials/how-to-port-python-2-code-to-python-3 >`_
0 commit comments