Author: Matti Picus <matti.pi...@gmail.com> Branch: unicode-utf8-py3 Changeset: r95995:271c50c1e3bf Date: 2019-02-13 10:24 +0200 http://bitbucket.org/pypy/pypy/changeset/271c50c1e3bf/
Log: update TODO diff --git a/TODO b/TODO --- a/TODO +++ b/TODO @@ -4,17 +4,16 @@ * think about cost of utf8 list strategy (CF) * revisit why runicode import str_decode_utf_8_impl needed instead of runicode import str_decode_utf_8 -* revisit all places where we do utf8.decode('utf-8'), they should work +* revisit remaining places in win32 where we do utf8.decode('utf-8'), they should work directly with utf8 (can be converted via runicode.str_decode_utf_8 as well) - rutf8.utf8_encode_mbcs - unicodehelper.fsencode - _winreg.interp_winreg * remove 'assert not isinstance(*, unicode) * add a flag that prevents support for unicode in rpython and enable it in PyPy (CF, Armin) -* remove asserts from _WIN32 paths in rlib.rposix.re{name,place} * convert all realunicode_w to unicode_w after we flush out all old uses of unicode_w -* view all uses of W_Unicode.text_w, right now it is exactly W_Unicode.utf8_w. +* review all uses of W_Unicode.text_w, right now it is exactly W_Unicode.utf8_w. It shoud only return valid utf8 (see 0be26dc39a59 which broke translation on win32 and failed tests on linux64). Then we can use it in places like _socket.interp_func.getaddrinfo instead of space.encode_unicode_object(w_port, _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit