See discussion in https://github.com/pylint-dev/astroid/pull/2992 We should make this the responsibility of the caller, if it is even necessary at all. Will fix https://github.com/pylint-dev/pylint/issues/10193.