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 ncoghlan
Recipients gregory.p.smith, larry, ncoghlan, oscarbenjamin, steven.daprano, wolma
Date 2014-02-02.01:31:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1391304711.74.0.578704343666.issue20481@psf.upfronthosting.co.za>
In-reply-to
Content
I haven't completely following the type coercion discussion on python-ideas. but the statistics module at least needs a docs clarification (to explain that the current behaviour when mixing input types is not fully defined, especially when Decimal is involved), and potentially a behavioural change to disallow certain type combinations where the behaviour may change in the future (see
https://mail.python.org/pipermail/python-ideas/2014-February/025214.html for example)

Either option seems reasonable to me (with a slight preference for the latter), but it's at least clear that we need to avoid locking ourselves into the exact coercion behaviour of the current implementation indefinitely.
History
Date User Action Args
2014-02-02 01:31:51ncoghlansetrecipients: + ncoghlan, gregory.p.smith, larry, steven.daprano, oscarbenjamin, wolma
2014-02-02 01:31:51ncoghlansetmessageid: <1391304711.74.0.578704343666.issue20481@psf.upfronthosting.co.za>
2014-02-02 01:31:51ncoghlanlinkissue20481 messages
2014-02-02 01:31:50ncoghlancreate