[NumPy-Tickets] [NumPy] #1083: numpy.array truncates to specified dtype

NumPy Trac numpy-tickets@scipy....
Sun Jul 18 12:26:04 CDT 2010


#1083: numpy.array truncates to specified dtype
------------------------------+---------------------------------------------
 Reporter:  AndreasKloeckner  |       Owner:  somebody      
     Type:  defect            |      Status:  needs_decision
 Priority:  low               |   Milestone:  Unscheduled   
Component:  Other             |     Version:                
 Keywords:                    |  
------------------------------+---------------------------------------------
Changes (by pv):

  * priority:  normal => low
  * milestone:  1.4.1 => Unscheduled


Comment:

 If this will be changed, so should
 {{{
 >>> x = np.array([0], dtype=np.int8)
 >>> x[0] = 12312312
 # no warning or error
 }}}
 and
 {{{
 >>> x = np.array([0], dtype=np.int8)
 >>> x[0] = 12.4
 # no warning or error
 }}}

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1083#comment:3>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list