[NumPy-Tickets] [NumPy] #1586: numpy.ma.core._print_templates missing 'long' key
NumPy Trac
numpy-tickets@scipy....
Fri Aug 20 05:13:48 CDT 2010
#1586: numpy.ma.core._print_templates missing 'long' key
----------------------+-----------------------------------------------------
Reporter: alue | Owner: pierregm
Type: defect | Status: new
Priority: high | Milestone: 1.5.0
Component: numpy.ma | Version: devel
Keywords: 2to3 |
----------------------+-----------------------------------------------------
Changes (by rgommers):
* keywords: => 2to3
* owner: somebody => pierregm
* priority: normal => high
* component: Other => numpy.ma
* milestone: 2.0.0 => 1.5.0
Comment:
Looks like 2to3 translates the key "long" to "int", which causes the
error. Since _print_templates is private, I think the easiest fix is to
rename the kw to "long_" or something like that.
Fix should be backported to 1.5.0.
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1586#comment:1>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list