<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Objects/listobject.c, branch v2.2a3</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/listobject.c?h=v2.2a3</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/listobject.c?h=v2.2a3'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2001-08-30T06:15:32Z</updated>
<entry>
<title>Give the internal immutable list type .extend and .pop methods (they</title>
<updated>2001-08-30T06:15:32Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-08-30T06:15:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=52e0717215d87859bebc1437a4f169807a1282ef'/>
<id>urn:sha1:52e0717215d87859bebc1437a4f169807a1282ef</id>
<content type='text'>
"should have" been added here when they were added to lists).
</content>
</entry>
<entry>
<title>Use new GC API.</title>
<updated>2001-08-29T23:54:21Z</updated>
<author>
<name>Neil Schemenauer</name>
<email>nascheme@enme.ucalgary.ca</email>
</author>
<published>2001-08-29T23:54:21Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e83c00efd06dc8380d481f6c5f92d8c274ce6bd2'/>
<id>urn:sha1:e83c00efd06dc8380d481f6c5f92d8c274ce6bd2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Patch #427190: Implement and use METH_NOARGS and METH_O.</title>
<updated>2001-08-16T13:15:00Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2001-08-16T13:15:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e3eb1f2b2320bceb10a763ec8691200b85ec287a'/>
<id>urn:sha1:e3eb1f2b2320bceb10a763ec8691200b85ec287a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge of descr-branch back into trunk.</title>
<updated>2001-08-02T04:15:00Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-08-02T04:15:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6d6c1a35e08b95a83dbe47dbd9e6474daff00354'/>
<id>urn:sha1:6d6c1a35e08b95a83dbe47dbd9e6474daff00354</id>
<content type='text'>
</content>
</entry>
<entry>
<title>SF bug #439104: Tuple richcompares has code-typo.</title>
<updated>2001-07-06T17:45:43Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-07-06T17:45:43Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6ee42348025611f537b80d5dbf55f4d5b9bd58f2'/>
<id>urn:sha1:6ee42348025611f537b80d5dbf55f4d5b9bd58f2</id>
<content type='text'>
Symptom:  (1, 2, 3) &lt;= (1, 2) returned 1.
This was already fixed in CVS for tuples, but an isomorphic error was in
the list richcompare code.
</content>
</entry>
<entry>
<title>SF bug 433228: repr(list) woes when len(list) big.</title>
<updated>2001-06-16T05:11:17Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-06-16T05:11:17Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a7259597f1f9ef389012010d7b8a02ebcf7396e7'/>
<id>urn:sha1:a7259597f1f9ef389012010d7b8a02ebcf7396e7</id>
<content type='text'>
Gave Python linear-time repr() implementations for dicts, lists, strings.
This means, e.g., that repr(range(50000)) is no longer 50x slower than
pprint.pprint() in 2.2 &lt;wink&gt;.

I don't consider this a bugfix candidate, as it's a performance boost.

Added _PyString_Join() to the internal string API.  If we want that in the
public API, fine, but then it requires runtime error checks instead of
asserts.
</content>
</entry>
<entry>
<title>Change list.extend() error msgs and NEWS to reflect that list.extend()</title>
<updated>2001-05-26T19:37:54Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-05-26T19:37:54Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1af03e98d9ab87b4e9aa76caafba0dbc52cfd750'/>
<id>urn:sha1:1af03e98d9ab87b4e9aa76caafba0dbc52cfd750</id>
<content type='text'>
now takes any iterable argument, not only sequences.

NEEDS DOC CHANGES -- but I don't think we settled on a concise way to
say this stuff.
</content>
</entry>
<entry>
<title>Cruft cleanup:  removed the #ifdef'ery in support of compiling to allow</title>
<updated>2001-05-26T05:50:03Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-05-26T05:50:03Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=442914d265b9752f78251e3792f5155f14a9dcc9'/>
<id>urn:sha1:442914d265b9752f78251e3792f5155f14a9dcc9</id>
<content type='text'>
multi-argument list.append(1, 2, 3) (as opposed to .append((1,2,3))).
</content>
</entry>
<entry>
<title>roundupsize() and friends:  fiddle over-allocation strategy for list</title>
<updated>2001-05-26T05:28:40Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-05-26T05:28:40Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=65b8b8483988cfdb6b23b64b77e94d87c079b9d9'/>
<id>urn:sha1:65b8b8483988cfdb6b23b64b77e94d87c079b9d9</id>
<content type='text'>
resizing.

Accurate timings are impossible on my Win98SE box, but this is obviously
faster even on this box for reasonable list.append() cases.  I give
credit for this not to the resizing strategy but to getting rid of integer
multiplication and divsion (in favor of shifting) when computing the
rounded-up size.

For unreasonable list.append() cases, Win98SE now displays linear behavior
for one-at-time appends up to a list with about 35 million elements.  Then
it dies with a MemoryError, due to fatally fragmented *address space*
(there's plenty of VM available, but by this point Win9X has broken user
space into many distinct heaps none of which has enough contiguous space
left to resize the list, and for whatever reason Win9x isn't coalescing
the dead heaps).  Before the patch it got a MemoryError for the same
reason, but once the list reached about 2 million elements.

Haven't yet tried on Win2K but have high hopes extreme list.append()
will be much better behaved now (NT &amp; Win2K didn't fragment address space,
but suffered obvious quadratic-time behavior before as lists got large).

For other systems I'm relying on common sense:  replacing integer * and /
by &lt;&lt; and &gt;&gt; can't plausibly hurt, the number of function calls hasn't
changed, and the total operation count for reasonably small lists is about
the same (while the operations are cheaper now).
</content>
</entry>
<entry>
<title>Fix core dump whenever PyList_Reverse() was called.</title>
<updated>2001-02-12T22:06:02Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-02-12T22:06:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b86c549c7c41d5f8fa6f50ed3e58f3a1d62a1c4e'/>
<id>urn:sha1:b86c549c7c41d5f8fa6f50ed3e58f3a1d62a1c4e</id>
<content type='text'>
This fixes SF bug #132008, reported by Warren J. Hack.

The copyright for this patch (and this patch only) belongs to CNRI, as
part of the (yet to be issued) 1.6.1 release.

This is now checked into the HEAD branch.  Tim will check in a test
case to check for this specific bug, and an assertion in
PyArgs_ParseTuple() to catch similar bugs in the future.
</content>
</entry>
</feed>
