<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/test/test_xrange.py, branch v2.7a2</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_xrange.py?h=v2.7a2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_xrange.py?h=v2.7a2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2010-01-01T17:27:30Z</updated>
<entry>
<title>Issue #5080: turn the DeprecationWarning from float arguments passed</title>
<updated>2010-01-01T17:27:30Z</updated>
<author>
<name>Mark Dickinson</name>
<email>dickinsm@gmail.com</email>
</author>
<published>2010-01-01T17:27:30Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1b34d2552c2cb2369130291a8a9ae973753b4072'/>
<id>urn:sha1:1b34d2552c2cb2369130291a8a9ae973753b4072</id>
<content type='text'>
to integer PyArg_Parse* format codes into a TypeError.  Add a
DeprecationWarning for floats passed with the 'L' format code, which
didn't previously have a warning.
</content>
</entry>
<entry>
<title>Avoid signed overflow in some xrange calculations, and extend</title>
<updated>2009-11-15T12:31:13Z</updated>
<author>
<name>Mark Dickinson</name>
<email>dickinsm@gmail.com</email>
</author>
<published>2009-11-15T12:31:13Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=009ae861f2a3ffcc3d6586fb1bcfdbd99547855a'/>
<id>urn:sha1:009ae861f2a3ffcc3d6586fb1bcfdbd99547855a</id>
<content type='text'>
xrange tests to cover some special cases that caused problems
in py3k.  This is a partial backport of r76292-76293 (see
issue #7298.)
</content>
</entry>
<entry>
<title>convert usage of fail* to assert*</title>
<updated>2009-06-30T22:57:08Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2009-06-30T22:57:08Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5c8da86f3a515ce1a6d5f27fd15e3c5f4d8e931e'/>
<id>urn:sha1:5c8da86f3a515ce1a6d5f27fd15e3c5f4d8e931e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #4183: Some tests didn't run with pickle.HIGHEST_PROTOCOL.</title>
<updated>2008-10-23T00:37:33Z</updated>
<author>
<name>Hirokazu Yamamoto</name>
<email>ocean-city@m2.ccsnet.ne.jp</email>
</author>
<published>2008-10-23T00:37:33Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=592c2755677d77061ceb99607c10fa7d70e5c2dd'/>
<id>urn:sha1:592c2755677d77061ceb99607c10fa7d70e5c2dd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Added better pickling support to xrange objects.</title>
<updated>2008-06-10T04:01:23Z</updated>
<author>
<name>Alexandre Vassalotti</name>
<email>alexandre@peadrop.com</email>
</author>
<published>2008-06-10T04:01:23Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=602d8db2bc5ddc9a2de2843df92db53365478b3d'/>
<id>urn:sha1:602d8db2bc5ddc9a2de2843df92db53365478b3d</id>
<content type='text'>
Cleaned up the unit test.
</content>
</entry>
<entry>
<title>Issue 2582: Fix pickling of xrange objects.</title>
<updated>2008-06-10T03:34:53Z</updated>
<author>
<name>Alexandre Vassalotti</name>
<email>alexandre@peadrop.com</email>
</author>
<published>2008-06-10T03:34:53Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1f2f61a78f80933a3e703df1ab08f14e70ea87d5'/>
<id>urn:sha1:1f2f61a78f80933a3e703df1ab08f14e70ea87d5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make xrange more Py_ssize_t aware, by assuming a Py_ssize_t is always at</title>
<updated>2006-04-04T17:28:12Z</updated>
<author>
<name>Thomas Wouters</name>
<email>thomas@python.org</email>
</author>
<published>2006-04-04T17:28:12Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f4d8f390536416c083c687206be8e2687e26c9a3'/>
<id>urn:sha1:f4d8f390536416c083c687206be8e2687e26c9a3</id>
<content type='text'>
least as big as a long. I believe this to be a safe assumption that is being
made in many parts of CPython, but a check could be added.

len(xrange(sys.maxint)) works now, so fix the testsuite's odd exception for
64-bit platforms too. It also fixes 'zip(xrange(sys.maxint), it)' as a
portable-ish (if expensive) alternative to enumerate(it); since zip() now
calls len(), this was breaking on (real) 64-bit platforms. No additional
test was added for that behaviour.
</content>
</entry>
<entry>
<title>Get test to pass on amd64 (opteron).  This is pretty hacky, but</title>
<updated>2004-10-14T03:46:18Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2004-10-14T03:46:18Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=64fa74df21d1eed5fb90ab6b900c2080ab8df992'/>
<id>urn:sha1:64fa74df21d1eed5fb90ab6b900c2080ab8df992</id>
<content type='text'>
rangeobject.c has an #ifdef that is reached only when LONG_MAX != INT_MAX
</content>
</entry>
<entry>
<title>Bug 1003935:  xrange overflows</title>
<updated>2004-08-08T07:17:39Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2004-08-08T07:17:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=feec4533e21a612e9a5b665c27b1a3eb84e04bb3'/>
<id>urn:sha1:feec4533e21a612e9a5b665c27b1a3eb84e04bb3</id>
<content type='text'>
Added XXX comment about why the undocumented PyRange_New() API function
is too broken to be worth the considerable pain of repairing.

Changed range_new() to stop using PyRange_New().  This fixes a variety
of bogus errors.  Nothing in the core uses PyRange_New() now.

Documented that xrange() is intended to be simple and fast, and that
CPython restricts its arguments, and length of its result sequence, to
native C longs.

Added some tests that failed before the patch, and repaired a test that
relied on a bogus OverflowError getting raised.
</content>
</entry>
<entry>
<title>Exercise xrange a bit</title>
<updated>2004-07-08T01:59:55Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2004-07-08T01:59:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1c0423a2da8c98fad1e82b849fada06426db62f1'/>
<id>urn:sha1:1c0423a2da8c98fad1e82b849fada06426db62f1</id>
<content type='text'>
</content>
</entry>
</feed>
