diff options
author | INADA Naoki <methane@users.noreply.github.com> | 2017-10-04 03:47:38 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-04 03:47:38 (GMT) |
commit | bf477a99e0c85258e6573f4ee9eda68fa1f98a31 (patch) | |
tree | 89ada028feed7b97887303b872c7ddd5d1b8e9c4 /Python | |
parent | e2d0dd2cf98cfa558435693b9f066edd7cf7d71a (diff) | |
download | cpython-bf477a99e0c85258e6573f4ee9eda68fa1f98a31.zip cpython-bf477a99e0c85258e6573f4ee9eda68fa1f98a31.tar.gz cpython-bf477a99e0c85258e6573f4ee9eda68fa1f98a31.tar.bz2 |
bpo-31677: email: Remove re.IGNORECASE flag (GH-3868)
While there is not real bug in this case, using re.IGNORECASE without re.ASCII
leads unexpected behavior.
Instead of adding re.ASCII, this commit removes re.IGNORECASE flag because
it's easier and simpler.
This commit removes dead copy of the pattern in email.util module too.
While the pattern is same, it is compiled separately because it had different flags.
Diffstat (limited to 'Python')
0 files changed, 0 insertions, 0 deletions