[pypy-dev] Error running Idle

2020-02-28 Thread Jerry Spicklemire
The error below, once fixed, led to a series of errors in other libs. I gave up, deleted PyPy, installed newer version, same thing. No I don't edit in Idle, but I do use it for a few tasks when it comes handy. C:\>C:\Python\PyPy27-32\lib-python\2.7\idlelib\idle.py Traceback (most recent call last

[pypy-dev] Making the most of internal UTF8

2020-02-27 Thread Jerry Spicklemire
Thanks for all the replies. Anto, re: "- some_unicode.encode('utf-8') is essentially for free (because it is already UTF-8 internally) - some_bytes.decode('utf-8') is very cheap (it just needs to check that some_bytes is valid utf-8)" I guess you mean the processing load for such operations

[pypy-dev] Making the most of internal UTF8

2020-02-26 Thread Jerry Spicklemire
Is there a tutorial about how to best take advantage of PyPy's internal UTF8? The docs say the PyPy now uses UTF8 internally to represent unicode. So, for an old codger, that sounds like were are back to a point where ASCII characters just act normally again, like in Python v.2, since ASCII IS UT