<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Objects/intobject.c, branch 2.2</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.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/intobject.c?h=2.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2003-01-19T15:48:38Z</updated>
<entry>
<title>Backport SF # 669553, fix memory (ref) leaks</title>
<updated>2003-01-19T15:48:38Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2003-01-19T15:48:38Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=583b86bd2c119d8dd100d2509475137b11fae1e2'/>
<id>urn:sha1:583b86bd2c119d8dd100d2509475137b11fae1e2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Backport 2.93 from trunk:</title>
<updated>2002-09-23T21:02:33Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2002-09-23T21:02:33Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1f4a01f7a7e888af95284e8bb1c5e6285ea2e262'/>
<id>urn:sha1:1f4a01f7a7e888af95284e8bb1c5e6285ea2e262</id>
<content type='text'>
Insert an overflow check when the sequence repetition count is outside
the range of ints.  The old code would pass random truncated bits to
sq_repeat() on a 64-bit machine.
</content>
</entry>
<entry>
<title>Backport:</title>
<updated>2002-08-13T10:07:17Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2002-08-13T10:07:17Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e5c877f06edbfa24cbbab9c9c83d71e7bbab117b'/>
<id>urn:sha1:e5c877f06edbfa24cbbab9c9c83d71e7bbab117b</id>
<content type='text'>
Add an improvement wrinkle to Neil Schemenauer's change to int_mul
(rev. 2.79.6.3).  The other type is only disqualified from sq_repeat when
it has the CHECKTYPES flag.  This means that for extension types that
only support "old-style" numeric ops, such as Zope 2's ExtensionClass,
sq_repeat still trumps nb_multiply.
</content>
</entry>
<entry>
<title>Only call sq_repeat if the object does not have a nb_multiply slot.  One</title>
<updated>2002-08-09T15:46:50Z</updated>
<author>
<name>Neil Schemenauer</name>
<email>nascheme@enme.ucalgary.ca</email>
</author>
<published>2002-08-09T15:46:50Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=10c18d59e14f00217c4bdd07ec140947468aad20'/>
<id>urn:sha1:10c18d59e14f00217c4bdd07ec140947468aad20</id>
<content type='text'>
example of where this changes behavior is when a new-style instance
defines '__mul__' and '__rmul__' and is multiplied by an int.  Before
the change the '__rmul__' method is never called, even if the int is the
left operand.
</content>
</entry>
<entry>
<title>backport gvanrossum's patch:</title>
<updated>2002-04-26T06:31:22Z</updated>
<author>
<name>Anthony Baxter</name>
<email>anthonybaxter@gmail.com</email>
</author>
<published>2002-04-26T06:31:22Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ebe9421770909e823ddea32d6e58365b68bf1856'/>
<id>urn:sha1:ebe9421770909e823ddea32d6e58365b68bf1856</id>
<content type='text'>
Make sure that tp_free frees the int the same way as tp_dealloc would.
This fixes the problem that Barry reported on python-dev:
   &gt;&gt;&gt; 23000 .__class__ = bool
crashes in the deallocator.  This was because int inherited tp_free
from object, which uses the default allocator.

2.2. Bugfix candidate.

(trivial change in backport: "freefunc" -&gt; "destructor")

Original patch(es):
python/dist/src/Objects/intobject.c:2.82
</content>
</entry>
<entry>
<title>Backport gvanrossum's checkin of revision 2.80:</title>
<updated>2002-02-19T14:17:02Z</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2002-02-19T14:17:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c42fc65a635b3bcb391c9a163756a692a2d5a7b0'/>
<id>urn:sha1:c42fc65a635b3bcb391c9a163756a692a2d5a7b0</id>
<content type='text'>
Bugfix candidate.

Fix SF bug #511603: Error calling str on subclass of int

Explicitly fill in tp_str with the same pointer as tp_repr.
</content>
</entry>
<entry>
<title>SF bug #488480: integer multiply to return -max_int-1.</title>
<updated>2001-12-04T23:05:10Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-12-04T23:05:10Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a3c01ce696cdbc0d8236a002cc76103db5662a1b'/>
<id>urn:sha1:a3c01ce696cdbc0d8236a002cc76103db5662a1b</id>
<content type='text'>
int_mul():  new and vastly simpler overflow checking.  Whether it's
faster or slower will likely vary across platforms, favoring boxes
with fast floating point.  OTOH, we no longer have to worry about
people shipping broken LONG_BIT definitions &lt;0.9 wink&gt;.
</content>
</entry>
<entry>
<title>SF bug #487743: test_builtin fails on 64 bit platform.</title>
<updated>2001-12-01T02:52:56Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-12-01T02:52:56Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=422210426e6d0ac29389c66a82036bde123d8075'/>
<id>urn:sha1:422210426e6d0ac29389c66a82036bde123d8075</id>
<content type='text'>
Bugfix candidate.
int_repr():  we've never had a buffer big enough to hold the largest
possible result on a 64-bit box.  Now that we're using snprintf instead
of sprintf, this can lead to nonsense results instead of random stack
corruption.
</content>
</entry>
<entry>
<title>PyInt_FromString(), int_repr(), int_oct(), int_hex(): Conversion of</title>
<updated>2001-11-28T20:55:34Z</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2001-11-28T20:55:34Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6197509f2487a07af8ebfda75ac500aaa42df780'/>
<id>urn:sha1:6197509f2487a07af8ebfda75ac500aaa42df780</id>
<content type='text'>
sprintf() to PyOS_snprintf() for buffer overrun avoidance.
</content>
</entry>
<entry>
<title>Add additional coercion support for "self subtypes" to int, long,</title>
<updated>2001-09-19T01:25:16Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-09-19T01:25:16Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1952e388ca63b8eaa090bef966dd538f78ece208'/>
<id>urn:sha1:1952e388ca63b8eaa090bef966dd538f78ece208</id>
<content type='text'>
float (compare the recent checkin to complex).  Added tests for these.
</content>
</entry>
</feed>
