[Circle-dev] ObjectProxy
Kiyoshi Aman
kiyoshi.aman at gmail.com
Thu Nov 19 21:00:26 GMT 2009
Hi, folks.
I have a proposal regarding Tangence (as a result of continued
poking-around with tangence.objectproxy.ObjectProxy). Specifically,
I'd like to add support for appending to and popping from indices into
queues/arrays and build support for slices into these operations. I
believe this would make Tangence more robust.
Ruminations as a result of baking these into tangence.objectproxy:
- insert can't make use of slicing.
- remove would be an arbitrary-positioned shift, thereby making shift redundant.
- splice should probably be renamed to replace, since that's what it *does*.
- push should probably be renamed to append, for the same reason.
- What do we need queues for, again? They're arrays without splice &
move. Yay code duplication?
I have already made these changes in tangence-python, as a note. Will
provide updated hg stuff soonish.
More information about the Circle-dev
mailing list