On Wed, Jun 5, 2019 at 4:42 PM Sebastian Berg
<sebast...@sipsolutions.net> wrote:

I think the best approach is that if the user gave unambiguous types
as inputs to operators then the output should be the same dtype, or
type corresponding to the common promotion type of the inputs.

If the input type is not specified, I agree with the suggestion here:

> 3. Just associate python float with float64 and python integers with
>    long/int64 and force users to always type them explicitly if they
>    need to.

Explicit is better than implicit

-- 
Those who don't understand recursion are doomed to repeat it
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@python.org
https://mail.python.org/mailman/listinfo/numpy-discussion

Reply via email to