<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Lib/test/support, branch refactor-lambda-parameters</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-40275: Fix name error in support.socket_helper (GH-19825)</title>
<updated>2020-05-01T00:35:24+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-05-01T00:35:24+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=2935e65c36fab1989bbda19db72c035ea22b044b'/>
<id>2935e65c36fab1989bbda19db72c035ea22b044b</id>
<content type='text'>
Replace TestFailed with support.TestFailed.

Bug spotted by pyflakes.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Replace TestFailed with support.TestFailed.

Bug spotted by pyflakes.</pre>
</div>
</content>
</entry>
<entry>
<title>Add missing sys import to socket_helper.py (GH-19791)</title>
<updated>2020-04-29T11:32:31+00:00</updated>
<author>
<name>Pablo Galindo</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2020-04-29T11:32:31+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=5089bcd33f5a10769cea7fd532b5d890859bf01d'/>
<id>5089bcd33f5a10769cea7fd532b5d890859bf01d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40275: Move transient_internet from test.support to socket_helper (GH-19711)</title>
<updated>2020-04-29T07:36:20+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2020-04-29T07:36:20+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=bfb1cf44658934cbcd9707fb717d6770c78fbeb3'/>
<id>bfb1cf44658934cbcd9707fb717d6770c78fbeb3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40275: Move requires_hashdigest() to test.support.hashlib_helper (GH-19716)</title>
<updated>2020-04-29T01:11:29+00:00</updated>
<author>
<name>Hai Shi</name>
<email>shihai1992@gmail.com</email>
</author>
<published>2020-04-29T01:11:29+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=66abe98a816de84f89e2de4aa78cf09056227c25'/>
<id>66abe98a816de84f89e2de4aa78cf09056227c25</id>
<content type='text'>
Add a new test.support.hashlib_helper submodule.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a new test.support.hashlib_helper submodule.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40275: Avoid importing logging in test.support (GH-19601)</title>
<updated>2020-04-25T08:35:18+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2020-04-25T08:35:18+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=515fce4fc4bb0d2db97b17df275cf90640017f56'/>
<id>515fce4fc4bb0d2db97b17df275cf90640017f56</id>
<content type='text'>
Import logging lazily in assertLogs() in unittest.
Move TestHandler from test.support to logging_helper.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Import logging lazily in assertLogs() in unittest.
Move TestHandler from test.support to logging_helper.
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40275: Avoid importing socket in test.support (GH-19603)</title>
<updated>2020-04-25T07:06:29+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2020-04-25T07:06:29+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=16994912c93e8e5db7365d48b75d67d3f70dd7b2'/>
<id>16994912c93e8e5db7365d48b75d67d3f70dd7b2</id>
<content type='text'>
* Move socket related functions from test.support to socket_helper.
* Import socket, nntplib and urllib.error lazily in transient_internet().
* Remove importing multiprocess.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Move socket related functions from test.support to socket_helper.
* Import socket, nntplib and urllib.error lazily in transient_internet().
* Remove importing multiprocess.
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40275: Avoid importing asyncio in test.support (GH-19600)</title>
<updated>2020-04-25T07:04:10+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2020-04-25T07:04:10+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=3c8a5b459d68b4337776ada1e04f5b33f90a2275'/>
<id>3c8a5b459d68b4337776ada1e04f5b33f90a2275</id>
<content type='text'>
* Import asyncio lazily in unittest (only when IsolatedAsyncioTestCase is used).
* Import asyncio.events lazily in test.support.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Import asyncio lazily in unittest (only when IsolatedAsyncioTestCase is used).
* Import asyncio.events lazily in test.support.
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-39983: Add test.support.print_warning() (GH-19683)</title>
<updated>2020-04-23T17:03:52+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-04-23T17:03:52+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=d663d34685e18588748569468c672763f4c73b3e'/>
<id>d663d34685e18588748569468c672763f4c73b3e</id>
<content type='text'>
Log "Warning -- ..." test warnings into sys.__stderr__ rather than
sys.stderr, to ensure to display them even if sys.stderr is captured.

