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

2018-05-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your report and pull request, but it is a duplicate of issue30877. This bug was not fixed before because we wanted a test. -- nosy: +serhiy.storchaka resolution: -> fixed stage: patch review -> resolved status: open -> closed supersede

[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 ___ ___ Python-bugs-list mai

[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 never occur in default -- component