cpython/Misc/NEWS.d/next/Library
Miss Islington (bot) 480f29f913
bpo-41249: Fix postponed annotations for TypedDict (GH-27017) (#27204)
This fixes TypedDict to work with get_type_hints and postponed evaluation of annotations across modules.

This is done by adding the module name to ForwardRef at the time the object is created and using that to resolve the globals during the evaluation.

Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
(cherry picked from commit 889036f7ef)

Co-authored-by: Germán Méndez Bravo <german.mb@gmail.com>
2021-07-17 10:48:17 +02:00
..
2019-11-12-18-59-33.bpo-38741.W7IYkq.rst bpo-38741: Definition of multiple ']' in header configparser (GH-17129) (#27110) 2021-07-13 16:35:30 +02:00
2021-07-04-11-33-34.bpo-41249.sHdwBE.rst bpo-41249: Fix postponed annotations for TypedDict (GH-27017) (#27204) 2021-07-17 10:48:17 +02:00
2021-07-09-07-14-37.bpo-41928.Q1jMrr.rst bpo-43219: shutil.copyfile, raise a less confusing exception instead of IsADirectoryError (GH-27049) 2021-07-09 21:07:35 -07:00
2021-07-12-10-43-31.bpo-44559.YunVKY.rst [Enum] add news entry for enum module reversion (GH-27099) 2021-07-12 11:07:03 -07:00
2021-07-13-09-01-33.bpo-44608.R3IcM1.rst bpo-44608: Fix memory leak in _tkinter._flatten() (GH-27107) 2021-07-13 22:40:10 -07:00
2021-07-16-13-40-31.bpo-40897.aveAre.rst bpo-40897:Give priority to using the current class constructor in inspect.signature (GH-27177) (#27189) 2021-07-16 15:25:57 +02:00
README.rst Link to blurb on PyPI in the NEWS.d READMEs. (#3323) 2017-09-05 10:38:05 -07:00

Put news entry `blurb`_ files for the *Library* section in this directory.

.. _blurb: https://pypi.org/project/blurb/