Theano/Theano — pull request #361 by delallea (2012-01-20 02:15:21+00:00)
Title: Fixed gh-356: dtype of tensor.sum()

The default dtype for signed integer input types is now int64 (and
uint64 for unsigned integers).
The default dtype can be overridden by specifying a dtype manually.
However this does not appear to be very safe, so a warning was added to
the docstrings when doing so.

This commit also contains a few minor PEP8 fixes.

Let's discuss in gh-356 whether it is a good idea to let the user specify the output dtype.