diff options
author | Jelle Zijlstra <jelle.zijlstra@gmail.com> | 2025-05-26 08:35:04 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-26 08:35:04 -0700 |
commit | 7291eaba8b20b19e7971d43d88286d5820e5eb56 (patch) | |
tree | 584e52f58749a8776451cc20c668e577e958fcdd /Lib/multiprocessing/context.py | |
parent | 806107d7a2fa9baa76d4025f46fab2c8725963f4 (diff) | |
download | cpython-7291eaba8b20b19e7971d43d88286d5820e5eb56.tar.gz cpython-7291eaba8b20b19e7971d43d88286d5820e5eb56.zip |
gh-119180: Updates to PEP 649/749 docs (#134640)
- Mention (again) that `type.__annotations__` is unsafe. It is now safe
when using only classes defined under PEP 649 semantics, but not with
classes defined using `from __future__ import annotations`.
- Mention that annotations on instances no longer work. There was already
an issue about this.
- Mention the general changes in the "Porting to Python 3.14" section.
- `annotationlib` was proposed by PEP-749, not PEP-649.
Co-authored-by: Emma Smith <emma@emmatyping.dev>
Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
Diffstat (limited to 'Lib/multiprocessing/context.py')
0 files changed, 0 insertions, 0 deletions