Author vstinner
Recipients brett.cannon, vstinner
Date 2015-09-18.07:06:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The imp module is deprecated since Python 3.4. In Python 3.4, imp uses a PendingDeprecationWarning, and Python 3.5... hum, still a PendingDeprecationWarning. It was not supposed to become a real DeprecationWarning?

Anyway, the imp module is still used in some places of the Python stdlib:

Lib/    import imp
Python/ imp
Tools/i18n/ imp
Tools/importbench/ imp

modulefinder explicitly ignore the warning :-(

with warnings.catch_warnings():
    warnings.simplefilter('ignore', PendingDeprecationWarning)
    import imp
Date User Action Args
2015-09-18 07:06:19vstinnersetrecipients: + vstinner, brett.cannon
2015-09-18 07:06:19vstinnersetmessageid: <>
2015-09-18 07:06:19vstinnerlinkissue25160 messages
2015-09-18 07:06:19vstinnercreate