Skip to content

Refactor setitem#474

Merged
kwmsmith merged 4 commits into
masterfrom
refactor/setitem
Jun 30, 2014
Merged

Refactor setitem#474
kwmsmith merged 4 commits into
masterfrom
refactor/setitem

Conversation

@bgrant
Copy link
Copy Markdown
Contributor

@bgrant bgrant commented Jun 27, 2014

Refactor __setitem__ into component methods similarly to __getitem__.

Specifically, I split __setitem__ into _set_value(...), _set_view(...), and _checked_setitem(...).

I then simplify _set_view(...) by using the new global_slice property on LocalArrays.

@bgrant bgrant added this to the 0.4 milestone Jun 27, 2014
@bgrant
Copy link
Copy Markdown
Contributor Author

bgrant commented Jun 27, 2014

Closes #472.

@kwmsmith
Copy link
Copy Markdown
Contributor

@bgrant thanks -- this is much easier to follow.

kwmsmith added a commit that referenced this pull request Jun 30, 2014
@kwmsmith kwmsmith merged commit 7817b64 into master Jun 30, 2014
@kwmsmith kwmsmith deleted the refactor/setitem branch June 30, 2014 18:23
@kwmsmith kwmsmith mentioned this pull request Jul 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants