The test suite fetches the C recursion limit from the _testcapi extension module. Test extension modules can be disabled using the --disable-test-modules configure option.
pathlib.Path.glob()
pwd=
glob.glob0()
glob.glob1()