homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author amaury.forgeotdarc
Recipients alex_lai, amaury.forgeotdarc, ezio.melotti
Date 2011年04月30日.09:25:11
SpamBayes Score 0.002196934
Marked as misclassified No
Message-id <1304155512.18.0.543657025493.issue11960@psf.upfronthosting.co.za>
In-reply-to
Content
The issue is actually in numpy. In numpy/f2py/src/fortranobject.c, function array_from_pyobj(), there is::
 sprintf(mess,"failed to initialize intent(inout|inplace|cache) array"
 " -- input must be array but got %s",
 PyString_AsString(PyObject_Str(PyObject_Type(obj)))
 );
(In numpy headers, PyString_AsString is aliased to PyBytes_AsString.)
Besides the reference leaks, this function will fail when given the unicode string returned by PyObject_Str(), and sprintf receives the null string...
Please report this to numpy.
History
Date User Action Args
2011年04月30日 09:25:12amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, ezio.melotti, alex_lai
2011年04月30日 09:25:12amaury.forgeotdarcsetmessageid: <1304155512.18.0.543657025493.issue11960@psf.upfronthosting.co.za>
2011年04月30日 09:25:11amaury.forgeotdarclinkissue11960 messages
2011年04月30日 09:25:11amaury.forgeotdarccreate

AltStyle によって変換されたページ (->オリジナル) /