commit | 9252287f2c9bc09fdc6bc729e13ac63935e4976e | [log] [tgz] |
---|---|---|
author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | Thu Sep 04 22:53:19 2008 +0000 |
committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | Thu Sep 04 22:53:19 2008 +0000 |
tree | 2593a9d4c32eff456f2229fcd5344e0ca85e6746 | |
parent | 1b933ed50aef2c31e003a001cef8647244ebfa0e [diff] |
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.