This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients methane, ncoghlan, pablogsal, steve.dower, vstinner
Date 2019-09-20.17:08:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1568999319.66.0.188587626627.issue38236@roundup.psfhosted.org>
In-reply-to
Content
Without my change:

---
vstinner@apu$ PYTHONHOME=/xxx ./python 
Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core initialized
ModuleNotFoundError: No module named 'encodings'

Current thread 0x00007fa9c32d6740 (most recent call first):
<no Python frame>
---


With my PR 16300:

---
$ PYTHONHOME=/xxx ./python 
Python path configuration:
  PYTHONHOME = '/xxx'
  PYTHONPATH = '/usr/share/qa-tools/python-modules'
  isolated = 0
  environment = 1
  user site = 1
  import site = 1
  sys.executable = '/home/vstinner/python/master/python'
  sys.prefix = '/xxx'
  sys.exec_prefix = '/xxx'
  sys.path = [
    '/usr/share/qa-tools/python-modules',
    '/xxx/lib/python39.zip',
    '/xxx/lib/python3.9',
    '/xxx/lib/python3.9/lib-dynload',
  ]
Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core initialized
ModuleNotFoundError: No module named 'encodings'

Current thread 0x00007f9cef949740 (most recent call first):
<no Python frame>
---
History
Date User Action Args
2019-09-20 17:08:39vstinnersetrecipients: + vstinner, ncoghlan, methane, steve.dower, pablogsal
2019-09-20 17:08:39vstinnersetmessageid: <1568999319.66.0.188587626627.issue38236@roundup.psfhosted.org>
2019-09-20 17:08:39vstinnerlinkissue38236 messages
2019-09-20 17:08:39vstinnercreate