<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Python/pylifecycle.c, branch v3.7.2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/pylifecycle.c?h=v3.7.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/pylifecycle.c?h=v3.7.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2018-12-11T07:05:13Z</updated>
<entry>
<title>bpo-35454: Fix miscellaneous minor issues in error handling. (GH-11077)</title>
<updated>2018-12-11T07:05:13Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-12-11T07:05:13Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=62674f3a36ec55f86a5f20ee028a37fbd549bd6c'/>
<id>urn:sha1:62674f3a36ec55f86a5f20ee028a37fbd549bd6c</id>
<content type='text'>
* bpo-35454: Fix miscellaneous minor issues in error handling.

* Fix a null pointer dereference.
(cherry picked from commit 8905fcc85a6fc3ac394bc89b0bbf40897e9497a6)

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;</content>
</entry>
<entry>
<title>bpo-34523: Fix C locale coercion on FreeBSD CURRENT (GH-10672) (GH-10673)</title>
<updated>2018-11-23T12:37:42Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-11-23T12:37:42Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f6e323ce322cf54b1a9e9252b13f93ebc28b5c24'/>
<id>urn:sha1:f6e323ce322cf54b1a9e9252b13f93ebc28b5c24</id>
<content type='text'>
bpo-34523, bpo-35290: C locale coercion now resets the Python
internal "force ASCII" mode. This change fix the filesystem encoding
on FreeBSD CURRENT, which has a new "C.UTF-8" locale, when
the UTF-8 mode is disabled.

Add _Py_ResetForceASCII(): _Py_SetLocaleFromEnv() now calls it.

(cherry picked from commit 353933e712b6c7f7ba9a9a50bd5bd472db7c35d0)</content>
</entry>
<entry>
<title>Revert "bpo-35239: _PySys_EndInit() copies module_search_path (GH-10532)" (GH-10660)</title>
<updated>2018-11-22T15:11:15Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-11-22T15:11:15Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a5194115733f6ca8fc1ddbee43eabbde536900e6'/>
<id>urn:sha1:a5194115733f6ca8fc1ddbee43eabbde536900e6</id>
<content type='text'>
This reverts commit d2be9a5c13221fb84c2221bbfd93efac6111e697.</content>
</entry>
<entry>
<title>bpo-35239: _PySys_EndInit() copies module_search_path (GH-10532)</title>
<updated>2018-11-16T11:34:35Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-11-16T11:34:35Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d2be9a5c13221fb84c2221bbfd93efac6111e697'/>
<id>urn:sha1:d2be9a5c13221fb84c2221bbfd93efac6111e697</id>
<content type='text'>
* The _PySys_EndInit() function now copies the
  config-&gt;module_search_path list, so config is longer modified when
  sys.path is updated.
* config-&gt;warnoptions list and config-&gt;xoptions dict are also copied
* test_embed: InitConfigTests now also tests
  main_config['module_search_path']
* Fix _Py_InitializeMainInterpreter(): don't use config-&gt;warnoptions
   but sys.warnoptions to decide if the warnings module should
   be imported at startup.
(cherry picked from commit 37cd982df02795905886ab36a2378ed557cb6f60)

Co-authored-by: Victor Stinner &lt;vstinner@redhat.com&gt;</content>
</entry>
<entry>
<title>bpo-26558: Fix Py_FatalError() with GIL released (GH-10267)</title>
<updated>2018-10-31T23:45:42Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-10-31T23:45:42Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=192c54713b4c67a8d14b2d98056771feba40ca37'/>
<id>urn:sha1:192c54713b4c67a8d14b2d98056771feba40ca37</id>
<content type='text'>
Don't call _Py_FatalError_PrintExc() nor flush_std_files() if the
current thread doesn't hold the GIL, or if the current thread
has no Python state thread.
(cherry picked from commit 3a228ab17c2a9cffd1a2f15f30d6209768de20a6)

Co-authored-by: Victor Stinner &lt;vstinner@redhat.com&gt;</content>
</entry>
<entry>
<title>bpo-34403: Fix initfsencoding() for ASCII (GH-10233)</title>
<updated>2018-10-30T11:59:20Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-10-30T11:59:20Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=21220bbe65108f5a763ead24a6b572f80d84c9e2'/>
<id>urn:sha1:21220bbe65108f5a763ead24a6b572f80d84c9e2</id>
<content type='text'>
* Add _Py_GetForceASCII(): check if Python forces the usage of ASCII
  in Py_DecodeLocale() and Py_EncodeLocale().
