<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Objects/longobject.c, branch v2.5c2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/longobject.c?h=v2.5c2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/longobject.c?h=v2.5c2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2006-08-12T17:03:09Z</updated>
<entry>
<title>Patch #1538606, Patch to fix __index__() clipping.</title>
<updated>2006-08-12T17:03:09Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2006-08-12T17:03:09Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8a87f5d37e6aab91ddc4c6491877b6cbd48a12cf'/>
<id>urn:sha1:8a87f5d37e6aab91ddc4c6491877b6cbd48a12cf</id>
<content type='text'>
I modified this patch some by fixing style, some error checking, and adding
XXX comments.  This patch requires review and some changes are to be expected.
I'm checking in now to get the greatest possible review and establish a
baseline for moving forward.  I don't want this to hold up release if possible.
</content>
</entry>
<entry>
<title>Move the initialization of size_a down below the check for a being NULL.</title>
<updated>2006-07-23T07:53:14Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2006-07-23T07:53:14Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c09efa844419b801ba9d9db9e04ccfb2af59d7f3'/>
<id>urn:sha1:c09efa844419b801ba9d9db9e04ccfb2af59d7f3</id>
<content type='text'>
Reported by Klocwork #106
</content>
</entry>
<entry>
<title>a &amp; b were dereffed above, so they are known to be valid pointers.</title>
<updated>2006-07-16T02:00:32Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2006-07-16T02:00:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ef02b9e1445b7c7ae60c790a68ed1e0e75dfe435'/>
<id>urn:sha1:ef02b9e1445b7c7ae60c790a68ed1e0e75dfe435</id>
<content type='text'>
z is known to be NULL, nothing to DECREF.

Reported by Klockwork, #107.
</content>
</entry>
<entry>
<title>PyLong_FromString():  Continued fraction analysis (explained in</title>
<updated>2006-05-30T15:53:34Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2006-05-30T15:53:34Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9faa3eda6b767ddfae8ff2627d50edd6ad072490'/>
<id>urn:sha1:9faa3eda6b767ddfae8ff2627d50edd6ad072490</id>
<content type='text'>
a new comment) suggests there are almost certainly large input
integers in all non-binary input bases for which one Python digit
too few is initally allocated to hold the final result.  Instead
of assert-failing when that happens, allocate more space.  Alas,
I estimate it would take a few days to find a specific such case,
so this isn't backed up by a new test (not to mention that such
a case may take hours to run, since conversion time is quadratic
in the number of digits, and preliminary attempts suggested that
the smallest such inputs contain at least a million digits).
</content>
</entry>
<entry>
<title>Patch #1494387: SVN longobject.c compiler warnings</title>
<updated>2006-05-25T22:28:46Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2006-05-25T22:28:46Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d89fc22dc6300ef3f1a8447a34f9ad2d15c722d5'/>
<id>urn:sha1:d89fc22dc6300ef3f1a8447a34f9ad2d15c722d5</id>
<content type='text'>
The SIGCHECK macro defined here has always been bizarre, but
it apparently causes compiler warnings on "Sun Studio 11".
I believe the warnings are bogus, but it doesn't hurt to make
the macro definition saner.

Bugfix candidate (but I'm not going to bother).
</content>
</entry>
<entry>
<title>Faster path for PyLong_FromLongLong, using PyLong_FromLong algorithm</title>
<updated>2006-05-25T18:20:23Z</updated>
<author>
<name>Bob Ippolito</name>
<email>bob@redivi.com</email>
</author>
<published>2006-05-25T18:20:23Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a85bf202ac57e4d8013a12b13928cccb8fbc5fa4'/>
<id>urn:sha1:a85bf202ac57e4d8013a12b13928cccb8fbc5fa4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>A new table to help string-&gt;integer conversion was added yesterday to</title>
<updated>2006-05-25T17:34:03Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2006-05-25T17:34:03Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=da53afa1b09218c0fb7ce8803cd783a43ee9d319'/>
<id>urn:sha1:da53afa1b09218c0fb7ce8803cd783a43ee9d319</id>
<content type='text'>
both mystrtoul.c and longobject.c.  Share the table instead.  Also
cut its size by 64 entries (they had been used for an inscrutable
trick originally, but the code no longer tries to use that trick).
</content>
</entry>
<entry>
<title>Heavily fiddled variant of patch #1442927: PyLong_FromString optimization.</title>
<updated>2006-05-24T21:10:40Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2006-05-24T21:10:40Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=696cf43b58cf1ddb7a3ab3c5bee6709e3b3653d9'/>
<id>urn:sha1:696cf43b58cf1ddb7a3ab3c5bee6709e3b3653d9</id>
<content type='text'>
``long(str, base)`` is now up to 6x faster for non-power-of-2 bases.  The
largest speedup is for inputs with about 1000 decimal digits.  Conversion
from non-power-of-2 bases remains quadratic-time in the number of input
digits (it was and remains linear-time for bases 2, 4, 8, 16 and 32).

Speedups at various lengths for decimal inputs, comparing 2.4.3 with
current trunk.  Note that it's actually a bit slower for 1-digit strings:

  len  speedup
 ----  -------
   1     -4.5%
   2      4.6%
   3      8.3%
   4     12.7%
   5     16.9%
   6     28.6%
   7     35.5%
   8     44.3%
   9     46.6%
  10     55.3%
  11     65.7%
  12     77.7%
  13     73.4%
  14     75.3%
  15     85.2%
  16    103.0%
  17     95.1%
  18    112.8%
  19    117.9%
  20    128.3%
  30    174.5%
  40    209.3%
  50    236.3%
  60    254.3%
  70    262.9%
  80    295.8%
  90    297.3%
 100    324.5%
 200    374.6%
 300    403.1%
 400    391.1%
 500    388.7%
 600    440.6%
 700    468.7%
 800    498.0%
 900    507.2%
1000    501.2%
2000    450.2%
3000    463.2%
4000    452.5%
5000    440.6%
6000    439.6%
7000    424.8%
8000    418.1%
9000    417.7%
</content>
</entry>
<entry>
<title>Fix problems found by Coverity.</title>
<updated>2006-05-10T06:57:58Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2006-05-10T06:57:58Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c6a989ac3a2ce1f52f48acfb73d04b604ba173b1'/>
<id>urn:sha1:c6a989ac3a2ce1f52f48acfb73d04b604ba173b1</id>
<content type='text'>
longobject.c: also fix an ssize_t problem
  &lt;a&gt; could have been NULL, so hoist the size calc to not use &lt;a&gt;.

_ssl.c: under fail: self is DECREF'd, but it would have been NULL.

_elementtree.c: delete self if there was an error.

_csv.c: I'm not sure if lineterminator could have been anything other than
a string.  However, other string method calls are checked, so check this
one too.
</content>
</entry>
<entry>
<title>C++ compiler cleanup: bunch-o-casts, plus use of unsigned loop index var in a couple places</title>
<updated>2006-04-18T00:35:43Z</updated>
<author>
<name>Skip Montanaro</name>
<email>skip@pobox.com</email>
</author>
<published>2006-04-18T00:35:43Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=429433b30bbfb957c38b1bc0b699cda2fb30db1c'/>
<id>urn:sha1:429433b30bbfb957c38b1bc0b699cda2fb30db1c</id>
<content type='text'>
</content>
</entry>
</feed>
