<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Objects/sliceobject.c, branch 2.3</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/sliceobject.c?h=2.3</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/sliceobject.c?h=2.3'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2003-09-05T14:38:30Z</updated>
<entry>
<title>SF bug #800796:  Difference between hash() and __hash__()</title>
<updated>2003-09-05T14:38:30Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2003-09-05T14:38:30Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=046595e496678e65e88905f64072256c4b716f2f'/>
<id>urn:sha1:046595e496678e65e88905f64072256c4b716f2f</id>
<content type='text'>
slice(5).__hash__() now raises a TypeError.
</content>
</entry>
<entry>
<title>SF patch #659536: Use PyArg_UnpackTuple where possible.</title>
<updated>2002-12-29T16:33:45Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2002-12-29T16:33:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ea3fdf44a29accd666a3b5f058539c351d921657'/>
<id>urn:sha1:ea3fdf44a29accd666a3b5f058539c351d921657</id>
<content type='text'>
Obtain cleaner coding and a system wide
performance boost by using the fast, pre-parsed
PyArg_Unpack function instead of PyArg_ParseTuple
function which is driven by a format string.
</content>
</entry>
<entry>
<title>Handle really big steps in extended slices.</title>
<updated>2002-11-06T15:17:32Z</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2002-11-06T15:17:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=cbd6fb90069ded106833efc42b1c93bcf9b958c3'/>
<id>urn:sha1:cbd6fb90069ded106833efc42b1c93bcf9b958c3</id>
<content type='text'>
Fixes a test failure on 64 bit platforms (I hope).
</content>
</entry>
<entry>
<title>Some days, I think my comment of</title>
<updated>2002-11-05T15:28:51Z</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2002-11-05T15:28:51Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=173f11da5dae76c504dac3606c27b74673ccfee4'/>
<id>urn:sha1:173f11da5dae76c504dac3606c27b74673ccfee4</id>
<content type='text'>
	/* this is harder to get right than you might think */

angered some God somewhere.  After noticing

    &gt;&gt;&gt; range(5000000)[slice(96360, None, 439)]
    []

I found that my cute test for the slice being empty failed due to
overflow.  Fixed, and added simple test (not the above!).
</content>
</entry>
<entry>
<title>Fix for platforms where int != long.</title>
<updated>2002-09-12T09:31:30Z</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2002-09-12T09:31:30Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5c1ad84d7f62d3e2ec5367c8727481cda072820f'/>
<id>urn:sha1:5c1ad84d7f62d3e2ec5367c8727481cda072820f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Silly typo.  Not sure how that got in.</title>
<updated>2002-07-19T15:52:38Z</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2002-07-19T15:52:38Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=206d8f818ff100caf0f959c746f2eaf6e9bebda0'/>
<id>urn:sha1:206d8f818ff100caf0f959c746f2eaf6e9bebda0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>A few days ago, Guido said (in the thread "[Python-Dev] Python</title>
<updated>2002-07-19T15:47:06Z</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2002-07-19T15:47:06Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f0d777c56b710f68c96582c10b49d83b5ad7d32d'/>
<id>urn:sha1:f0d777c56b710f68c96582c10b49d83b5ad7d32d</id>
<content type='text'>
version of PySlice_GetIndicesEx"):

&gt; OK.  Michael, if you want to check in indices(), go ahead.

Then I did what was needed, but didn't check it in.  Here it is.
</content>
</entry>
<entry>
<title>SF patch 568629 by Oren Tirosh: types made callable.</title>
<updated>2002-06-14T20:41:17Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2002-06-14T20:41:17Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=bea18ccde6bc12e061c21bb6b944379d8b123845'/>
<id>urn:sha1:bea18ccde6bc12e061c21bb6b944379d8b123845</id>
<content type='text'>
These built-in functions are replaced by their (now callable) type:

    slice()
    buffer()

and these types can also be called (but have no built-in named
function named after them)

    classobj (type name used to be "class")
    code
    function
    instance
    instancemethod (type name used to be "instance method")

The module "new" has been replaced with a small backward compatibility
placeholder in Python.

A large portion of the patch simply removes the new module from
various platform-specific build recipes.  The following binary Mac
project files still have references to it:

    Mac/Build/PythonCore.mcp
    Mac/Build/PythonStandSmall.mcp
    Mac/Build/PythonStandalone.mcp

[I've tweaked the code layout and the doc strings here and there, and
added a comment to types.py about StringTypes vs. basestring.  --Guido]
</content>
</entry>
<entry>
<title>Fix for problem reported by Neal Norwitz.  Tighten up calculation of</title>
<updated>2002-06-11T13:38:42Z</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2002-06-11T13:38:42Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=589dc93620656faf80713b50b50d957664cea287'/>
<id>urn:sha1:589dc93620656faf80713b50b50d957664cea287</id>
<content type='text'>
slicelength.  Include his test case.
</content>
</entry>
<entry>
<title>This is my nearly two year old patch</title>
<updated>2002-06-11T10:55:12Z</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2002-06-11T10:55:12Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5efaf7eac8c1dbbf82a96dc5d9b87fddd5d17b58'/>
<id>urn:sha1:5efaf7eac8c1dbbf82a96dc5d9b87fddd5d17b58</id>
<content type='text'>
[ 400998 ] experimental support for extended slicing on lists

somewhat spruced up and better tested than it was when I wrote it.

Includes docs &amp; tests.  The whatsnew section needs expanding, and arrays
should support extended slices -- later.
</content>
</entry>
</feed>
