Message333141
| Author |
ronaldoussoren |
| Recipients |
barry, brett.cannon, ronaldoussoren |
| Date |
2019年01月07日.08:16:40 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1546849000.7.0.108946297375.issue35673@roundup.psfhosted.org> |
| In-reply-to |
| Content |
@barry: I agree on both.
Do you know why the namespace package loader lies about the source and code? Both .get_source() and .get_code() return a value that isn't None.
And likewise: Why is the namespace package loader a private class, other loaders are exposed in importlib.machinery? This makes it hard to detect PEP420 style namespace packages without relying on private APIs, esp. combined with the behaviour of .get_source() and .get_code(). |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2019年01月07日 08:16:42 | ronaldoussoren | set | recipients:
+ ronaldoussoren, barry, brett.cannon |
| 2019年01月07日 08:16:40 | ronaldoussoren | set | messageid: <1546849000.7.0.108946297375.issue35673@roundup.psfhosted.org> |
| 2019年01月07日 08:16:40 | ronaldoussoren | link | issue35673 messages |
| 2019年01月07日 08:16:40 | ronaldoussoren | create |
|