This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vajrasky
Recipients vajrasky
Date 2013-09-10.07:08:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1378796910.87.0.444759444485.issue18994@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2013-09-10 07:08:30vajraskysetrecipients: + vajrasky
2013-09-10 07:08:30vajraskysetmessageid: <1378796910.87.0.444759444485.issue18994@psf.upfronthosting.co.za>
2013-09-10 07:08:30vajraskylinkissue18994 messages
2013-09-10 07:08:30vajraskycreate