<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Python/sysmodule.c, branch backport-73d6002-3.7</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/'/>
<entry>
<title>bpo-35742: Fix test_envar_unimportable in test_builtin. (GH-11561)</title>
<updated>2019-01-15T11:45:57+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-01-15T11:45:57+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=97d6a56d9d169f35cf2a24d62bf15adfc42fc672'/>
<id>97d6a56d9d169f35cf2a24d62bf15adfc42fc672</id>
<content type='text'>
Handle the case of an empty module name in PYTHONBREAKPOINT.

Fixes a regression introduced in bpo-34756.
(cherry picked from commit 3607ef43c4a1a24d44f39ff54a77fc0af5bfa09a)

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Handle the case of an empty module name in PYTHONBREAKPOINT.

Fixes a regression introduced in bpo-34756.
(cherry picked from commit 3607ef43c4a1a24d44f39ff54a77fc0af5bfa09a)

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-34756: Silence only ImportError and AttributeError in sys.breakpointhook(). (GH-9457)</title>
<updated>2019-01-14T11:17:06+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-01-14T11:17:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=6d0254bae4d739b487fcaa76705a2d309bce8e75'/>
<id>6d0254bae4d739b487fcaa76705a2d309bce8e75</id>
<content type='text'>
(cherry picked from commit 6fe9c446f8302553952f63fc6d96be4dfa48ceba)

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 6fe9c446f8302553952f63fc6d96be4dfa48ceba)

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-35452: Make PySys_HasWarnOptions() never raising an exception. (GH-11075)</title>
<updated>2018-12-10T12:37:09+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-12-10T12:37:09+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=ea773eb1f9e79e9f558ca1fe8909cf6ac1c00371'/>
<id>ea773eb1f9e79e9f558ca1fe8909cf6ac1c00371</id>
<content type='text'>
(cherry picked from commit dffccc6b594951fc798973e521da205785823f0f)

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit dffccc6b594951fc798973e521da205785823f0f)

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-35451: Fix reference counting for sys.warnoptions and sys._xoptions. (GH-11063)</title>
<updated>2018-12-10T10:26:36+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-12-10T10:26:36+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=fc79175f5e6424c4978ba9e9b9bc006778cdfd40'/>
<id>fc79175f5e6424c4978ba9e9b9bc006778cdfd40</id>
<content type='text'>
(cherry picked from commit 72ff7b4c000f7b8199231a0eb1ca4b119fab40a5)

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 72ff7b4c000f7b8199231a0eb1ca4b119fab40a5)

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-35441: Remove dead and buggy code related to PyList_SetItem(). (GH-11033)</title>
<updated>2018-12-08T14:34:49+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-12-08T14:34:49+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=8b7d8ac09cc0f736d0c3a39d838814d7ae253021'/>
<id>8b7d8ac09cc0f736d0c3a39d838814d7ae253021</id>
<content type='text'>
In _localemodule.c and selectmodule.c, remove dead code that would
cause double decrefs if run.

In addition, replace PyList_SetItem() with PyList_SET_ITEM() in cases
where a new list is populated and there is no possibility of an error.

In addition, check if the list changed size in the loop in array_array_fromlist().
(cherry picked from commit 99d56b53560b3867844472ae381fb3f858760621)

Co-authored-by: Zackery Spytz &lt;zspytz@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In _localemodule.c and selectmodule.c, remove dead code that would
cause double decrefs if run.

In addition, replace PyList_SetItem() with PyList_SET_ITEM() in cases
where a new list is populated and there is no possibility of an error.

In addition, check if the list changed size in the loop in array_array_fromlist().
(cherry picked from commit 99d56b53560b3867844472ae381fb3f858760621)

Co-authored-by: Zackery Spytz &lt;zspytz@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "bpo-35239: _PySys_EndInit() copies module_search_path (GH-10532)" (GH-10660)</title>
<updated>2018-11-22T15:11:15+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-11-22T15:11:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=a5194115733f6ca8fc1ddbee43eabbde536900e6'/>
<id>a5194115733f6ca8fc1ddbee43eabbde536900e6</id>
<content type='text'>
This reverts commit d2be9a5c13221fb84c2221bbfd93efac6111e697.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit d2be9a5c13221fb84c2221bbfd93efac6111e697.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-35239: _PySys_EndInit() copies module_search_path (GH-10532)</title>
<updated>2018-11-16T11:34:35+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-11-16T11:34:35+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=d2be9a5c13221fb84c2221bbfd93efac6111e697'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* 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;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-22689: Copy the result of getenv() in sys_breakpointhook(). (GH-8194)</title>
<updated>2018-07-09T19:06:02+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-07-09T19:06:02+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=6f4fbf8ea428e13959a7aaba0ac9725ed407752a'/>
<id>6f4fbf8ea428e13959a7aaba0ac9725ed407752a</id>
<content type='text'>
(cherry picked from commit f60bf0e168255b7675a4c049250ba6b202f8e647)

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit f60bf0e168255b7675a4c049250ba6b202f8e647)

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-33042: Fix pre-initialization sys module configuration (GH-6157)</title>
<updated>2018-03-25T11:27:57+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-03-25T11:27:57+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=c6d94c37f4fd863c73fbfbcc918fd23b458b5301'/>
<id>c6d94c37f4fd863c73fbfbcc918fd23b458b5301</id>
<content type='text'>
- new test case for pre-initialization of sys.warnoptions and sys._xoptions
- restored ability to call these APIs prior to Py_Initialize
- updated the docs for the affected APIs to make it clear they can be
  called before Py_Initialize
- also enhanced the existing embedding test cases
  to check for expected settings in the sys module
(cherry picked from commit bc77eff8b96be4f035e665ab35c1d06e22f46491)

Co-authored-by: Nick Coghlan &lt;ncoghlan@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- new test case for pre-initialization of sys.warnoptions and sys._xoptions
- restored ability to call these APIs prior to Py_Initialize
- updated the docs for the affected APIs to make it clear they can be
  called before Py_Initialize
- also enhanced the existing embedding test cases
  to check for expected settings in the sys module
(cherry picked from commit bc77eff8b96be4f035e665ab35c1d06e22f46491)

Co-authored-by: Nick Coghlan &lt;ncoghlan@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-32591: Add native coroutine origin tracking (#5250)</title>
<updated>2018-01-21T14:44:07+00:00</updated>
<author>
<name>Nathaniel J. Smith</name>
<email>njs@pobox.com</email>
</author>
<published>2018-01-21T14:44:07+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=fc2f407829d9817ddacccae6944dd0879cfaca24'/>
<id>fc2f407829d9817ddacccae6944dd0879cfaca24</id>
<content type='text'>
* Add coro.cr_origin and sys.set_coroutine_origin_tracking_depth
* Use coroutine origin information in the unawaited coroutine warning
* Stop using set_coroutine_wrapper in asyncio debug mode
* In BaseEventLoop.set_debug, enable debugging in the correct thread</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add coro.cr_origin and sys.set_coroutine_origin_tracking_depth
* Use coroutine origin information in the unawaited coroutine warning
* Stop using set_coroutine_wrapper in asyncio debug mode
* In BaseEventLoop.set_debug, enable debugging in the correct thread</pre>
</div>
</content>
</entry>
</feed>
