pylint-dev/astroid

Reconsider caching removed in #1747

jacobtylerwalls opened this issue · 1 comments

Steps to reproduce

When running pylint on one submodule of the pylint primer, music21.stream.core, the caching removed in #1747 causes 2,711 calls to self.file_from_module_name(modname, context_file) for the module name music21.

Look into whether we can reintroduce some sort of caching without recausing pylint-dev/pylint#5151.

Closing as duplicate of #2041.