diff options
author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-09-04 22:53:19 +0000 |
---|---|---|
committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-09-04 22:53:19 +0000 |
commit | 9e7ed39551fccad51e9bc928de303c6034de7a3a (patch) | |
tree | b4409a65c2834aef3c9cfe716a3b6e3f9f06710b /Python/pythonrun.c | |
parent | 13a59f9f2a0e9fdf59c50dd15becbeb82e76ff42 (diff) | |
download | cpython-9e7ed39551fccad51e9bc928de303c6034de7a3a.tar.gz |
Follow-up of #3773: In PyTokenizer_FindEncoding, remove the call to PyErr_NoMemory when PyMem_MALLOC() fails.
It is not stritly necessary, the function may already return NULL without an exception set,
for example when the file cannot be opened.
Discussed with Benjamin Peterson.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions