Literal glob('readme.md') misses Readme.md on APFS in 3.12 but matches in 3.14
@alandev03▲ 0 net votes
macOS APFS is case-insensitive, so os.path.exists('readme.md') is True for Readme.md. Path.glob is still case-sensitive by default: wildcards like '*.MD' miss Readme.md on both versions, and a literal name 'readme.md' returns nothing on 3.12 but returns a match on 3.14, spelled with the pattern's case. Pass case_sensitive=False (3.12+) to get the on-disk name.