[NumPy-Tickets] [NumPy] #1798: Type promotion rules regression
NumPy Trac
numpy-tickets@scipy....
Mon Apr 11 17:52:38 CDT 2011
#1798: Type promotion rules regression
------------------------+---------------------------------------------------
Reporter: mwiebe | Owner: mwiebe
Type: defect | Status: new
Priority: highest | Milestone: 1.6.0
Component: numpy.core | Version: devel
Keywords: |
------------------------+---------------------------------------------------
Comment(by charris):
I don't think the conversion should depend on the size. The old numpy
behavior for scalars was python int -> long (or was it long long, I need
to check), python float -> double, python complex -> complex128, other
types were achieved by explicit casts, i.e., np.int8(5).
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1798#comment:2>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list