[Cython] Cython 0.23.3 released

2015-09-29 Thread Stefan Behnel
Hi everyone,

here is a third bug-fix release for the 0.23 release series that repairs
some further problems and regressions.

https://pypi.python.org/pypi/Cython/0.23.3

Complete changelog follows below. Upgrading is generally recommended.


You can get the signed release from here:

http://cython.org/

http://cython.org/release/Cython-0.23.3.tar.gz

http://cython.org/release/Cython-0.23.3.zip


SHA1 sums:
d5592dc3d529c55a5ef95346caccf11c556993bd  Cython-0.23.3.tar.gz
25c15d661fa2632be1f336f591ef989a76512fe3  Cython-0.23.3.zip

Have fun,

Stefan


0.23.3 (2015-09-29)
===

Bugs fixed
--

* Invalid C code for some builtin methods.  This fixes ticket 856 again.

* Incorrect C code in helper functions for PyLong conversion and string
  decoding.  This fixes ticket 863, ticket 864 and ticket 865.
  Original patch by Nikolaus Rath.

* Large folded or inserted integer constants could use too small C
  integer types and thus trigger a value wrap-around.

Other changes
-

* The coroutine and generator types of Cython now also register directly
  with the ``Coroutine`` and ``Generator`` ABCs in the ``backports_abc``
  module if it can be imported.  This fixes ticket 870.
___
cython-devel mailing list
cython-devel@python.org
https://mail.python.org/mailman/listinfo/cython-devel


[Cython] Bug: llabs not defined in vs2008

2015-09-29 Thread Hogan, Christopher
Hello,

I was trying to compile numpy v1.9.2 with Visual Studio 2008 and Cython 0.23.1. 
 This worked fine with Cython 0.22.x, but in 0.23.1 there are some changes in 
Cython/Utility/TypeConversion.c that seem to cause this error:

mtrand.obj : error LNK2019: unresolved external symbol llabs referenced in 
function __pyx_pf_6mtrand_11RandomState_24 choice

llabs is not available in vs2008, but it ends up taking that "#elif" branch in 
TypeConversion.c and defining __Pyx_sst_abs to be llabs.  I was able to fix 
this by swapping the order of the "#elif defined (_MSC_VER) ..."  block with 
the "#elif defined (__STDC_VERSION__) ... " block.  That probably won't fix the 
problem in all cases though.

Thanks,

Chris Hogan
Scripting Tools Engineer
Scripting, Analyzers and Tools
Intel Corporation

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