[issue33596] fix memory leak in lib/json/scanner.py py_make_scanner

2018-05-21 Thread yzongyue
New submission from yzongyue : in function py_make_scanner, the last return statements is "return _scan_once" it should be "return scan_once", or the memo never clear. in fact, make_scanner use c_make_scanner rather than py_make_scanner, so this bug ne

[issue33596] fix memory leak in lib/json/scanner.py py_make_scanner

2018-05-22 Thread yzongyue
Change by yzongyue : -- keywords: +patch pull_requests: +6683 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33596> ___ ___ Python-