diff options
| author | Guido van Rossum <guido@python.org> | 2019-02-11 08:10:42 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-11 08:10:42 -0800 |
| commit | 4b250fc1da9c893803cf724a4974450b5e10bd8a (patch) | |
| tree | e9ba9f9cb68b8271ff85146593dd98493d2661d2 /Lib/dataclasses.py | |
| parent | 537b6caa565ec2fc304ba6f4400cd347ce2af64b (diff) | |
| download | cpython-git-4b250fc1da9c893803cf724a4974450b5e10bd8a.tar.gz | |
bpo-35766 follow-up: Add an error check to new_type_comment() (#11766)
If PyUnicode_DecodeUTF8() returns NULL, PyArena_AddPyObject() would crash.
Found by @msullivan for https://github.com/python/typed_ast/pull/93.
Diffstat (limited to 'Lib/dataclasses.py')
0 files changed, 0 insertions, 0 deletions
