如何将 Python 2 代码移植到 Python 3
***********************************

作者:
   Brett Cannon

Python 2 生命期在 2020 年初正式结束。 这意味着 Python 2 将不再有新的错
误报告、修复或更改 —— 它已不再受到支持：请参阅 **PEP 373** 和 Python
版本的状态。

如果您希望迁移扩展模块而不是纯 Python 代码，请参阅 将扩展模块移植到
Python 3。

已归档的 python-porting 邮件列表可能包含一些有用的指导。

Since Python 3.11 the original porting guide was discontinued. You can
find the old guide in the archive.


第三方指南
==========

还存在多个第三方指南可能对你有帮助：

* Fedora 的指南

* PyCon 2020 教程

* DigitalOcean 的指南

* ActiveState 的指南
