[Numpy-tickets] [NumPy] #525: Inconsistency in the length of buffers of unicode scalars

NumPy numpy-tickets@scipy....
Wed May 23 13:24:42 CDT 2007


#525: Inconsistency in the length of buffers of unicode scalars
------------------------+---------------------------------------------------
 Reporter:  faltet      |        Owner:  somebody     
     Type:  defect      |       Status:  closed       
 Priority:  low         |    Milestone:  1.0.3 Release
Component:  numpy.core  |      Version:  devel        
 Severity:  minor       |   Resolution:  fixed        
 Keywords:              |  
------------------------+---------------------------------------------------
Changes (by oliphant):

  * status:  reopened => closed
  * resolution:  => fixed

Comment:

 I'm pretty sure this has been fixed in SVN when I closed the ticket.
 Basically, the buffer returned usses the Py_BUFFER_END flag (-1 I think)
 so that you need to use len to get the size.

-- 
Ticket URL: <https://projects.scipy.org/scipy/numpy/ticket/525#comment:3>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.


More information about the Numpy-tickets mailing list