[NumPy-Tickets] [NumPy] #2081: String gets truncated in asarray() in Python 3.2

NumPy Trac numpy-tickets@scipy....
Fri Mar 16 12:43:15 CDT 2012


#2081: String gets truncated in asarray() in Python 3.2
-----------------------+----------------------------------------------------
 Reporter:  taldcroft  |       Owner:  somebody    
     Type:  defect     |      Status:  needs_review
 Priority:  normal     |   Milestone:  Unscheduled 
Component:  Other      |     Version:  devel       
 Keywords:             |  
-----------------------+----------------------------------------------------

Comment(by taldcroft):

 Replying to [comment:5 charris]:
 > Hmm, I suspect it's either the compiler or a ucs2/ucs4 problem, most
 likely the latter. Can you check the PY_UNICODE_TYPE?
 >
 >
 > {{{
 > $charris@f16 ~$ grep -in Py_UNICODE_SIZE
 /usr/include/python3.2mu/pyconfig-64.h
 > 984:#define Py_UNICODE_SIZE 4
 > }}}

 I do see something different, though note there is no pyconfig-64.h file
 in the distribution:

 {{{
 ccosmos$ grep -in Py_UNICODE_SIZE include/python3.2m/pyconfig.h
 978:#define Py_UNICODE_SIZE 2
 }}}

 (This is from the root of my Python 3.2.2.3 installation).

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


More information about the NumPy-Tickets mailing list