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 r.david.murray
Recipients barry, ncoghlan, r.david.murray
Date 2013-03-17.15:10:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1363533040.75.0.542978231536.issue17445@psf.upfronthosting.co.za>
In-reply-to
Content
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.)
History
Date User Action Args
2013-03-17 15:10:40r.david.murraysetrecipients: + r.david.murray, barry, ncoghlan
2013-03-17 15:10:40r.david.murraysetmessageid: <1363533040.75.0.542978231536.issue17445@psf.upfronthosting.co.za>
2013-03-17 15:10:40r.david.murraylinkissue17445 messages
2013-03-17 15:10:40r.david.murraycreate