PY-6637 Hide Python refactorings in library sources