summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_strftime.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-11-21 23:34:02 (GMT)
committerGitHub <noreply@github.com>2017-11-21 23:34:02 (GMT)
commit803ddd8ce22f0de3ab42fb98a225a704c000ef06 (patch)
treea4193e3e3380dbe654b556042f4a6fc00f48a97e /Lib/test/test_strftime.py
parent431665bf1971e66c51f59abf0693f700ff7919e8 (diff)
downloadcpython-803ddd8ce22f0de3ab42fb98a225a704c000ef06.zip
cpython-803ddd8ce22f0de3ab42fb98a225a704c000ef06.tar.gz
cpython-803ddd8ce22f0de3ab42fb98a225a704c000ef06.tar.bz2
bpo-31324: Optimize support._match_test() (#4421)
* Rename support._match_test() to support.match_test(): make it public * Remove support.match_tests global variable. It is replaced with a new support.set_match_tests() function, so match_test() doesn't have to check each time if patterns were modified. * Rewrite match_test(): use different code paths depending on the kind of patterns for best performances. Co-Authored-By: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Lib/test/test_strftime.py')
0 files changed, 0 insertions, 0 deletions