Staging
v0.5.1
https://github.com/python/cpython
Revision 9252287f2c9bc09fdc6bc729e13ac63935e4976e authored by Amaury Forgeot d'Arc on 04 September 2008, 22:53:19 UTC, committed by Amaury Forgeot d'Arc on 04 September 2008, 22:53:19 UTC
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.
1 parent 1b933ed
History
Tip revision: 9252287f2c9bc09fdc6bc729e13ac63935e4976e authored by Amaury Forgeot d'Arc on 04 September 2008, 22:53:19 UTC
Follow-up of #3773: In PyTokenizer_FindEncoding, remove the call to PyErr_NoMemory when PyMem_MALLOC() fails.
Tip revision: 9252287
File Mode Size
README -rw-r--r-- 119 bytes

README

back to top