[NumPy-Tickets] [NumPy] #1586: numpy.ma.core._print_templates missing 'long' key

NumPy Trac numpy-tickets@scipy....
Wed Aug 18 15:32:31 CDT 2010

#1586: numpy.ma.core._print_templates missing 'long' key
 Reporter:  alue    |       Owner:  somebody
     Type:  defect  |      Status:  new     
 Priority:  normal  |   Milestone:  2.0.0   
Component:  Other   |     Version:  devel   
 Keywords:          |  
 Note: I'm not sure what's causing this problem.

 After downloading from the repository, building, and installing,
 {{{numpy.ma.core._print_templates}}} has no 'long' key, which is
 referenced in {{{numpy.ma.core.MaskedArray.__repr__()}}}.

 To reproduce:

 $ uname -a
 Linux HOSTNAME 2.6.32-24-generic #39-Ubuntu SMP Wed Jul 28 06:07:29 UTC
 2010 i686 GNU/Linux
 $ lsb_release -a
 No LSB modules are available.
 Distributor ID: Ubuntu
 Description:    Ubuntu 10.04.1 LTS
 Release:        10.04
 Codename:       lucid
 $ svn co http://svn.scipy.org/svn/numpy/trunk/ numpy >/dev/null
 $ cd numpy
 $ python3 setup.py build

 Although numpy/ma/core.py does not contain this problem,
 build/py3k/numpy/ma/core.py does.

 One of the consequences is that calls to {{{ma.array()}}} fail.

Ticket URL: <http://projects.scipy.org/numpy/ticket/1586>
NumPy <http://projects.scipy.org/numpy>
My example project

More information about the NumPy-Tickets mailing list