<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Objects/longobject.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/longobject.c?h=2.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/longobject.c?h=2.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2002-03-05T15:42:48Z</updated>
<entry>
<title>backport tim_one's checkin of</title>
<updated>2002-03-05T15:42:48Z</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2002-03-05T15:42:48Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=325573ce28ba7d09fb72506fb6a39f3385bf0116'/>
<id>urn:sha1:325573ce28ba7d09fb72506fb6a39f3385bf0116</id>
<content type='text'>
    revision 1.114 of longobject.c

_PyLong_Copy():  was creating a copy of the absolute value, but should
copy the sign too.  Added a test to test_descr to ensure that it does.

Bugfix candidate.
</content>
</entry>
<entry>
<title>Patch #508038: Do not use a type as a variable name.</title>
<updated>2002-02-16T23:41:39Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2002-02-16T23:41:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8096219e75a6f5b0138ee0898875bd47ca2e2475'/>
<id>urn:sha1:8096219e75a6f5b0138ee0898875bd47ca2e2475</id>
<content type='text'>
</content>
</entry>
<entry>
<title>long_true_divide():  decref its converted arguments.  test_long_future.py</title>
<updated>2001-11-04T23:09:40Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-11-04T23:09:40Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6f97e493e1626d101c53472c239e28e3fae3b42a'/>
<id>urn:sha1:6f97e493e1626d101c53472c239e28e3fae3b42a</id>
<content type='text'>
run in an infinite loop no longer grows.  Thanks to Neal Norwitz for
determining that test leaked!
</content>
</entry>
<entry>
<title>Enable GC for new-style instances.  This touches lots of files, since</title>
<updated>2001-10-05T20:51:39Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-10-05T20:51:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9475a2310d9cdec4b4c36dee8bf30c72605ae928'/>
<id>urn:sha1:9475a2310d9cdec4b4c36dee8bf30c72605ae928</id>
<content type='text'>
many types were subclassable but had a xxx_dealloc function that
called PyObject_DEL(self) directly instead of deferring to
self-&gt;ob_type-&gt;tp_free(self).  It is permissible to set tp_free in the
type object directly to _PyObject_Del, for non-GC types, or to
_PyObject_GC_Del, for GC types.  Still, PyObject_DEL was a tad faster,
so I'm fearing that our pystone rating is going down again.  I'm not
sure if doing something like

void xxx_dealloc(PyObject *self)
{
	if (PyXxxCheckExact(self))
		PyObject_DEL(self);
	else
		self-&gt;ob_type-&gt;tp_free(self);
}

is any faster than always calling the else branch, so I haven't
attempted that -- however those types whose own dealloc is fancier
(int, float, unicode) do use this pattern.
</content>
</entry>
<entry>
<title>SF [#466125] PyLong_AsLongLong works for any integer.</title>
<updated>2001-09-30T05:09:37Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-09-30T05:09:37Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d38b1c74f3f28a3f9a73c142d9be83425adaa6e1'/>
<id>urn:sha1:d38b1c74f3f28a3f9a73c142d9be83425adaa6e1</id>
<content type='text'>
Generalize PyLong_AsLongLong to accept int arguments too.  The real point
is so that PyArg_ParseTuple's 'L' code does too.  That code was
undocumented (AFAICT), so documented it.
</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>
<entry>
<title>A fix for SF bug #461546 (bug in long_mul).</title>
<updated>2001-09-15T03:14:32Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-09-15T03:14:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7e35d57c0cd94b136d613129cb22a2b4252aa008'/>
<id>urn:sha1:7e35d57c0cd94b136d613129cb22a2b4252aa008</id>
<content type='text'>
Both int and long multiplication are changed to be more careful in
their assumptions about when one of the arguments is a sequence: the
assumption that at least one of the arguments must be an int (or long,
respectively) is still held, but the assumption that these don't smell
like sequences is no longer true: a subtype of int or long may well
have a sequence-repeat thingie!
</content>
</entry>
<entry>
<title>based upon a suggestion in c.l.py, this slight expansion of the</title>
<updated>2001-09-13T19:05:30Z</updated>
<author>
<name>Skip Montanaro</name>
<email>skip@pobox.com</email>
</author>
<published>2001-09-13T19:05:30Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=bafedecc06176e431c3050ba8bcf1d4039e605af'/>
<id>urn:sha1:bafedecc06176e431c3050ba8bcf1d4039e605af</id>
<content type='text'>
OverflowError message seems reasonable.
</content>
</entry>
<entry>
<title>long_invert():  tiny speed and space optimization.</title>
<updated>2001-09-11T23:24:22Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-09-11T23:24:22Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=40c397dd560b8394b1b97b30ab2c9946b2a32584'/>
<id>urn:sha1:40c397dd560b8394b1b97b30ab2c9946b2a32584</id>
<content type='text'>
</content>
</entry>
<entry>
<title>More bug 460020.  Disable a number of long optimizations for long subclasses.</title>
<updated>2001-09-11T22:31:33Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-09-11T22:31:33Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=69c2de3ad69219d60c53827670856deee6f4241c'/>
<id>urn:sha1:69c2de3ad69219d60c53827670856deee6f4241c</id>
<content type='text'>
</content>
</entry>
</feed>
