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
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
Tools
.bzrignore -rw-r--r-- 673 bytes
.hgignore -rw-r--r-- 866 bytes
.hgtags -rw-r--r-- 2.9 KB
INTBENCH -rw-r--r-- 941 bytes
LICENSE -rw-r--r-- 13.5 KB
Makefile.pre.in -rw-r--r-- 37.4 KB
README -rw-r--r-- 7.0 KB
RELNOTES -rw-r--r-- 3.1 KB
configure -rwxr-xr-x 653.5 KB
configure.in -rw-r--r-- 100.4 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 28.7 KB
runtests.sh -rwxr-xr-x 2.1 KB
setup.py -rw-r--r-- 63.5 KB

README

back to top