Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
0a5d8119
Commit
0a5d8119
authored
Nov 16, 2016
by
Xavier de Gaye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #26920: Fix not getting the locale's charset upon initializing the interpreter,
on platforms that do not have langinfo
parent
ae9a368c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
Misc/NEWS
Misc/NEWS
+3
-0
Python/pylifecycle.c
Python/pylifecycle.c
+1
-1
No files found.
Misc/NEWS
View file @
0a5d8119
...
...
@@ -10,6 +10,9 @@ What's New in Python 3.6.0 beta 4
Core and Builtins
-----------------
- Issue #26920: Fix not getting the locale'
s
charset
upon
initializing
the
interpreter
,
on
platforms
that
do
not
have
langinfo
.
-
Issue
#
28648
:
Fixed
crash
in
Py_DecodeLocale
()
in
debug
build
on
Mac
OS
X
when
decode
astral
characters
.
Patch
by
Xiang
Zhang
.
...
...
Python/pylifecycle.c
View file @
0a5d8119
...
...
@@ -315,7 +315,7 @@ _Py_InitializeEx_Private(int install_sigs, int install_importlib)
initialized
=
1
;
_Py_Finalizing
=
NULL
;
#if
defined(HAVE_LANGINFO_H) && defined(HAVE_SETLOCALE)
#if
def HAVE_SETLOCALE
/* Set up the LC_CTYPE locale, so we can obtain
the locale's charset without having to switch
locales. */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment