Hugo Almeida <sudo.xiangq...@gmail.com> added the comment:
update ====== It seems I've found the problem, http/server.py#L1277-L1288: ``` handler_class = partial(SimpleHTTPRequestHandler, directory=args.directory) ``` Because of `partial` (provide by the functools module), there comes a closure like stuff ? ---------- resolution: -> remind _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue46285> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com