jaraco / zipp

MIT License
61 stars 53 forks source link

TypeError: unhashable type: 'type.SimpleNamespace' #126

Closed jaraco closed 1 month ago

jaraco commented 1 month ago

In https://github.com/python/importlib_metadata/issues/506, we learned that by adding an unhashable object to sys.modules, it breaks downstream consumers that pass sys.modules to a function wrapped in a cache decorator.