<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/fractions.py, branch 3.7</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/fractions.py?h=3.7</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/fractions.py?h=3.7'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2020-02-06T15:14:37Z</updated>
<entry>
<title>bpo-39274: Ensure Fraction.__bool__() returns a bool (GH-18017)</title>
<updated>2020-02-06T15:14:37Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2020-02-06T15:14:37Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=705d271d553b77fd170d27ab8d0f11f638c7f145'/>
<id>urn:sha1:705d271d553b77fd170d27ab8d0f11f638c7f145</id>
<content type='text'>
Some numerator types used (specifically NumPy) decides to not
return a Python boolean for the "a != b" operation. Using the equivalent
call to bool() guarantees a bool return also for such types.
(cherry picked from commit 427c84f13f7719e6014a21bd1b81efdc02a046fb)

Co-authored-by: Sebastian Berg &lt;sebastian@sipsolutions.net&gt;</content>
</entry>
<entry>
<title>Issue #27832: Make _normalize parameter to Fraction.__init__ keyword-only.</title>
<updated>2016-08-23T15:16:52Z</updated>
<author>
<name>Mark Dickinson</name>
<email>dickinsm@gmail.com</email>
</author>
<published>2016-08-23T15:16:52Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7caf908c64a0d6d8c875e7403f22992227be47f2'/>
<id>urn:sha1:7caf908c64a0d6d8c875e7403f22992227be47f2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #27539: Merge from 3.5.</title>
<updated>2016-08-22T09:56:06Z</updated>
<author>
<name>Mark Dickinson</name>
<email>dickinsm@gmail.com</email>
</author>
<published>2016-08-22T09:56:06Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0add84b9b855c10e9c6434286c2b1157a754a39f'/>
<id>urn:sha1:0add84b9b855c10e9c6434286c2b1157a754a39f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #27539: Fix unnormalised Fraction.__pow__ result for negative exponent and base. Thanks Vedran Čačić.</title>
<updated>2016-08-22T09:50:53Z</updated>
<author>
<name>Mark Dickinson</name>
<email>dickinsm@gmail.com</email>
</author>
<published>2016-08-22T09:50:53Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=844796530a21f2a8689f2b9e01035d4a64a95275'/>
<id>urn:sha1:844796530a21f2a8689f2b9e01035d4a64a95275</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #25971: Optimized creating Fractions from floats by 2 times and from</title>
<updated>2015-12-29T20:34:23Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2015-12-29T20:34:23Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0d250bc119489fa7d094d4a3fd2fd2fa0a508145'/>
<id>urn:sha1:0d250bc119489fa7d094d4a3fd2fd2fa0a508145</id>
<content type='text'>
Decimals by 3 times.
Unified error messages in float.as_integer_ratio(), Decimal.as_integer_ratio(),
and Fraction constructors.
</content>
</entry>
<entry>
<title>Issue #22486: Added the math.gcd() function.  The fractions.gcd() function now is</title>
<updated>2015-05-12T21:19:51Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2015-05-12T21:19:51Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=48e47aaa28d6dfdae128142ffcbc4b0642422e90'/>
<id>urn:sha1:48e47aaa28d6dfdae128142ffcbc4b0642422e90</id>
<content type='text'>
deprecated.  Based on patch by Mark Dickinson.
</content>
</entry>
<entry>
<title>#22464: Speed up common Fraction operations by special-casing several</title>
<updated>2014-09-24T06:37:55Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2014-09-24T06:37:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=40f9735486a847130eb52185659a278cf369bb9e'/>
<id>urn:sha1:40f9735486a847130eb52185659a278cf369bb9e</id>
<content type='text'>
operations for int-type arguments: constructor and equality test.

Also avoid redundant property lookups in addition and subtraction.
</content>
</entry>
<entry>
<title>Issue #22033: Reprs of most Python implemened classes now contain actual</title>
<updated>2014-07-25T20:36:00Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2014-07-25T20:36:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=465e60e654732b3a0b726d1fd82950fc982fcba2'/>
<id>urn:sha1:465e60e654732b3a0b726d1fd82950fc982fcba2</id>
<content type='text'>
class name instead of hardcoded one.
</content>
</entry>
<entry>
<title>Issue #21136: Avoid unnecessary normalization in Fractions resulting from power and other operations.</title>
<updated>2014-04-05T08:29:00Z</updated>
<author>
<name>Mark Dickinson</name>
<email>dickinsm@gmail.com</email>
</author>
<published>2014-04-05T08:29:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3c286e2e0d2aa17b5a90d671280a95ba5cd6521c'/>
<id>urn:sha1:3c286e2e0d2aa17b5a90d671280a95ba5cd6521c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #16469: Fraction(float('nan')) and Fraction(float('inf')) now raise ValueError and OverflowError (resp.), not TypeError.</title>
<updated>2012-11-15T20:58:40Z</updated>
<author>
<name>Mark Dickinson</name>
<email>mdickinson@enthought.com</email>
</author>
<published>2012-11-15T20:58:40Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=73726aac0fada5a94587fde7ba48aa0699e59bc9'/>
<id>urn:sha1:73726aac0fada5a94587fde7ba48aa0699e59bc9</id>
<content type='text'>
</content>
</entry>
</feed>
