hai shi <shihai1...@126.com> added the comment:
> I would prefer that codecs.lookup() and encodings.normalize_encoding() behave > the same. Either always ignore or always copy. How about calling `encodings.normalize_encoding() in codecs.normalizestring()` to keep same behavior?(I create PR18845) > Maybe we should just add a private function for test in _testcapi I can try to add some test cases in next weekend ;) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue39337> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com