Skip to content

Conversation

MitalAshok
Copy link
Contributor

The new Result type removes the need for the global VALUE_IDX and STATUS_IDX variables. The type is a subclass of tuple, and can still be accessed by index, so this change is backwards compatible.

It also has the cleaner representation of Result(status='Ok', value='val') as opposed to ('Ok', 'val').

@coveralls
Copy link

coveralls commented May 21, 2017

Coverage Status

Coverage remained the same at 100.0% when pulling 76820b0 on MitalAshok:namedtuple-type into 2a61860 on iodevs:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 76820b0 on MitalAshok:namedtuple-type into 2a61860 on iodevs:master.

@s-m-i-t-a s-m-i-t-a self-requested a review May 22, 2017 07:25
@s-m-i-t-a
Copy link
Contributor

Thanks a ton @MitalAshok . I really appreciate this.

@s-m-i-t-a s-m-i-t-a merged commit 84816d4 into iodevs:master May 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants