summaryrefslogtreecommitdiff
path: root/Python/modsupport.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2013-11-14 01:26:17 +0100
committerVictor Stinner <victor.stinner@gmail.com>2013-11-14 01:26:17 +0100
commit804e05e800163e6982b036b025b6333b17d9b3a0 (patch)
treeb055212625bb7d1181699e1e4a8a3cdd182c552e /Python/modsupport.c
parentc82729e44f2935f72b5cd0e7eb36a87558459663 (diff)
downloadcpython-git-804e05e800163e6982b036b025b6333b17d9b3a0.tar.gz
Issue #19437: Use an identifier for "__name__" string in pickle to improve
error handling The following code didn't handle correctly the failure of PyUnicode_InternFromString("__name__"). if (newobj_str == NULL) { newobj_str = PyUnicode_InternFromString("__newobj__"); name_str = PyUnicode_InternFromString("__name__"); if (newobj_str == NULL || name_str == NULL) return -1; }
Diffstat (limited to 'Python/modsupport.c')
0 files changed, 0 insertions, 0 deletions