Message89958
fyi, here is the thread from python-ideas:
http://mail.python.org/pipermail/python-ideas/2009-June/005042.html
The parallel to C++´s future "rvalue reference" is interesting
(http://www.artima.com/cppsource/rvalue.html, see the "move"
application)
Especially, perhaps, in light of this quote from http://evanjones.ca/rvalue-references.html, criticising the concept:
"...Or add a swap member function. This is not "elegant" nor is it as
general. However, this is what we've been using for decades. It also
requires zero changes to C++ compilers, and requires users to learn
nothing. It has been immortalized in books like Effective C++ (Item 25:
Consider support for a non-throwing swap)."
This, incidentally, is where the name 'swap' comes from, me being an old
C++ programmer. |
|
Date |
User |
Action |
Args |
2009-07-01 00:03:25 | kristjan.jonsson | set | recipients:
+ kristjan.jonsson, rhettinger, Rhamphoryncus, pitrou, r.david.murray |
2009-07-01 00:03:24 | kristjan.jonsson | set | messageid: <1246406604.82.0.671687610096.issue6326@psf.upfronthosting.co.za> |
2009-07-01 00:03:23 | kristjan.jonsson | link | issue6326 messages |
2009-07-01 00:03:23 | kristjan.jonsson | create | |
|