Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upbuiltin: Implement builtin sum #21
Conversation
codecov-io
commented
Aug 31, 2018
•
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.
|
|
@ncw PTAL |
|
@sbinet I've updated PTAL |
|
@ncw Can you take a look? |
|
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'": |
This comment has been minimized.
This comment has been minimized.
ncw
Sep 3, 2018
Collaborator
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
|
@ncw |
|
I would probably leave the LGTM. |
|
Look great now - thanks :-) |


corona10 commentedAug 31, 2018
Implement built-in sum.