New submission from Vajrasky Kok: In Modules/fcntlmodule.c, there is a code to insert symbolic constants to the module.
all_ins(m); But we don't check the return code of the function whether it is successful or not, unlike in posix module in which we check it. if (all_ins(m)) return NULL; Attached the patch to add checking of the return code of all_ins function in fcntl module file. ---------- components: Extension Modules files: check_return_code_all_ins_in_fcntl.patch keywords: patch messages: 197425 nosy: vajrasky priority: normal severity: normal status: open title: Inside fcntl module, we does not check the return code of all_ins function type: enhancement versions: Python 3.4 Added file: http://bugs.python.org/file31709/check_return_code_all_ins_in_fcntl.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18994> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com