Re: [Cython] Cython 0.21 released

2014-10-10 Thread Yaroslav Halchenko

On Fri, 10 Oct 2014, Stefan Behnel wrote:

> Hi,

> thanks for the feedback.

> Yaroslav Halchenko schrieb am 08.10.2014 um 16:23:
> > while preparing build for Debian I ran into good old (never got feedback
> > to my analysis done in Jul/Aug, thread "Cython bugfix release")

> > ==
> > ERROR: test_all (Cython.Debugger.Tests.TestLibCython.TestAll)
> > --
> > Traceback (most recent call last):
> >   File 
> > "/home/yoh/deb/gits/build-area/cython-0.21/Cython/Debugger/Tests/TestLibCython.py",
> >  line 280, in test_all
> > sys.stderr.write(errmsg)
> > UnicodeEncodeError: 'ascii' codec can't encode characters in position 
> > 23604-23607: ordinal not in range(128)

> The debugger tests are generally broken at the moment.

thanks! I will try to exclude them then

> > and few other failures:

> > ==
> > FAIL: test_typing_function_int_loop 
> > (Cython.Tests.TestJediTyper.TestJediTyper)
> > --
> > Traceback (most recent call last):
> >   File 
> > "/home/yoh/deb/gits/build-area/cython-0.21/Cython/Tests/TestJediTyper.py", 
> > line 85, in test_typing_function_int_loop
> > self.assertIn(('func', (1, 0)), types)
> > AssertionError: ('func', (1, 0)) not found in {}

> > ==
> > FAIL: test_typing_function_int_loop 
> > (Cython.Tests.TestJediTyper.TestTypeInjection)
> > --
> > Traceback (most recent call last):
> >   File 
> > "/home/yoh/deb/gits/build-area/cython-0.21/Cython/Tests/TestJediTyper.py", 
> > line 85, in test_typing_function_int_loop
> > self.assertIn(('func', (1, 0)), types)
> > AssertionError: ('func', (1, 0)) not found in {}

> > --

> I faintly recall that there's a version dependency here, so I restricted
> the test runs to Jedi 0.8.1 and later.

cool -- cherry picked that one for the package -- thanks!

-- 
Yaroslav O. Halchenko, Ph.D.
http://neuro.debian.net http://www.pymvpa.org http://www.fail2ban.org
Research Scientist,Psychological and Brain Sciences Dept.
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834   Fax: +1 (603) 646-1419
WWW:   http://www.linkedin.com/in/yarik
___
cython-devel mailing list
cython-devel@python.org
https://mail.python.org/mailman/listinfo/cython-devel


Re: [Cython] Cython 0.21 released

2014-10-10 Thread Niki Spahiev

Hello,

While testing on windows without setuptools, i found that cythonize.py 
is missing from Cython-0.21.tar.gz


Niki


___
cython-devel mailing list
cython-devel@python.org
https://mail.python.org/mailman/listinfo/cython-devel


[Cython] compiler bug in 0.21

2014-10-10 Thread Николай
I found a bug in cython v0.21
Test source is attached.

regards,
Niki
-- 
|  (\_/)  This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination

def cython_err(test):
saved = test.a1, test.a2
try:
test.a1 = test.a2
finally:
test.a1, test.a2 = saved



cy.trace
Description: Binary data
___
cython-devel mailing list
cython-devel@python.org
https://mail.python.org/mailman/listinfo/cython-devel