gh-68320, gh-88302 - Allow for pathlib.Path subclassing
#31691
+179
−232
Merged