]> granicus.if.org Git - python/commit
bpo-34523: Py_FileSystemDefaultEncoding NULL by default (GH-9003)
authorVictor Stinner <vstinner@redhat.com>
Wed, 29 Aug 2018 21:26:55 +0000 (23:26 +0200)
committerGitHub <noreply@github.com>
Wed, 29 Aug 2018 21:26:55 +0000 (23:26 +0200)
commitde427556746aa41a8b5198924ce423021bc0c718
tree772cffa923cdf523fe79dcccf21e65f1a83b99e5
parentcf21504194927b2f22132f48effea69eb8ade751
bpo-34523: Py_FileSystemDefaultEncoding NULL by default (GH-9003)

* Py_FileSystemDefaultEncoding and Py_FileSystemDefaultEncodeErrors
  default value is now NULL: initfsencoding() set them
  during Python initialization.
* Document how Python chooses the filesystem encoding and error
  handler.
* Add an assertion to _PyCoreConfig_Read().
Include/coreconfig.h
Python/coreconfig.c