Message184381
There was a long thread about this on python-dev that might be worth going back over, where I had the same misconception (that functions should always return the same type as their arguments). While I think that should be the default design, it isn't always the best API. (The real rule, if I recall correctly, is that functions should never accept *mixed* argument types for input data.) |
|
Date |
User |
Action |
Args |
2013-03-17 15:10:40 | r.david.murray | set | recipients:
+ r.david.murray, barry, ncoghlan |
2013-03-17 15:10:40 | r.david.murray | set | messageid: <1363533040.75.0.542978231536.issue17445@psf.upfronthosting.co.za> |
2013-03-17 15:10:40 | r.david.murray | link | issue17445 messages |
2013-03-17 15:10:40 | r.david.murray | create | |
|