Uh oh!
There was an error while loading. Please reload this page.
builtin: Implement builtin sum - #21
Conversation
Codecov Report
@@ Coverage Diff @@## master #21 +/- ##
==========================================
+ Coverage 64.5% 64.55% +0.05%
==========================================
Files 55 55 Lines 9740 9768 +28 ==========================================
+ Hits 6283 6306 +23 - Misses 3010 3013 +3 - Partials 447 449 +2
Continue to review full report at Codecov.
|
corona10
commented
Aug 31, 2018
@ncw PTAL |
Uh oh!
There was an error while loading. Please reload this page.
corona10
commented
Sep 1, 2018
@sbinet I've updated PTAL |
corona10
commented
Sep 1, 2018
@ncw Can you take a look? |
ncw
left a comment
There was a problem hiding this comment.
I think this OK apart from the tests not passing under py3test. If you rebase to master then you'll get the testing stuff in travis and you can see what I mean.
| try: | ||
| sum(['h', 'i']) | ||
| except TypeError as e: | ||
| if e.args[0] != "unsupported operand type(s) for +: 'int' and 'string'": |
There was a problem hiding this comment.
This fails under python3 because the error message is actually
TypeError: unsupported operand type(s) for +: 'int' and 'str'
I'll work on getting py3test into the CI
corona10
commented
Sep 3, 2018
@ncw |
sbinet
left a comment
There was a problem hiding this comment.
I would probably leave the s/"string"/"str"/ change in its own commit, but ok.
LGTM.
ncw
commented
Sep 4, 2018
Look great now - thanks :-) |
Implement built-in sum.