Karthikeyan Singaravelan <[email protected]> added the comment:
I hope there are certain modules that CPython interpreter expects to load
properly. There were some cases in the past where encodings module caused the
interpreter to crash. A similar scenario.
➜ cpython git:(master) echo "raise Exception('a')" > encodings.py
➜ cpython git:(master) ✗ PYTHONPATH=: ./python.exe
Fatal Python error: initfsencoding: failed to get the Python codec of the
filesystem encoding
Traceback (most recent call last):
File "/Users/karthikeyansingaravelan/stuff/python/cpython/encodings.py", line
1, in <module>
Exception: a
[1] 29005 abort PYTHONPATH=: ./python.exe
----------
nosy: +xtreak
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue35969>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com