New issue 2753: UnicodeDecodeError when __pycache__ is present

When the `__pycache__` folder is present, any module I try to import from the 
current folder raises an `UnicodeDecodeError`.

File ".\", line 4, in <module>
    from utils import replace_patterns, lin_interp
UnicodeDecodeError: 'utf8' codec can't decode byte 0xe9 in position 12: invalid 
In this exemple, if I remove `utils.pypy3-510.pyc` bytescode file from the 
`__pycache__`, everything runs smoothly.

This problem does not occurs when using CPython.

I currently run pypy on Windows 10, with the folder containing pypy3 in my 
`PATH` env var, so i do
`pypy3 .\`

I'm not sure of what file or information join to this. Am I doing anything 

pypy-issue mailing list

Reply via email to