Mercurial > cpython-lru_cache-weakref
diff Python/Python-ast.c @ 84003:82db02a2e023
Issue #18065: For frozen packages set __path__ to [].
Previously __path__ was set to [__name__], but that could lead to bad
results if someone managed to circumvent the frozen importer and
somehow ended up with a finder that thought __name__ was a legit
directory/location.
| author | Brett Cannon <brett@python.org> |
|---|---|
| date | Fri, 31 May 2013 23:18:39 -0400 |
| parents | 12cbb5183d98 |
| children | cf8f42eadbd0 |
