bpo-30877: Fix clearing a cache in the the JSON decoder. (GH-7048)

(cherry picked from commit ae00fb1d4f)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
This commit is contained in:
Miss Islington (bot) 2018-05-22 06:03:10 -07:00 committed by GitHub
parent fecad4abe2
commit 25fd6cc5b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 2 deletions

View file

@ -68,6 +68,6 @@ def py_make_scanner(context):
finally:
memo.clear()
return _scan_once
return scan_once
make_scanner = c_make_scanner or py_make_scanner