Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2332)

Issue 154060: [Issue 7298] Fix Python 3 range issues. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years ago by dickinsm
Modified:
14 years, 7 months ago
Reviewers:
eric2
Base URL:
http://svn.python.org/view/*checkout*/python/branches/py3k/
Visibility:
Public.

Patch Set 1 #

Total comments: 4

Patch Set 2 : More comprehensive tests; fixes for PyLong version of reversed. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+172 lines, -55 lines) Patch
M Lib/test/test_range.py View 1 2 chunks +61 lines, -0 lines 1 comment Download
M Objects/rangeobject.c View 1 6 chunks +111 lines, -55 lines 0 comments Download

Messages

Total messages: 5
eric2
http://codereview.appspot.com/154060/diff/1/3 File Lib/test/test_range.py (right): http://codereview.appspot.com/154060/diff/1/3#newcode16 Lib/test/test_range.py:16: It might make sense to check for some minimum ...
15 years ago (2009-11-11 20:35:52 UTC) #1
dickinsm
On 2009/11/11 20:35:52, eric2 wrote: > http://codereview.appspot.com/154060/diff/1/3 > File Lib/test/test_range.py (right): > > http://codereview.appspot.com/154060/diff/1/3#newcode16 > ...
14 years, 12 months ago (2009-11-14 12:37:05 UTC) #2
dickinsm
http://codereview.appspot.com/154060/diff/1/3 File Lib/test/test_range.py (right): http://codereview.appspot.com/154060/diff/1/3#newcode16 Lib/test/test_range.py:16: On 2009/11/11 20:35:52, eric2 wrote: > It might make ...
14 years, 12 months ago (2009-11-14 12:41:23 UTC) #3
dickinsm
http://codereview.appspot.com/154060/diff/1/2 File Objects/rangeobject.c (right): http://codereview.appspot.com/154060/diff/1/2#newcode492 Objects/rangeobject.c:492: * required. Return a value < 0 if & ...
14 years, 12 months ago (2009-11-14 12:42:01 UTC) #4
eric2
14 years, 12 months ago (2009-11-14 14:12:05 UTC) #5
Looks good.

http://codereview.appspot.com/154060/diff/7/1004
File Lib/test/test_range.py (right):

http://codereview.appspot.com/154060/diff/7/1004#newcode28
Lib/test/test_range.py:28: def assert_iterators_equal(self, xs, ys, test_id,
limit=None):
This looks great. Much better than the isempty/notempty version. It might be
generally useful, outside this module.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b