test.libregrtest.utils.print_warning() now calls
test.support.print_warning().</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Log "Warning -- ..." test warnings into sys.__stderr__ rather than
sys.stderr, to ensure to display them even if sys.stderr is captured.

test.libregrtest.utils.print_warning() now calls
test.support.print_warning().</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40334: Rename PyConfig.use_peg to _use_peg_parser (GH-19670)</title>
<updated>2020-04-23T01:03:24+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-04-23T01:03:24+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=1def7754b7a41fe57efafaf5eff24cfa15353444'/>
<id>1def7754b7a41fe57efafaf5eff24cfa15353444</id>
<content type='text'>
* Rename PyConfig.use_peg to _use_peg_parser
* Document PyConfig._use_peg_parser and mark it a deprecated
* Mark -X oldparser option and PYTHONOLDPARSER env var as deprecated
  in the documentation.
* Add use_old_parser() and skip_if_new_parser() to test.support
* Remove sys.flags.use_peg: use_old_parser() uses
  _testinternalcapi.get_configs() instead.
* Enhance test_embed tests
* subprocess._args_from_interpreter_flags() copies -X oldparser</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Rename PyConfig.use_peg to _use_peg_parser
* Document PyConfig._use_peg_parser and mark it a deprecated
* Mark -X oldparser option and PYTHONOLDPARSER env var as deprecated
  in the documentation.
* Add use_old_parser() and skip_if_new_parser() to test.support
* Remove sys.flags.use_peg: use_old_parser() uses
  _testinternalcapi.get_configs() instead.
* Enhance test_embed tests
* subprocess._args_from_interpreter_flags() copies -X oldparser</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40241: Add pycore_gc.h header file (GH-19494)</title>
<updated>2020-04-13T09:38:42+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-04-13T09:38:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=0135598d729d01f35ce08d47160adaa095a6149f'/>
<id>0135598d729d01f35ce08d47160adaa095a6149f</id>
<content type='text'>
Move the PyGC_Head structure and the following private macros to the
internal C API:

* _PyGCHead_FINALIZED()
* _PyGCHead_NEXT()
* _PyGCHead_PREV()
* _PyGCHead_SET_FINALIZED()
* _PyGCHead_SET_NEXT()
* _PyGCHead_SET_PREV()
* _PyGC_FINALIZED()
* _PyGC_PREV_MASK
* _PyGC_PREV_MASK_COLLECTING
* _PyGC_PREV_MASK_FINALIZED
* _PyGC_PREV_SHIFT
* _PyGC_SET_FINALIZED()
* _PyObject_GC_IS_TRACKED()
* _PyObject_GC_MAY_BE_TRACKED()
* _Py_AS_GC(o)

Keep the private _PyGC_FINALIZED() macro in the public C API for
backward compatibility with Python 3.8: make it an alias to the new
PyObject_GC_IsFinalized() function.

Move the SIZEOF_PYGC_HEAD constant from _testcapi module to
_testinternalcapi module.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move the PyGC_Head structure and the following private macros to the
internal C API:

* _PyGCHead_FINALIZED()
* _PyGCHead_NEXT()
* _PyGCHead_PREV()
* _PyGCHead_SET_FINALIZED()
* _PyGCHead_SET_NEXT()
* _PyGCHead_SET_PREV()
* _PyGC_FINALIZED()
* _PyGC_PREV_MASK
* _PyGC_PREV_MASK_COLLECTING
* _PyGC_PREV_MASK_FINALIZED
* _PyGC_PREV_SHIFT
* _PyGC_SET_FINALIZED()
* _PyObject_GC_IS_TRACKED()
* _PyObject_GC_MAY_BE_TRACKED()
* _Py_AS_GC(o)

Keep the private _PyGC_FINALIZED() macro in the public C API for
backward compatibility with Python 3.8: make it an alias to the new
PyObject_GC_IsFinalized() function.

Move the SIZEOF_PYGC_HEAD constant from _testcapi module to
_testinternalcapi module.</pre>
</div>
</content>
</entry>
</feed>
