Sorry for the late reply.. On Wed, Oct 28, 2009 at 4:13 AM, Stefan Behnel <[email protected]> wrote: > Hi, > > most of the 'complex' tests currently fail in Py3.1 because > complex.__repr__() became more correct. It now prints (-0-2j) for -(2j). >
Are you sure this is "more correct" ? What's the point of printing a "0" for the real part? I really do not know what's going on there... Enter your python prompt ant try to make it print a complex with a single "0" for the real part, I was not able to do so... > Could someone who was involved in writing this code (Dag or Lisandro, I > guess) please take a look It was Robert :-) > and decide a) if this is worth testing for, and > b) if it's enough to fix the test or if the support in Cython also needs > adaptation to match what Py3.1 prints? > > > That would allow us to close ticket #319. > Well, we have to resolve the external typedef stuff... -- Lisandro Dalcín --------------- Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC) Instituto de Desarrollo Tecnológico para la Industria Química (INTEC) Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET) PTLC - Güemes 3450, (3000) Santa Fe, Argentina Tel/Fax: +54-(0)342-451.1594 _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
