• Kirill Smelkov's avatar
    gpython: CPython3.8 always imports time via zipimport hook · 1f184095
    Kirill Smelkov authored
    	kirr@deco:~$ python3.8 -v
    	import _frozen_importlib # frozen
    	import _imp # builtin
    	import '_thread' # <class '_frozen_importlib.BuiltinImporter'>
    	import '_warnings' # <class '_frozen_importlib.BuiltinImporter'>
    	import '_weakref' # <class '_frozen_importlib.BuiltinImporter'>
    	import '_frozen_importlib_external' # <class '_frozen_importlib.FrozenImporter'>
    	import '_io' # <class '_frozen_importlib.BuiltinImporter'>
    	import 'marshal' # <class '_frozen_importlib.BuiltinImporter'>
    	import 'posix' # <class '_frozen_importlib.BuiltinImporter'>
    	import _thread # previously loaded ('_thread')
    	import '_thread' # <class '_frozen_importlib.BuiltinImporter'>
    	import _weakref # previously loaded ('_weakref')
    	import '_weakref' # <class '_frozen_importlib.BuiltinImporter'>
    	# installing zipimport hook
    	import 'time' # <class '_frozen_importlib.BuiltinImporter'>		<-- NOTE
    	import 'zipimport' # <class '_frozen_importlib.FrozenImporter'>
    	# installed zipimport hook
    
    See https://github.com/python/cpython/commit/79d1c2e6c9d1 for details
    (`import time` in zipimport.py)
    1f184095
Name
Last commit
Last update
3rdparty/include/linux Loading commit data...
golang Loading commit data...
gpython Loading commit data...
.gitignore Loading commit data...
CHANGELOG.rst Loading commit data...
COPYING Loading commit data...
MANIFEST.in Loading commit data...
README.rst Loading commit data...
pyproject.toml Loading commit data...
setup.py Loading commit data...
tox.ini Loading commit data...
trun Loading commit data...