> I don't like the trick of avoiding the copy if the refcount is one; > AFAIK it can't be done in Jython. As Alex demonstrated, the time savings for an O(n) operation inside an O(n log n) function is irrelevant anyway. > I think the application area is too narrow to warrant a built-in, > *and* lists shouldn't grow two similar methods. Let's keep the > language small! Not to be hard headed here, but if dropped now, it will never be considered again. Did you have a chance to look at the rationale for change in my previous note and added in the comments for the patch? I think they offer some examples and reasons stronger than "saving a little typing": www.python.org/sf/825814 Raymond
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4