<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Modules/_heapqmodule.c, branch v2.5c2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/_heapqmodule.c?h=v2.5c2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/_heapqmodule.c?h=v2.5c2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2006-02-16T19:21:53Z</updated>
<entry>
<title>Also make _heapq.nlargest() use Py_ssize_t instead of ints, to iter over</title>
<updated>2006-02-16T19:21:53Z</updated>
<author>
<name>Thomas Wouters</name>
<email>thomas@python.org</email>
</author>
<published>2006-02-16T19:21:53Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=13870b18f2a843d568f82c89b72f33dc427b9b23'/>
<id>urn:sha1:13870b18f2a843d568f82c89b72f33dc427b9b23</id>
<content type='text'>
lists and call Py_ssize_t-using helpers. All other code in this module was
already adapted to Py_ssize_t.
</content>
</entry>
<entry>
<title>Use 'n' format for Py_ssize_t variables to PyArg_ParseTuple(). Py_ssize_t</title>
<updated>2006-02-16T17:32:54Z</updated>
<author>
<name>Thomas Wouters</name>
<email>thomas@python.org</email>
</author>
<published>2006-02-16T17:32:54Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ed6254acf289839467a77419566b475f5950f475'/>
<id>urn:sha1:ed6254acf289839467a77419566b475f5950f475</id>
<content type='text'>
has been applied fairly arbitrarily in this module (nsmallest uses
Py_ssize_t, nlargest does not) and it probably deserves a more complete
review. Fixes heapq.nsmallest() always returning the empty list (on
platforms with 64-bit ssize_t/long)
</content>
</entry>
<entry>
<title>Use Py_ssize_t for counts and sizes.</title>
<updated>2006-02-16T14:30:23Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2006-02-16T14:30:23Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ad0a4629beac0600c4c4c3167b0d68be57ca674e'/>
<id>urn:sha1:ad0a4629beac0600c4c4c3167b0d68be57ca674e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Check return result from Py_InitModule*().  This API can fail.</title>
<updated>2006-01-19T06:09:39Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2006-01-19T06:09:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1ac754fa10f5d199d19911e21185d0970cb3073f'/>
<id>urn:sha1:1ac754fa10f5d199d19911e21185d0970cb3073f</id>
<content type='text'>
Probably should be backported.
</content>
</entry>
<entry>
<title>Plug a leak and beef-up test coverage.</title>
<updated>2004-09-28T00:03:54Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-09-28T00:03:54Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=855d9a985b861cc2c475f4020c120a25548b4c98'/>
<id>urn:sha1:855d9a985b861cc2c475f4020c120a25548b4c98</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix erroneous docstring comment.</title>
<updated>2004-09-06T07:04:09Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-09-06T07:04:09Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8158e849305d0e0ab3e19cdc93a86bb7d5fc0651'/>
<id>urn:sha1:8158e849305d0e0ab3e19cdc93a86bb7d5fc0651</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Improve the documented advice on how to best use heapq.heapreplace().</title>
<updated>2004-06-20T09:07:53Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-06-20T09:07:53Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=28224f897a1849dd616ad82538bdda45f3351d42'/>
<id>urn:sha1:28224f897a1849dd616ad82538bdda45f3351d42</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reverse argument order for nsmallest() and nlargest().</title>
<updated>2004-06-15T23:53:35Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-06-15T23:53:35Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=aefde435efb8e99c74ad147e1a1db76fe5de61aa'/>
<id>urn:sha1:aefde435efb8e99c74ad147e1a1db76fe5de61aa</id>
<content type='text'>
Reads better when the iterable is a generator expression.
</content>
</entry>
<entry>
<title>Fixup error exits in nlargest() and nsmallest().</title>
<updated>2004-06-13T15:36:56Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-06-13T15:36:56Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=de72eddf69e5ea6dbd3591ddfef5602b5b455942'/>
<id>urn:sha1:de72eddf69e5ea6dbd3591ddfef5602b5b455942</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Install C version of heapq.nsmallest().</title>
<updated>2004-06-13T05:26:33Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-06-13T05:26:33Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2e3dfaf7070900c459d5879530dbdb3680f7fb9d'/>
<id>urn:sha1:2e3dfaf7070900c459d5879530dbdb3680f7fb9d</id>
<content type='text'>
</content>
</entry>
</feed>
