[issue36914] zipimport does not load ZIP files produced by GitHub

2019-05-14 Thread Vadim Kantorov
New submission from Vadim Kantorov : Python does not like source code zip-files produced by GitHub (zipimporting source from GitHub can be useful in some ad-hoc scripting scenarios e.g. I wanted to use it in Mozilla Iodide context) wget https://github.com/python/black/archive/master.zip

[issue24907] Module location load order is not respected if pkg_resources is imported and a namespace is declared

2015-08-24 Thread Vadim Kantorov
Vadim Kantorov added the comment: From my (novice) standpoint, it's very weird that importing pkg_resources in a module's __init__.py causes Python to deviate from its core module import rules / sequence. Would you consider reporting this issue to pkg_resources's authors more appropriate

[issue24907] Module location load order is not respected if pkg_resources is imported and a namespace is declared

2015-08-21 Thread Vadim Kantorov
New submission from Vadim Kantorov: If module's __init__.py contains __import__('pkg_resources').declare_namespace(__name__), the module is not loaded, even though it's located in the current directory and should mask other modules. Originally I stumbled upon this issue while installing