This pattern was banned by check-code way back in 1b4b82063ce2 (may of
2011), but due to a regular expression rewriting bug in check-code
these particular callsites were never detected. Python 3.7 caught the
bug, which then exposed these errors.
Details
Details
- Reviewers
pulkit - Group Reviewers
hg-reviewers - Commits
- rHG0585337ea787: cleanup: fix some latent open(path).read() et al calls we previously missed
rHG57eb879feb77: cleanup: fix some latent open(path).read() et al calls we previously missed
rHG76c594af8ec8: cleanup: fix some latent open(path).read() et al calls we previously missed
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.