commit | 4b250fc1da9c893803cf724a4974450b5e10bd8a | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Mon Feb 11 08:10:42 2019 -0800 |
committer | GitHub <noreply@github.com> | Mon Feb 11 08:10:42 2019 -0800 |
tree | e9ba9f9cb68b8271ff85146593dd98493d2661d2 | |
parent | 537b6caa565ec2fc304ba6f4400cd347ce2af64b [diff] |
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.