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 Robert Rouhani
Recipients Robert Rouhani
Date 2020-04-28.06:40:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1588056055.69.0.268035650537.issue40417@roundup.psfhosted.org>
In-reply-to
Content
It appears as though PyImport_ReloadModule is importing the deprecated "imp" module.

I integrated a newer version of Python into Unreal Engine 4, which internally calls this function for some of it's own modules. Normally a stray warning wouldn't be of much concern to me, but the process of "cooking" (converting raw assets to optimized/final assets) will fail if anything is written to stderr. This makes it impossible to package a copy of the game for testing or release without a workaround.

I'm going to add a test to _testembed.c to verify my fix. Is this something that I should include in the Github PR?
History
Date User Action Args
2020-04-28 06:40:55Robert Rouhanisetrecipients: + Robert Rouhani
2020-04-28 06:40:55Robert Rouhanisetmessageid: <1588056055.69.0.268035650537.issue40417@roundup.psfhosted.org>
2020-04-28 06:40:55Robert Rouhanilinkissue40417 messages
2020-04-28 06:40:55Robert Rouhanicreate