<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Objects/intobject.c, branch 2.4</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/intobject.c?h=2.4</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/intobject.c?h=2.4'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2006-10-04T10:13:32Z</updated>
<entry>
<title>A review of overflow-detecting code in the 2.4 branch.</title>
<updated>2006-10-04T10:13:32Z</updated>
<author>
<name>Armin Rigo</name>
<email>arigo@tunes.org</email>
</author>
<published>2006-10-04T10:13:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b2d0f342404de73905e4febb8c202f41fc0f654f'/>
<id>urn:sha1:b2d0f342404de73905e4febb8c202f41fc0f654f</id>
<content type='text'>
* unified the way intobject, longobject and mystrtoul handle
  values around -sys.maxint-1.

* in general, trying to entierely avoid overflows in any computation
  involving signed ints or longs is extremely involved.  Fixed a few
  simple cases where a compiler might be too clever (but that's all
  guesswork).

* more overflow checks against bad data in marshal.c.
</content>
</entry>
<entry>
<title>Fix integer negation and absolute value to not rely</title>
<updated>2006-10-04T05:48:05Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2006-10-04T05:48:05Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=98041d7bf034fec109fb24a88fcf7b70fdade899'/>
<id>urn:sha1:98041d7bf034fec109fb24a88fcf7b70fdade899</id>
<content type='text'>
on undefined behaviour of the C compiler anymore.
</content>
</entry>
<entry>
<title>Merge rev 51711 from the 2.5 branch.</title>
<updated>2006-09-05T02:00:47Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2006-09-05T02:00:47Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e63dab55ec0ea8b99749565e61cdcee25579eb72'/>
<id>urn:sha1:e63dab55ec0ea8b99749565e61cdcee25579eb72</id>
<content type='text'>
i_divmod():  As discussed on Python-Dev, changed the overflow
checking to live happily with recent gcc optimizations that
assume signed integer arithmetic never overflows.
</content>
</entry>
<entry>
<title>Stop producing or using OverflowWarning.  PEP 237 thought this would</title>
<updated>2004-08-25T02:14:08Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2004-08-25T02:14:08Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c8854434790d3a281f0ea5a4714e5c01414413b0'/>
<id>urn:sha1:c8854434790d3a281f0ea5a4714e5c01414413b0</id>
<content type='text'>
happen in 2.3, but nobody noticed it still was getting generated (the
warning was disabled by default).  OverflowWarning and
PyExc_OverflowWarning should be removed for 2.5, and left notes all over
saying so.
</content>
</entry>
<entry>
<title>Check the type of values returned by __int__, __float__, __long__,</title>
<updated>2004-07-19T16:29:17Z</updated>
<author>
<name>Neil Schemenauer</name>
<email>nascheme@enme.ucalgary.ca</email>
</author>
<published>2004-07-19T16:29:17Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3a313e36555a3416799f3c049b8ebb41e9edeb8a'/>
<id>urn:sha1:3a313e36555a3416799f3c049b8ebb41e9edeb8a</id>
<content type='text'>
__oct__, and __hex__.  Raise TypeError if an invalid type is
returned.  Note that PyNumber_Int and PyNumber_Long can still
return ints or longs.  Fixes SF bug #966618.
</content>
</entry>
<entry>
<title>SF bug #980419: int left-shift causes memory leak</title>
<updated>2004-06-26T23:22:57Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-06-26T23:22:57Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a006c37472ccca46edf6b138a386ff100c621a80'/>
<id>urn:sha1:a006c37472ccca46edf6b138a386ff100c621a80</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reword message</title>
<updated>2004-06-05T19:49:12Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2004-06-05T19:49:12Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=41627bf78db5403b493143c90e96d75fc7021a05'/>
<id>urn:sha1:41627bf78db5403b493143c90e96d75fc7021a05</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix exception wording</title>
<updated>2004-06-05T19:29:41Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2004-06-05T19:29:41Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=204d7861df5bdc1abe15ed83234ca5afce528bcb'/>
<id>urn:sha1:204d7861df5bdc1abe15ed83234ca5afce528bcb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>SF patch #875689: &gt;100k alloc wasted on startup</title>
<updated>2004-02-08T18:54:37Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-02-08T18:54:37Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b32e640489f179f956437811497b19d2fa3c33f1'/>
<id>urn:sha1:b32e640489f179f956437811497b19d2fa3c33f1</id>
<content type='text'>
(Contributed by Mike Pall.)

Make sure fill_free_list() is called only once rather than 106 times
when pre-allocating small ints.
</content>
</entry>
<entry>
<title>- Removed FutureWarnings related to hex/oct literals and conversions</title>
<updated>2003-11-29T23:52:13Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2003-11-29T23:52:13Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6c9e130524533263b690e86639a36b6f3e7a8eeb'/>
<id>urn:sha1:6c9e130524533263b690e86639a36b6f3e7a8eeb</id>
<content type='text'>
  and left shifts.  (Thanks to Kalle Svensson for SF patch 849227.)
  This addresses most of the remaining semantic changes promised by
  PEP 237, except for repr() of a long, which still shows the trailing
  'L'.  The PEP appears to promise warnings for operations that
  changed semantics compared to Python 2.3, but this is not
  implemented; we've suffered through enough warnings related to
  hex/oct literals and I think it's best to be silent now.
</content>
</entry>
</feed>
