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

Python 各版本可以退场的代码 #59685

Open
2 of 16 tasks
SigureMo opened this issue Dec 5, 2023 · 0 comments
Open
2 of 16 tasks

Python 各版本可以退场的代码 #59685

SigureMo opened this issue Dec 5, 2023 · 0 comments
Assignees

Comments

@SigureMo
Copy link
Member

SigureMo commented Dec 5, 2023

我们在开发过程中难免会有一些版本兼容代码,但这些代码应当在旧版本退场时进行清理,这里记录一些我个人阅读代码、开发过程中所了解到的一些版本兼容代码,欢迎大家补充

已退场版本

Python 3.7

Python 3.8

Python 3.9

Python 3.10

Python 3.11

  • SOT PRECALL 字节码相关逻辑,3.12 中该字节码已经被移除

Footnotes

  1. PEP 584 – Add Union Operators To dict

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants