<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Objects/longobject.c, branch v2.4a2</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.4a2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/longobject.c?h=v2.4a2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2003-06-28T20:04:25Z</updated>
<entry>
<title>SF patch 703666: Several objects don't decref tmp on failure in subtype_new</title>
<updated>2003-06-28T20:04:25Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2003-06-28T20:04:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f466793fcc6e2234f4843bd6a04625f1fac96132'/>
<id>urn:sha1:f466793fcc6e2234f4843bd6a04625f1fac96132</id>
<content type='text'>
Submitted By: Christopher A. Craig

Fillin some missing decrefs.
</content>
</entry>
<entry>
<title>SF patch 730594:  assert from longobject.c, line 1215.</title>
<updated>2003-05-05T20:39:43Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2003-05-05T20:39:43Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c7bc0b98e7cd2190a03da1a5269cdaaea711429e'/>
<id>urn:sha1:c7bc0b98e7cd2190a03da1a5269cdaaea711429e</id>
<content type='text'>
Some version of gcc in the "RTEMS port running on the Coldfire (m5200)
processor" generates bad code for a loop in long_from_binary_base(),
comparing the wrong half of an int to a short.  The patch changes the
decl of the short temp to be an int temp instead.  This "simplifies"
the code enough that gcc no longer blows it.
</content>
</entry>
<entry>
<title>Silence compiler warnings in VC 7.</title>
<updated>2003-05-01T21:31:53Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2003-05-01T21:31:53Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fc61f9a36e937221f0bbee02afd419055a7cdb6f'/>
<id>urn:sha1:fc61f9a36e937221f0bbee02afd419055a7cdb6f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>SF # 595026: support for masks in getargs.c.</title>
<updated>2003-04-17T18:55:45Z</updated>
<author>
<name>Thomas Heller</name>
<email>theller@ctypes.org</email>
</author>
<published>2003-04-17T18:55:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a4ea603b055533e71920a088acb1c106e4895dbd'/>
<id>urn:sha1:a4ea603b055533e71920a088acb1c106e4895dbd</id>
<content type='text'>
New functions:
  unsigned long PyInt_AsUnsignedLongMask(PyObject *);
  unsigned PY_LONG_LONG) PyInt_AsUnsignedLongLongMask(PyObject *);
  unsigned long PyLong_AsUnsignedLongMask(PyObject *);
  unsigned PY_LONG_LONG) PyLong_AsUnsignedLongLongMask(PyObject *);

New and changed format codes:

b unsigned char 0..UCHAR_MAX
B unsigned char none **
h unsigned short 0..USHRT_MAX
H unsigned short none **
i int INT_MIN..INT_MAX
I * unsigned int 0..UINT_MAX
l long LONG_MIN..LONG_MAX
k * unsigned long none
L long long LLONG_MIN..LLONG_MAX
K * unsigned long long none

Notes:

* New format codes.

** Changed from previous "range-and-a-half" to "none"; the
range-and-a-half checking wasn't particularly useful.

New test test_getargs2.py, to verify all this.
</content>
</entry>
<entry>
<title>Rename LONG_LONG to PY_LONG_LONG. Fixes #710285.</title>
<updated>2003-03-29T10:06:18Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2003-03-29T10:06:18Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b9a0f9121876cbc728cbef88f16bb32b92712d2d'/>
<id>urn:sha1:b9a0f9121876cbc728cbef88f16bb32b92712d2d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix SF bug #689659, 64-bit int and long hash keys incompatible</title>
<updated>2003-02-23T23:11:41Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2003-02-23T23:11:41Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d5a65a77cfdd81ad6945195c88e367fcd9f709c2'/>
<id>urn:sha1:d5a65a77cfdd81ad6945195c88e367fcd9f709c2</id>
<content type='text'>
On a 64-bit machine, a dictionary could contain duplicate int/long keys
if the value was &gt; 2**32.
</content>
</entry>
<entry>
<title>_PyLong_Sign(): remove an assert that needed a variable ndigits that</title>
<updated>2003-02-03T15:28:19Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2003-02-03T15:28:19Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=004a65c9b10718c9f0089125f3cbbfac2a754804'/>
<id>urn:sha1:004a65c9b10718c9f0089125f3cbbfac2a754804</id>
<content type='text'>
wasn't used outside the assert (and hence caused a compiler warning
about an unused variable in NDEBUG mode).  The assert wasn't very
useful any more.

_PyLong_NumBits(): moved the calculation of ndigits after asserting
that v != NULL.
</content>
</entry>
<entry>
<title>long_from_binary_base():  Sped this a little by computing the # of bits</title>
<updated>2003-02-02T17:33:53Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2003-02-02T17:33:53Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1a3b19a6e9ac3e65fd2b648f5f2e04312afe8674'/>
<id>urn:sha1:1a3b19a6e9ac3e65fd2b648f5f2e04312afe8674</id>
<content type='text'>
needed outside the first loop.
</content>
</entry>
<entry>
<title>Tightened a too-generous assert.</title>
<updated>2003-02-02T08:05:32Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2003-02-02T08:05:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=efb9625b81c87330742e49b1df9595634583f7a8'/>
<id>urn:sha1:efb9625b81c87330742e49b1df9595634583f7a8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>long(string, base) now takes time linear in len(string) when base is a</title>
<updated>2003-02-02T07:51:32Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2003-02-02T07:51:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=bf2674be0e95787cdeb154091b7377e30b2827bf'/>
<id>urn:sha1:bf2674be0e95787cdeb154091b7377e30b2827bf</id>
<content type='text'>
power of 2.  Enabled the tail end of test_long() in pickletester.py
because it no longer takes forever when run from test_pickle.py.
</content>
</entry>
</feed>
