Created
January 5, 2024 02:53
-
-
Save verdimrc/88055e4ede6113d9f856d128969ebd9b to your computer and use it in GitHub Desktop.
Python: selected new features to learn
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NOTE: also check additional changes in typing across major python versions. | |
- 312 pep669: new debugging/profiling API | |
- 312 pep684: C-API for per-interpreger GIL -> low-level features. | |
* Py-API expected for 313. | |
- 312 @override decorator for methods | |
- 312 pep701: more flexible f-string parsing | |
- 311 typing: Self type | |
- 311 exception groups, except* | |
- 311 pep678: enrich exceptions with notes | |
- 310 parenthesized ctx mgr | |
- 310 structural pattern patching |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment