--- - branch: MAIN date: Wed Apr 13 18:13:49 UTC 2016 files: - new: '1.32' old: '1.31' path: pkgsrc/devel/py-cython/Makefile pathrev: pkgsrc/devel/py-cython/Makefile@1.32 type: modified - new: '1.18' old: '1.17' path: pkgsrc/devel/py-cython/PLIST pathrev: pkgsrc/devel/py-cython/PLIST@1.18 type: modified - new: '1.26' old: '1.25' path: pkgsrc/devel/py-cython/distinfo pathrev: pkgsrc/devel/py-cython/distinfo@1.26 type: modified id: 20160413T181349Z.f7a8ad7d30e17680ed9c783e0ca6625adc574558 log: | Update py-cython to 0.24. 0.24 (2016-03-xx) ================= Features added -------------- * PEP 498: Literal String Formatting (f-strings). Original patch by Jelle Zijlstra. https://www.python.org/dev/peps/pep-0498/ * PEP 515: Underscores as visual separators in number literals. https://www.python.org/dev/peps/pep-0515/ * Parser was adapted to some minor syntax changes in Py3.6, e.g. https://bugs.python.org/issue9232 * The embedded C code comments that show the original source code can be discarded with the new directive ``emit_code_comments=False``. * Cpdef enums are now first-class iterable, callable types in Python. * Ctuples can now be declared in pure Python code. * Posix declarations for DLL loading and stdio extensions were added. Patch by Lars Buitinck. * The Py2-only builtins ``unicode()``, ``xrange()``, ``reduce()`` and ``long`` are now also available in compile time ``DEF`` expressions when compiling with Py3. * Exception type tests have slightly lower overhead. This fixes ticket 868. * @property syntax fully supported in cdef classes, old syntax deprecated. * C++ classes can now be declared with default template parameters. Bugs fixed ---------- * C++ exceptions raised by overloaded C++ operators were not always handled. Patch by Ian Henriksen. * C string literals were previously always stored as non-const global variables in the module. They are now stored as global constants when possible, and otherwise as non-const C string literals in the generated code that uses them. This improves compatibility with strict C compiler options and prevents non-const strings literals with the same content from being incorrectly merged. * Compile time evaluated ``str`` expressions (``DEF``) now behave in a more useful way by turning into Unicode strings when compiling under Python 3. This allows using them as intermediate values in expressions. Previously, they always evaluated to bytes objects. * ``isinf()`` declarations in ``libc/math.pxd`` and ``numpy/math.pxd`` now reflect the actual tristate ``int`` return value instead of using ``bint``. * Literal assignments to ctuples avoid Python tuple round-trips in some more corner cases. * Iteration over ``dict(...).items()`` failed to get optimised when dict arguments included keyword arguments. * cProfile now correctly profiles cpdef functions and methods. 0.23.5 (2016-03-26) =================== * Compile errors and warnings in integer type conversion code. This fixes ticket 877. Patches by Christian Neukirchen, Nikolaus Rath, Ian Henriksen. * Reference leak when "*args" argument was reassigned in closures. * Truth-testing Unicode strings could waste time and memory in Py3.3+. * Return values of async functions could be ignored and replaced by ``None``. * Compiler crash in CPython 3.6. * Fix prange() to behave identically to range(). The end condition was miscalculated when the range was not exactly divisible by the step. * Optimised ``all(genexpr)``/``any(genexpr)`` calls could warn about unused code. This fixes ticket 876. module: pkgsrc subject: 'CVS commit: pkgsrc/devel/py-cython' unixtime: '1460571229' user: wiz