* initfsencoding() now uses ASCII if _Py_GetForceASCII() is true.</content>
</entry>
<entry>
<title>Revert "[3.7] bpo-34589: Add -X coerce_c_locale option; C locale coercion off by default (GH-9379)" (GH-9416)</title>
<updated>2018-09-19T19:01:52Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-09-19T19:01:52Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=95cc3ee00cfa079751ae2bb9a8d3387053b50489'/>
<id>urn:sha1:95cc3ee00cfa079751ae2bb9a8d3387053b50489</id>
<content type='text'>
This reverts commit 144f1e2c6f4a24bd288c045986842c65cc289684.</content>
</entry>
<entry>
<title>[3.7] bpo-34589: Add -X coerce_c_locale option; C locale coercion off by default (GH-9379)</title>
<updated>2018-09-18T01:01:39Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-09-18T01:01:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=144f1e2c6f4a24bd288c045986842c65cc289684'/>
<id>urn:sha1:144f1e2c6f4a24bd288c045986842c65cc289684</id>
<content type='text'>
* bpo-34589: Make _PyCoreConfig.coerce_c_locale private (GH-9371)

_PyCoreConfig:

* Rename coerce_c_locale to _coerce_c_locale
* Rename coerce_c_locale_warn to _coerce_c_locale_warn

These fields are now private (name prefixed by "_").

(cherry picked from commit 188ebfa475a6f6aa2d0ea14ca8e1fbe7865b6d27)

* bpo-34589: C locale coercion off by default (GH-9073)

Py_Initialize() and Py_Main() cannot enable the C locale coercion
(PEP 538) anymore: it is always disabled. It can now only be enabled
by the Python program ("python3).

test_embed: get_filesystem_encoding() doesn't have to set PYTHONUTF8
nor PYTHONCOERCECLOCALE, these variables are already set in the
parent.

(cherry picked from commit 7a0791b6992d420dc52536257f2f093851ed7215)

* bpo-34589: Add -X coerce_c_locale command line option (GH-9378)

Add a new -X coerce_c_locale command line option to control C locale
coercion (PEP 538).

(cherry picked from commit dbdee0073cf0b88fe541980ace1f650900f455cc)</content>
</entry>
<entry>
<title>_Py_CoerceLegacyLocale() restores LC_CTYPE on fail (GH-9044) (GH-9046)</title>
<updated>2018-09-03T20:17:07Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-09-03T20:17:07Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=84b0129b5e0a0e22aad22ae8db2e3833a228aa57'/>
<id>urn:sha1:84b0129b5e0a0e22aad22ae8db2e3833a228aa57</id>
<content type='text'>
bpo-34544: If _Py_CoerceLegacyLocale() fails to coerce the C locale,
restore the LC_CTYPE locale to the its previous value.

(cherry picked from commit 8ea09110d413829f71d979d8c7073008cb87fb03)</content>
</entry>
<entry>
<title>[3.7] bpo-34485: stdout uses surrogateescape on POSIX locale (GH-8986) (GH-8987)</title>
<updated>2018-08-29T09:01:33Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-08-29T09:01:33Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0b9ea4b211b24464c7d38f63e45e51c275c52dcd'/>
<id>urn:sha1:0b9ea4b211b24464c7d38f63e45e51c275c52dcd</id>
<content type='text'>
* bpo-34485: stdout uses surrogateescape on POSIX locale (GH-8986)

Standard streams like sys.stdout now use the "surrogateescape" error
handler, instead of "strict", on the POSIX locale (when the C locale is not
coerced and the UTF-8 Mode is disabled).

Add tests on sys.stdout.errors with LC_ALL=POSIX.

Fix the error handler of standard streams like sys.stdout:
PYTHONIOENCODING=":" is now ignored instead of setting the error handler to
"strict".

(cherry picked from commit 315877dc361d554bec34b4b62c270479ad36a1be)</content>
</entry>
</feed>
