[Cython] Cython bugfix release

Julian Taylor jtaylor.debian at googlemail.com
Mon Jul 21 20:51:29 CEST 2014


I haven't tried it but its possibly related to the C locale the debian
builders use. Try with LC_ALL=C

@Yaroslav if this the the case, the workaround would be building with
LC_ALL=C.UTF-8

On 21.07.2014 19:46, Robert Bradshaw wrote:
> I wasn't able to reproduce this myself, which is why I haven't done
> anything about it yet...
> 
> 
> On Sat, Jul 19, 2014 at 9:39 PM, Yaroslav Halchenko
> <lists at onerussian.com <mailto:lists at onerussian.com>> wrote:
> 
>     that was quite an underwhelming response,  now it is "official"
>     https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=755340
>     and I haven't had yet a chance to recheck master... anyone has a clue
>     before I start digging?
> 
>     On Thu, 19 Jun 2014, Yaroslav Halchenko wrote:
> 
>     > and the same issue in current(ish) master:
> 
>     > ======================================================================
>     > ERROR: test_all (Cython.Debugger.Tests.TestLibCython.TestAll)
>     > ----------------------------------------------------------------------
>     > Traceback (most recent call last):
>     >   File
>     "/tmp/buildd/cython-0.20.2+git216-ga96882e/Cython/Debugger/Tests/TestLibCython.py",
>     line 280, in test_all
>     >     sys.stderr.write(errmsg)
>     > UnicodeEncodeError: 'ascii' codec can't encode characters in
>     position 21001-21004: ordinal not in range(128)
> 
>     > ----------------------------------------------------------------------
>     > Ran 8348 tests in 2674.102s
> 
> 
> 
>     > On Wed, 18 Jun 2014, Yaroslav Halchenko wrote:
> 
>     > > FWIW -- 0.20.2 was just uploaded to Debian sid, thus should be
>     available
>     > > to Debian folks soon too
> 
>     > > while trying 0.20.1 across debian/ubuntus I ran into this failure
> 
>     > >
>     ======================================================================
>     > > ERROR: test_all (Cython.Debugger.Tests.TestLibCython.TestAll)
>     > >
>     ----------------------------------------------------------------------
>     > > Traceback (most recent call last):
>     > >   File
>     "/tmp/buildd/cython-0.20.2/Cython/Debugger/Tests/TestLibCython.py",
>     line 281, in test_all
>     > >     sys.stderr.write(errmsg)
>     > > UnicodeEncodeError: 'ascii' codec can't encode characters in
>     position 18851-18854: ordinal not in range(128)
> 
>     > > on debian wheezy i386.  it didn't happen on amd64 and on both
>     architectures
>     > > under debian jessie (testing) and it seemed to happen while
>     testing with
>     > > python2.6
> 
>     > > On Mon, 16 Jun 2014, Robert Bradshaw wrote:
> 
>     > > > I just pushed another bugfix release for the 0.20.x line,
>     available on
>     > > > github, cython.org <http://cython.org>, or and pypi.
> 
>     > > > == Features added ==
> 
>     > > > * Some optimisations for set/frozenset instantiation.
>     > > > * Support for C++ unordered_set and unordered_map.
> 
>     > > > == Bugs fixed ==
> 
>     > > > * Access to attributes of optimised builtin methods (e.g.
>     > > > [].append.__name__) could fail to compile.
>     > > > * Memory leak when extension subtypes add a memory view as
>     attribute
>     > > > to those of the parent type without having Python object
>     attributes or
>     > > > a user provided dealloc method.
>     > > > * Compiler crash on readonly properties in "binding" mode.
>     > > > * Auto-encoding with c_string_encoding=ascii failed in Py3.3.
>     > > > * Crash when subtyping freelist enabled Cython extension types
>     with
>     > > > Python classes that use __slots__.
>     > > > * Freelist usage is restricted to CPython to avoid problems
>     with other
>     > > > Python implementations.
>     > > > * Memory leak in memory views when copying overlapping,
>     contiguous slices.
>     > > > * Format checking when requesting non-contiguous buffers from
>     > > > cython.array objects was disabled in Py3.
>     > > > * C++ destructor calls in extension types could fail to
>     compile in clang.
>     > > > * Buffer format validation failed for sequences of strings in
>     structs.
>     > > > * Docstrings on extension type attributes in .pxd files were
>     rejected.
> 
>     > > > == Contributors ==
> 
>     > > > Andreas van Cranenburgh
>     > > > Ian Bell
>     > > > Lars Buitinck
>     > > > Martin Quarda
>     > > > Mikhail Korobov
>     > > > Robert Bradshaw
>     > > > Stefan Behnel
>     > > > _______________________________________________
>     > > > cython-devel mailing list
>     > > > cython-devel at python.org <mailto:cython-devel at python.org>
>     > > > https://mail.python.org/mailman/listinfo/cython-devel
>     --
>     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 <tel:%2B1%20%28603%29%20646-9834>          
>                 Fax: +1 (603) 646-1419 <tel:%2B1%20%28603%29%20646-1419>
>     WWW:   http://www.linkedin.com/in/yarik
>     _______________________________________________
>     cython-devel mailing list
>     cython-devel at python.org <mailto:cython-devel at python.org>
>     https://mail.python.org/mailman/listinfo/cython-devel
> 
> 
> 
> 
> _______________________________________________
> cython-devel mailing list
> cython-devel at python.org
> https://mail.python.org/mailman/listinfo/cython-devel
> 



More information about the cython-devel mailing list