Pebaz / nimporter

Compile Nim Extensions for Python On Import!
MIT License
824 stars 33 forks source link

Update nimporter.py #13

Closed retsyo closed 4 years ago

retsyo commented 4 years ago

quick-and-dirty fix on the unicode string problem. Else

  File "E:\prg\py\Anaconda3_64\lib\site-packages\nimporter.py", line 188, in invoke_compiler
    out = out.decode() if out else ''
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd5 in position 2: invalid continuation byte
Pebaz commented 4 years ago

Thank you for the tip and pull request! Cheers 🌴