Serhiy Storchaka added the comment: Good catch c-fos!
The scan_once() wrapper was introduced in issue7451, but py_make_scanner() still returns unwrapped _scan_once(). Is it possible to write a test that catches this bug? ---------- nosy: +pitrou, serhiy.storchaka stage: -> patch review versions: +Python 3.5, Python 3.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30877> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com