Message315521
-1 from me for __package__, as setting that's the preferred way for directly executed scripts to fix their explicit relative imports (rather than trying to retroactively fix their spec). (https://docs.python.org/3/library/importlib.html also doesn't say anything about __package__ being deprecated)
I'd be OK with seeing __file__/__cached__/__loader__ get deprecated, but before they went away, I'd like to see "importlib.util.get_filename()", "importlib.util.get_cache_filename()", and "importlib.util.get_loader()" helpers added. |
|
Date |
User |
Action |
Args |
2018-04-20 16:28:14 | ncoghlan | set | recipients:
+ ncoghlan, barry, brett.cannon, eric.snow |
2018-04-20 16:28:14 | ncoghlan | set | messageid: <1524241694.62.0.682650639539.issue33277@psf.upfronthosting.co.za> |
2018-04-20 16:28:14 | ncoghlan | link | issue33277 messages |
2018-04-20 16:28:14 | ncoghlan | create | |
|