New submission from STINNER Victor <vstin...@python.org>:

The PEP 563: Postponed evaluation of annotations was introduced an opt-in 
feature using "from __future__ import annotations". It is scheduled to become 
the default in Python 4.0.

I would prefer to limit the number of incompatible changes in Python 4.0: it 
should just a "regular" release, with a regular number of incompatible changes. 
The version number change is going to cause enough troubles...

Would it be possible possible to enable postponed evaluation of annotations 
either before or after Python 4.0? For example, can we imagine to enable it by 
default in Python 3.9? If not, what about Python 3.10?

See also the PEP 608 (Coordinated Python release) and bpo-38604 (Schedule 
Py_UNICODE API removal).

----------
components: Library (Lib)
messages: 355476
nosy: lukasz.langa, vstinner
priority: normal
severity: normal
status: open
title: [typing] PEP 563: Postponed evaluation of annotations: enable it by 
default before Python 4.0
versions: Python 3.9

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue38605>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to