Message165770
| 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: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 |
|