<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Lib/test/test_decimal.py, branch 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>[3.7] gh-95778: CVE-2020-10735: Prevent DoS by very large int() (GH-96504)</title>
<updated>2022-09-06T05:24:36+00:00</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@krypto.org</email>
</author>
<published>2022-09-06T05:24:36+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=15ec1afd4fcd2da1e2d2b256c562fb42d8d886a2'/>
<id>15ec1afd4fcd2da1e2d2b256c562fb42d8d886a2</id>
<content type='text'>
Converting between `int` and `str` in bases other than 2
(binary), 4, 8 (octal), 16 (hexadecimal), or 32 such as base 10 (decimal) now
raises a `ValueError` if the number of digits in string form is above a
limit to avoid potential denial of service attacks due to the algorithmic
complexity. This is a mitigation for CVE-2020-10735
(https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10735).

This new limit can be configured or disabled by environment variable, command
line flag, or :mod:`sys` APIs. See the `Integer String Conversion Length
Limitation` documentation.  The default limit is 4300
digits in string form.

Patch by Gregory P. Smith [Google] and Christian Heimes [Red Hat] with feedback
from Victor Stinner, Thomas Wouters, Steve Dower, Ned Deily, and Mark Dickinson.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Converting between `int` and `str` in bases other than 2
(binary), 4, 8 (octal), 16 (hexadecimal), or 32 such as base 10 (decimal) now
raises a `ValueError` if the number of digits in string form is above a
limit to avoid potential denial of service attacks due to the algorithmic
complexity. This is a mitigation for CVE-2020-10735
(https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10735).

This new limit can be configured or disabled by environment variable, command
line flag, or :mod:`sys` APIs. See the `Integer String Conversion Length
Limitation` documentation.  The default limit is 4300
digits in string form.

Patch by Gregory P. Smith [Google] and Christian Heimes [Red Hat] with feedback
from Victor Stinner, Thomas Wouters, Steve Dower, Ned Deily, and Mark Dickinson.</pre>
</div>
</content>
</entry>
<entry>
<title>[3.7] Revert bpo-39576: Prevent memory error for overly optimistic precisions (GH-20748)</title>
<updated>2020-06-08T23:55:47+00:00</updated>
<author>
<name>Stefan Krah</name>
<email>skrah@bytereef.org</email>
</author>
<published>2020-06-08T23:55:47+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=22faf6ad3bcc0ae478a9a3e2d8e35888d88d6ce8'/>
<id>22faf6ad3bcc0ae478a9a3e2d8e35888d88d6ce8</id>
<content type='text'>
This reverts commit c6f95543b4832c3f0170179da39bcf99b40a7aa8.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit c6f95543b4832c3f0170179da39bcf99b40a7aa8.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-39576: Prevent memory error for overly optimistic precisions (GH-18581) (#18585)</title>
<updated>2020-02-21T01:15:41+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2020-02-21T01:15:41+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=c6f95543b4832c3f0170179da39bcf99b40a7aa8'/>
<id>c6f95543b4832c3f0170179da39bcf99b40a7aa8</id>
<content type='text'>
(cherry picked from commit 90930e65455f60216f09d175586139242dbba260)

Authored-by: Stefan Krah &lt;skrah@bytereef.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 90930e65455f60216f09d175586139242dbba260)

Authored-by: Stefan Krah &lt;skrah@bytereef.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-35133: Fix mistakes when concatenate string literals on different lines. (GH-10284)</title>
<updated>2018-11-05T14:52:58+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-11-05T14:52:58+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=7beb8c54ede7669a59bb9b912ba0ffd8aa3998c6'/>
<id>7beb8c54ede7669a59bb9b912ba0ffd8aa3998c6</id>
<content type='text'>
Two kind of mistakes:

1. Missed space. After concatenating there is no space between words.

2. Missed comma. Causes unintentional concatenating in a list of strings.
(cherry picked from commit 34fd4c20198dea6ab2fe8dc6d32d744d9bde868d)

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Two kind of mistakes:

1. Missed space. After concatenating there is no space between words.

2. Missed comma. Causes unintentional concatenating in a list of strings.
(cherry picked from commit 34fd4c20198dea6ab2fe8dc6d32d744d9bde868d)

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-33750: Reset thread-local context precision in test_round(). (GH-7355) (#7357)</title>
<updated>2018-06-03T17:36:34+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-06-03T17:36:34+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=bdab3ea8b98db2133ef1e2d92b2a2c539f08ddaf'/>
<id>bdab3ea8b98db2133ef1e2d92b2a2c539f08ddaf</id>
<content type='text'>
(cherry picked from commit e95dfc5006d19e59c7871faa9973356844ddb3ae)

Co-authored-by: Stefan Krah &lt;skrah@bytereef.org&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit e95dfc5006d19e59c7871faa9973356844ddb3ae)

Co-authored-by: Stefan Krah &lt;skrah@bytereef.org&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-31234: Join threads in tests (#3572)</title>
<updated>2017-09-14T15:43:04+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-09-14T15:43:04+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=18e95b4176256f100429a806d0455406df98f984'/>
<id>18e95b4176256f100429a806d0455406df98f984</id>
<content type='text'>
Call thread.join() on threads to prevent the "dangling threads"
warning.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Call thread.join() on threads to prevent the "dangling threads"
warning.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-31370: Remove support for threads-less builds (#3385)</title>
<updated>2017-09-07T16:56:24+00:00</updated>
<author>
<name>Antoine Pitrou</name>
<email>pitrou@free.fr</email>
</author>
<published>2017-09-07T16:56:24+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=a6a4dc816d68df04a7d592e0b6af8c7ecc4d4344'/>
<id>a6a4dc816d68df04a7d592e0b6af8c7ecc4d4344</id>
<content type='text'>
* Remove Setup.config
* Always define WITH_THREAD for compatibility.

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Remove Setup.config
* Always define WITH_THREAD for compatibility.

</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-29919: Remove unused imports found by pyflakes (#137)</title>
<updated>2017-03-27T14:05:26+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-03-27T14:05:26+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=d6debb24e06152a827769b0cac24c47deccdeac1'/>
<id>d6debb24e06152a827769b0cac24c47deccdeac1</id>
<content type='text'>
Make also minor PEP8 coding style fixes on modified imports.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make also minor PEP8 coding style fixes on modified imports.</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed #29534 - _decimal difference with _pydecimal (#65)</title>
<updated>2017-02-14T18:22:55+00:00</updated>
<author>
<name>Andrew Nester</name>
<email>andrew.nester.dev@gmail.com</email>
</author>
<published>2017-02-14T18:22:55+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=6d1dece06d13a7d40637e07b2c79f34aab368766'/>
<id>6d1dece06d13a7d40637e07b2c79f34aab368766</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unused imports.</title>
<updated>2016-12-16T18:00:15+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-12-16T18:00:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=70d28a184c42d107cc8c69a95aa52a4469e7929c'/>
<id>70d28a184c42d107cc8c69a95aa52a4469e7929c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
