summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>2008-09-04 22:53:19 +0000
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>2008-09-04 22:53:19 +0000
commit9e7ed39551fccad51e9bc928de303c6034de7a3a (patch)
treeb4409a65c2834aef3c9cfe716a3b6e3f9f06710b /Python/pythonrun.c
parent13a59f9f2a0e9fdf59c50dd15becbeb82e76ff42 (diff)
downloadcpython-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