make PatternCompiler use the packaged grammar if possible (more bpo-24960) (#5034)

1 file changed