<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Objects/rangeobject.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/rangeobject.c?h=2.3</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/rangeobject.c?h=2.3'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2003-03-17T19:46:11Z</updated>
<entry>
<title>Renamed PyObject_GenericGetIter to PyObject_SelfIter</title>
<updated>2003-03-17T19:46:11Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2003-03-17T19:46:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1da1dbf4586afbd6b5d5c3cf244a1a3ea0f4382b'/>
<id>urn:sha1:1da1dbf4586afbd6b5d5c3cf244a1a3ea0f4382b</id>
<content type='text'>
to more accurately describe what the function does.

Suggested by Thomas Wouters.
</content>
</entry>
<entry>
<title>Created PyObject_GenericGetIter().</title>
<updated>2003-03-17T08:24:35Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2003-03-17T08:24:35Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=01538269643175877f516d09f429a2ae28136da6'/>
<id>urn:sha1:01538269643175877f516d09f429a2ae28136da6</id>
<content type='text'>
Factors out the common case of returning self.
</content>
</entry>
<entry>
<title>Update comments about the performance of xrange().</title>
<updated>2002-12-11T07:14:03Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2002-12-11T07:14:03Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d2bef8256bf7ce6bea7a80074cbd021b5af154af'/>
<id>urn:sha1:d2bef8256bf7ce6bea7a80074cbd021b5af154af</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Restore attribute access so that the following work again:</title>
<updated>2002-11-07T16:55:54Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2002-11-07T16:55:54Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5ae8e01cc5f7e7e85530abc59b4362c5541872a7'/>
<id>urn:sha1:5ae8e01cc5f7e7e85530abc59b4362c5541872a7</id>
<content type='text'>
   dir(xrange(10))
   xrange(10).__getitem__(4)
</content>
</entry>
<entry>
<title>Untested code for 64-bit platforms.  range_length() is declared as int</title>
<updated>2002-09-11T15:55:48Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2002-09-11T15:55:48Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d4774fb6efde8facccfe0b60a37e3ecd4a943bd9'/>
<id>urn:sha1:d4774fb6efde8facccfe0b60a37e3ecd4a943bd9</id>
<content type='text'>
but returns r-&gt;len which is a long.  This doesn't even cause a warning
on 32-bit platforms, but can return bogus values on 64-bit platforms
(and should cause a compiler warning).  Fix this by inserting a range
check when LONG_MAX != INT_MAX, and adding an explicit cast to (int)
when the test passes.  When r-&gt;len is out of range, PySequence_Size()
and hence len() will report an error (but an iterator will still
work).
</content>
</entry>
<entry>
<title>staticforward bites the dust.</title>
<updated>2002-07-17T16:30:39Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2002-07-17T16:30:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=938ace69a0e112424a2f426a4881d1fd1fc922d2'/>
<id>urn:sha1:938ace69a0e112424a2f426a4881d1fd1fc922d2</id>
<content type='text'>
The staticforward define was needed to support certain broken C
compilers (notably SCO ODT 3.0, perhaps early AIX as well) botched the
static keyword when it was used with a forward declaration of a static
initialized structure.  Standard C allows the forward declaration with
static, and we've decided to stop catering to broken C compilers.  (In
fact, we expect that the compilers are all fixed eight years later.)

I'm leaving staticforward and statichere defined in object.h as
static.  This is only for backwards compatibility with C extensions
that might still use it.

XXX I haven't updated the documentation.
</content>
</entry>
<entry>
<title>Remove the next() method -- one is supplied automatically by</title>
<updated>2002-07-16T20:47:50Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2002-07-16T20:47:50Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=86d593e110f61800069b2d488d5530477a3d8054'/>
<id>urn:sha1:86d593e110f61800069b2d488d5530477a3d8054</id>
<content type='text'>
PyType_Ready() because the tp_iternext slot is set.  Also removed the
redundant (and expensive!) call to raise StopIteration from
rangeiter_next().
</content>
</entry>
<entry>
<title>Patch #568124: Add doc string macros.</title>
<updated>2002-06-13T20:33:02Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2002-06-13T20:33:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=14f8b4cfcb98de74b9c6e9316539be9e2a5cd31f'/>
<id>urn:sha1:14f8b4cfcb98de74b9c6e9316539be9e2a5cd31f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Pyrangeiter_Type &amp;&amp; range_iter should be static</title>
<updated>2002-06-06T14:58:21Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2002-06-06T14:58:21Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=56f46f8d8c1af1cf150df61f5aeafa40ca0b18e5'/>
<id>urn:sha1:56f46f8d8c1af1cf150df61f5aeafa40ca0b18e5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Skip Montanaro's patch, SF 559833, exposing xrange type in builtins.</title>
<updated>2002-06-05T23:12:45Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2002-06-05T23:12:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c4c453f5ae0a245aa0dd59431c323911c47f2735'/>
<id>urn:sha1:c4c453f5ae0a245aa0dd59431c323911c47f2735</id>
<content type='text'>
Also, added more regression tests to cover the new type and test its
conformity with range().
</content>
</entry>
</feed>
