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 serhiy.storchaka
Recipients Oren Milman, serhiy.storchaka
Date 2017-09-13.10:02:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1505296935.51.0.272305261298.issue31418@psf.upfronthosting.co.za>
In-reply-to
Content
PyFile_WriteObject(moduleName, f, Py_PRINT_RAW) implicitly converts its argument to string. I mean that treating non-string moduleName the same way as string moduleName not equal to string "builtins" and calling PyFile_WriteObject() would cause other problem. Treating non-string moduleName the same way as moduleName==NULL LGTM.
History
Date User Action Args
2017-09-13 10:02:15serhiy.storchakasetrecipients: + serhiy.storchaka, Oren Milman
2017-09-13 10:02:15serhiy.storchakasetmessageid: <1505296935.51.0.272305261298.issue31418@psf.upfronthosting.co.za>
2017-09-13 10:02:15serhiy.storchakalinkissue31418 messages
2017-09-13 10:02:15serhiy.storchakacreate