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 berker.peksag
Recipients amaury.forgeotdarc, berker.peksag, docs@python, scoder, vstinner
Date 2016-08-06.10:22:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1470478955.08.0.0807761307423.issue12946@psf.upfronthosting.co.za>
In-reply-to
Content
I've changed the dead code to

    assert(d != NULL);

and added the following sentence to PyModule_GetDict documentation:

    If *module* is not a module object (or a subtype of a module object),
    :exc:`SystemError` is raised and *NULL* is returned.
History
Date User Action Args
2016-08-06 10:22:35berker.peksagsetrecipients: + berker.peksag, amaury.forgeotdarc, scoder, vstinner, docs@python
2016-08-06 10:22:35berker.peksagsetmessageid: <1470478955.08.0.0807761307423.issue12946@psf.upfronthosting.co.za>
2016-08-06 10:22:34berker.peksaglinkissue12946 messages
2016-08-06 10:22:34berker.peksagcreate