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 ncoghlan
Recipients brett.cannon, georg.brandl, ncoghlan, python-dev
Date 2012-07-18.13:20:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1342617640.44.0.184186406735.issue15387@psf.upfronthosting.co.za>
In-reply-to
Content
The problem turned out to just be inspect.getmodulename() still relying on the deprecated inspect.getmoduleinfo(), so I changed it to be based on importlib.machinery instead.

I did make an importlib API addition to do it though - the all_suffixes() function dynamically adds together all the suffixes relevant for the current process so it will pick up any modification post import, while still allowing code that doesn't care about module types to ignore the details of the different kinds.
History
Date User Action Args
2012-07-18 13:20:40ncoghlansetrecipients: + ncoghlan, brett.cannon, georg.brandl, python-dev
2012-07-18 13:20:40ncoghlansetmessageid: <1342617640.44.0.184186406735.issue15387@psf.upfronthosting.co.za>
2012-07-18 13:20:39ncoghlanlinkissue15387 messages
2012-07-18 13:20:39ncoghlancreate