Message165770
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. |
|
Date |
User |
Action |
Args |
2012-07-18 13:20:40 | ncoghlan | set | recipients:
+ ncoghlan, brett.cannon, georg.brandl, python-dev |
2012-07-18 13:20:40 | ncoghlan | set | messageid: <1342617640.44.0.184186406735.issue15387@psf.upfronthosting.co.za> |
2012-07-18 13:20:39 | ncoghlan | link | issue15387 messages |
2012-07-18 13:20:39 | ncoghlan | create | |
|