[NumPy-Tickets] [NumPy] #1363: Test failures due to strange pylab/numpy interactions

NumPy Trac numpy-tickets@scipy....
Sun Jul 18 13:03:29 CDT 2010


#1363: Test failures due to strange pylab/numpy interactions
----------------------+-----------------------------------------------------
  Reporter:  cdavid   |       Owner:  somebody   
      Type:  defect   |      Status:  closed     
  Priority:  normal   |   Milestone:  Unscheduled
 Component:  Other    |     Version:  1.4.0      
Resolution:  wontfix  |    Keywords:             
----------------------+-----------------------------------------------------
Changes (by pv):

  * status:  new => closed
  * resolution:  => wontfix


Comment:

 I don't think this is our problem:
 {{{
 >>> str(u'\u03a3')
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
 UnicodeEncodeError: 'ascii' codec can't encode character u'\u03a3' in
 position 0: ordinal not in range(128)
 >>> import gtk
 >>> str(u'\u03a3')
 '\xce\xa3'
 }}}
 gtk apparently changes Python's default encoding, which is a dirty hack.

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


More information about the NumPy-Tickets mailing list