<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Lib/test/test_tools, branch enum-private-310</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-45042: Now test classes decorated with `requires_hashdigest` are not skipped (GH-28060)</title>
<updated>2021-09-04T21:04:44+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2021-09-04T21:04:44+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=e5976dd2e6e966183da59df99978ebcb4b3a32df'/>
<id>e5976dd2e6e966183da59df99978ebcb4b3a32df</id>
<content type='text'>
Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;
(cherry picked from commit dd7b816ac87e468e2fa65ce83c2a03fe1da8503e)

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

Co-authored-by: Nikita Sobolev &lt;mail@sobolevn.me&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36310: Allow pygettext.py to detect calls to gettext in f-strings. (GH-19875)</title>
<updated>2020-11-09T22:50:45+00:00</updated>
<author>
<name>jack1142</name>
<email>6032823+jack1142@users.noreply.github.com</email>
</author>
<published>2020-11-09T22:50:45+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=bfc6b63102d37ccb58a71711e2342143cd9f4d86'/>
<id>bfc6b63102d37ccb58a71711e2342143cd9f4d86</id>
<content type='text'>
Adds support to Tools/i18n/pygettext.py for gettext calls in f-strings. This process is done by parsing the f-strings, processing each value, and flagging the ones which contain a gettext call.

Co-authored-by: Batuhan Taskaya &lt;batuhanosmantaskaya@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adds support to Tools/i18n/pygettext.py for gettext calls in f-strings. This process is done by parsing the f-strings, processing each value, and flagging the ones which contain a gettext call.

Co-authored-by: Batuhan Taskaya &lt;batuhanosmantaskaya@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36876: Fix the C analyzer tool. (GH-22841)</title>
<updated>2020-10-23T00:42:51+00:00</updated>
<author>
<name>Eric Snow</name>
<email>ericsnowcurrently@gmail.com</email>
</author>
<published>2020-10-23T00:42:51+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=345cd37abe324ad4f60f80e2c3133b8849e54e9b'/>
<id>345cd37abe324ad4f60f80e2c3133b8849e54e9b</id>
<content type='text'>
The original tool wasn't working right and it was simpler to create a new one, partially re-using some of the old code. At this point the tool runs properly on the master. (Try: ./python Tools/c-analyzer/c-analyzer.py analyze.)  It take ~40 seconds on my machine to analyze the full CPython code base.

Note that we'll need to iron out some OS-specific stuff (e.g. preprocessor). We're okay though since this tool isn't used yet in our workflow. We will also need to verify the analysis results in detail before activating the check in CI, though I'm pretty sure it's close.

https://bugs.python.org/issue36876</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The original tool wasn't working right and it was simpler to create a new one, partially re-using some of the old code. At this point the tool runs properly on the master. (Try: ./python Tools/c-analyzer/c-analyzer.py analyze.)  It take ~40 seconds on my machine to analyze the full CPython code base.

Note that we'll need to iron out some OS-specific stuff (e.g. preprocessor). We're okay though since this tool isn't used yet in our workflow. We will also need to verify the analysis results in detail before activating the check in CI, though I'm pretty sure it's close.

https://bugs.python.org/issue36876</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-41521: Replace whitelist/blacklist with allowlist/denylist (GH-21822)</title>
<updated>2020-08-11T13:26:59+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-08-11T13:26:59+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=fabd7bb8e0450f16ed5c5c0ad575aa413d65712d'/>
<id>fabd7bb8e0450f16ed5c5c0ad575aa413d65712d</id>
<content type='text'>
Automerge-Triggered-By: @tiran</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Automerge-Triggered-By: @tiran</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40275: Use new test.support helper submodules in tests (GH-21743)</title>
<updated>2020-08-06T11:51:29+00:00</updated>
<author>
<name>Hai Shi</name>
<email>shihai1992@gmail.com</email>
</author>
<published>2020-08-06T11:51:29+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=79bb2c93f2d81702fdf1f93720369e18a76b7d1a'/>
<id>79bb2c93f2d81702fdf1f93720369e18a76b7d1a</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: Use new test.support helper submodules in tests (GH-21727)</title>
<updated>2020-08-04T15:53:12+00:00</updated>
<author>
<name>Hai Shi</name>
<email>shihai1992@gmail.com</email>
</author>
<published>2020-08-04T15:53:12+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=c7decc27d529c04a4e6b2922e3f3f9419b920f63'/>
<id>c7decc27d529c04a4e6b2922e3f3f9419b920f63</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: Use new test.support helper submodules in tests (GH-21151)</title>
<updated>2020-06-25T17:17:57+00:00</updated>
<author>
<name>Hai Shi</name>
<email>shihai1992@gmail.com</email>
</author>
<published>2020-06-25T17:17:57+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=847f94f47b104aec678d1d2a2d8fe23d817f375e'/>
<id>847f94f47b104aec678d1d2a2d8fe23d817f375e</id>
<content type='text'>
Use new test.support helper submodules in tests:

* distutils tests
* test_buffer
* test_compile
* test_filecmp
* test_fileinput
* test_readline
* test_smtpnet
* test_structmembers
* test_tools</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use new test.support helper submodules in tests:

* distutils tests
* test_buffer
* test_compile
* test_filecmp
* test_fileinput
* test_readline
* test_smtpnet
* test_structmembers
* test_tools</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-41069: Make TESTFN and the CWD for tests containing non-ascii characters. (GH-21035)</title>
<updated>2020-06-25T14:56:31+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2020-06-25T14:56:31+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=700cfa8c90a90016638bac13c4efd03786b2b2a0'/>
<id>700cfa8c90a90016638bac13c4efd03786b2b2a0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-9216: hashlib usedforsecurity fixes (GH-20258)</title>
<updated>2020-05-22T18:04:33+00:00</updated>
<author>
<name>Christian Heimes</name>
<email>christian@python.org</email>
</author>
<published>2020-05-22T18:04:33+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=909b5714e1303357868bc5e281c1cf508d5d5a17'/>
<id>909b5714e1303357868bc5e281c1cf508d5d5a17</id>
<content type='text'>
func:`hashlib.new` passed ``usedforsecurity`` to OpenSSL EVP constructor
``_hashlib.new()``. test_hashlib and test_smtplib handle strict security
policy better.

Signed-off-by: Christian Heimes &lt;christian@python.org&gt;

Automerge-Triggered-By: @tiran</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
func:`hashlib.new` passed ``usedforsecurity`` to OpenSSL EVP constructor
``_hashlib.new()``. test_hashlib and test_smtplib handle strict security
policy better.

Signed-off-by: Christian Heimes &lt;christian@python.org&gt;

Automerge-Triggered-By: @tiran</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40443: Remove unused imports in tests (GH-19805)</title>
<updated>2020-04-29T23:48:37+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-04-29T23:48:37+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=57572b103ebd8732ac21922f0051a7f140d0e405'/>
<id>57572b103ebd8732ac21922f0051a7f140d0e405</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
