Carl Friedrich Bolz-Tereick pushed to branch branch/py3.7 at PyPy / pypy


Commits:
b2963a10 by Carl Friedrich Bolz-Tereick at 2021-05-07T16:24:57+02:00
call _advance_codepoint only if we don't already know that we have an ascii 
char

--HG--
branch : py3.7

- - - - -
682d4068 by Carl Friedrich Bolz-Tereick at 2021-05-07T16:35:27+02:00
don't construct this dict for every file

--HG--
branch : py3.7

- - - - -
de3429c7 by Carl Friedrich Bolz-Tereick at 2021-05-08T16:56:09+02:00
some optimizations: compute the unicode final length during newline translation
instead of calling check_utf8 a second time

--HG--
branch : py3.7

- - - - -


2 changed files:

- pypy/module/_io/interp_textio.py
- pypy/module/_io/test/test_interp_textio.py


View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/01f37c1cf240c0171cbf70412bf848593d5dd9de...de3429c79a2c5d1d2484f388e2a138144d584062

-- 
View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/01f37c1cf240c0171cbf70412bf848593d5dd9de...de3429c79a2c5d1d2484f388e2a138144d584062
You're receiving this email because of your account on foss.heptapod.net.


_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to