Message300027
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). |
|
Date |
User |
Action |
Args |
2017-08-09 18:14:33 | r.david.murray | set | recipients:
+ r.david.murray, pitrou, docs@python, albertogomcas |
2017-08-09 18:14:33 | r.david.murray | set | messageid: <1502302473.8.0.559509484321.issue31163@psf.upfronthosting.co.za> |
2017-08-09 18:14:33 | r.david.murray | link | issue31163 messages |
2017-08-09 18:14:33 | r.david.murray | create | |
|