A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pydantic/pydantic/issues/2112 below:

Support for PEP 585 in Python 3.8 and earlier · Issue #2112 · pydantic/pydantic · GitHub

Checks Feature Request

A large number of collection built-ins were made generic in Python 3.9 as part of PEP 585 and their typing module counterparts have been deprecated. Pydantic supports PEP 585 in 3.9 and above. Would you consider supporting forward-referenced 3.9-style generics in earlier versions of Python, i.e. when annotations are quoted or with from __future__ import annotations? This might be as simple as creating aliases to typing generics in the evaluation context of forward references, overwriting built-ins, in Python 3.8 and below.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4