Back in June, we looked at a change to
Python annotations, which provide a way to associate metadata, such as type
information, with functions. That change
was planned for the upcoming Python 3.10 release, but was deferred due to
questions about it and its impact on run-time uses of the feature.
The Python steering council felt
that more time was needed to consider all of the different aspects of the
problem before deciding on the right approach; the feature freeze for Python 3.10 was only
around two weeks off when the decision was announced on April 20. But now, there is most of a year
before another feature freeze, which gives the council (and the greater
Python development community) some time to discuss it at a more leisurely pace.
もっと詳しく