<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/fractions.py, branch 2.6</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=2.6</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/fractions.py?h=2.6'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2009-11-23T16:25:51Z</updated>
<entry>
<title>Merged revisions 76456 via svnmerge from</title>
<updated>2009-11-23T16:25:51Z</updated>
<author>
<name>Mark Dickinson</name>
<email>dickinsm@gmail.com</email>
</author>
<published>2009-11-23T16:25:51Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fb681f701d9a0c7eb8b0b89745df484024760b5b'/>
<id>urn:sha1:fb681f701d9a0c7eb8b0b89745df484024760b5b</id>
<content type='text'>
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76456 | mark.dickinson | 2009-11-23 16:23:43 +0000 (Mon, 23 Nov 2009) | 2 lines

  Issue #7379:  Fix incorrect doctest for Fraction.limit_denominator.
........
</content>
</entry>
<entry>
<title>Fractions.from_float() no longer loses precision with large integer inputs.</title>
<updated>2009-01-03T09:24:18Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2009-01-03T09:24:18Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=40188782dd9cf3495293d8fe07070d4c642389fd'/>
<id>urn:sha1:40188782dd9cf3495293d8fe07070d4c642389fd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue 3285: Fractions from_float() and from_decimal() accept Integral arguments.</title>
<updated>2008-07-10T14:34:57Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2008-07-10T14:34:57Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b01713e7dc26721e821a2b3ed8a67600d68940fb'/>
<id>urn:sha1:b01713e7dc26721e821a2b3ed8a67600d68940fb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use operator.index() instead of n.__index__().</title>
<updated>2008-07-10T10:28:41Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2008-07-10T10:28:41Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=548db58e0264385026c892c524522e82f8468fa5'/>
<id>urn:sha1:548db58e0264385026c892c524522e82f8468fa5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue 3287: Raise correct exception for float inputs.</title>
<updated>2008-07-10T09:31:08Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2008-07-10T09:31:08Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=655d583a493e6ea03758011857945f290528658a'/>
<id>urn:sha1:655d583a493e6ea03758011857945f290528658a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove trailing 'L's from numerator and denominator in the</title>
<updated>2008-06-27T10:11:52Z</updated>
<author>
<name>Mark Dickinson</name>
<email>dickinsm@gmail.com</email>
</author>
<published>2008-06-27T10:11:52Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3af386a5cb935a7efbfa30f33be3be80ed4d71fa'/>
<id>urn:sha1:3af386a5cb935a7efbfa30f33be3be80ed4d71fa</id>
<content type='text'>
repr() of a Fraction instance.
</content>
</entry>
<entry>
<title>Use repr() for bad input strings; this makes the empty string or binary characters more visible</title>
<updated>2008-06-21T13:47:20Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2008-06-21T13:47:20Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f484363baecbe69def74a4535cb9545869424dcb'/>
<id>urn:sha1:f484363baecbe69def74a4535cb9545869424dcb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>The __all__ variable forgot to expose the gcd() function.</title>
<updated>2008-05-08T04:36:12Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2008-05-08T04:36:12Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=cf98f03a62c1e85eff9067cc980b630b619a1fc1'/>
<id>urn:sha1:cf98f03a62c1e85eff9067cc980b630b619a1fc1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Change simple instances (in Fraction) of self.numerator and self.denominator to</title>
<updated>2008-02-14T07:49:25Z</updated>
<author>
<name>Jeffrey Yasskin</name>
<email>jyasskin@gmail.com</email>
</author>
<published>2008-02-14T07:49:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=339f5e3ffc4d1005020ffc2fc85fcc618c7461fa'/>
<id>urn:sha1:339f5e3ffc4d1005020ffc2fc85fcc618c7461fa</id>
<content type='text'>
self._numerator and self._denominator. This speeds abs() up from 12.2us to
10.8us and trunc() from 2.07us to 1.11us. This doesn't change _add and friends
because they're more complicated.
</content>
</entry>
<entry>
<title>Performance optimizations on Fraction's constructor.</title>
<updated>2008-02-14T06:12:24Z</updated>
<author>
<name>Jeffrey Yasskin</name>
<email>jyasskin@gmail.com</email>
</author>
<published>2008-02-14T06:12:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1c214d6c942df3fc7af548f7c7e10961dcaba3ee'/>
<id>urn:sha1:1c214d6c942df3fc7af548f7c7e10961dcaba3ee</id>
<content type='text'>
  ./python.exe -m timeit -s 'from fractions import Fraction' 'Fraction(3)`
31.7 usec/loop -&gt; 9.2 usec/loop

  ./python.exe -m timeit -s 'from fractions import Fraction' 'Fraction(3, 2)'`
27.7 usec/loop -&gt; 9.32 usec/loop

  ./python.exe -m timeit -s 'from fractions import Fraction; f = Fraction(3, 2)' 'Fraction(f)'
31.9 usec/loop -&gt; 14.3 usec/loop
</content>
</entry>
</feed>
