Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add a NEWS entry
  • Loading branch information
xdegaye committed Nov 12, 2017
commit 29287d71922d29bbe4bdb2a6bfe49bd5715a7716
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
The platform dependent handling of setting the locale from the environment is

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's probably clearer to mention the new internal API by name. Something like

A new internal _Py_SetLocaleFromEnv(category) helper function has been added in order
to improve the consistency of behaviour across different libc implementations (e.g. Android
doesn't support setting the locale from the environment by default)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Nick :-)

now consolidated into the standard behavior on platforms whose `setlocale()`
function do not set the locale from the environment (e.g. Android).