New issue 2753: UnicodeDecodeError when __pycache__ is present
https://bitbucket.org/pypy/pypy/issues/2753/unicodedecodeerror-when-__pycache__-is

lemi...@gmail.com:

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

```
File ".\bifurcations.py", line 4, in <module>
    from utils import replace_patterns, lin_interp
UnicodeDecodeError: 'utf8' codec can't decode byte 0xe9 in position 12: invalid 
continuation 
```
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 .\bifurcations.py`

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


_______________________________________________
pypy-issue mailing list
pypy-issue@python.org
https://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to