Author r.david.murray
Recipients albertogomcas, docs@python, pitrou, r.david.murray
Date 2017-08-09.18:14:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1502302473.8.0.559509484321.issue31163@psf.upfronthosting.co.za>
In-reply-to
Content
I agree.  The normal python convention is that an immutable object returns the new value when an operation "changes" it, while a mutable object returns None.  It seems like replace and rename should follow this convention (and that it would also be convenient).
History
Date User Action Args
2017-08-09 18:14:33r.david.murraysetrecipients: + r.david.murray, pitrou, docs@python, albertogomcas
2017-08-09 18:14:33r.david.murraysetmessageid: <1502302473.8.0.559509484321.issue31163@psf.upfronthosting.co.za>
2017-08-09 18:14:33r.david.murraylinkissue31163 messages
2017-08-09 18:14:33r.david.murraycreate