This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author kristjan.jonsson
Recipients Rhamphoryncus, kristjan.jonsson, pitrou, r.david.murray, rhettinger
Date 2009-07-01.00:03:22
SpamBayes Score 0.00185073
Marked as misclassified No
Message-id <1246406604.82.0.671687610096.issue6326@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2009-07-01 00:03:25kristjan.jonssonsetrecipients: + kristjan.jonsson, rhettinger, Rhamphoryncus, pitrou, r.david.murray
2009-07-01 00:03:24kristjan.jonssonsetmessageid: <1246406604.82.0.671687610096.issue6326@psf.upfronthosting.co.za>
2009-07-01 00:03:23kristjan.jonssonlinkissue6326 messages
2009-07-01 00:03:23kristjan.jonssoncreate