Antoine Pitrou <pit...@free.fr> added the comment: In posixmodule.c, the following snippet doesn't make sense anymore:
if (k == NULL) { PyErr_Clear(); continue; } If memory allocation of the bytes object fails, we should error out. (same for "if (v == NULL)" a bit later) ---------- nosy: +pitrou _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8514> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com