--- - branch: MAIN date: Sun Aug 12 21:08:46 UTC 2012 files: - new: '1.5' old: '1.4' path: pkgsrc/devel/py-cython/Makefile pathrev: pkgsrc/devel/py-cython/Makefile@1.5 type: modified - new: '1.3' old: '1.2' path: pkgsrc/devel/py-cython/PLIST pathrev: pkgsrc/devel/py-cython/PLIST@1.3 type: modified - new: '1.3' old: '1.2' path: pkgsrc/devel/py-cython/distinfo pathrev: pkgsrc/devel/py-cython/distinfo@1.3 type: modified - new: '1.2' old: 1.1.1.1 path: pkgsrc/devel/py-cython/buildlink3.mk pathrev: pkgsrc/devel/py-cython/buildlink3.mk@1.2 type: modified - new: '1.2' old: 1.1.1.1 path: pkgsrc/devel/py-cython/patches/patch-aa pathrev: pkgsrc/devel/py-cython/patches/patch-aa@1.2 type: modified - new: '1.3' old: '1.2' path: pkgsrc/devel/py-cython/patches/patch-ab pathrev: pkgsrc/devel/py-cython/patches/patch-ab@1.3 type: modified - new: '1.3' old: '1.2' path: pkgsrc/devel/py-cython/patches/patch-ac pathrev: pkgsrc/devel/py-cython/patches/patch-ac@1.3 type: modified id: 20120812T210846Z.48ba949302d441996518e5047399fbf671e806f7 log: "Update to 0.16:\n\n0.16\nFeatures\n Enhancements to Cython's function type (support for weak\n references, default arguments, code objects, dynamic attributes,\n \ classmethods, staticmethods, and more)\n Fused Types - Template-like support for functions and methods\n CEP 522 (docs)\n Typed views on memory - Support for efficient direct and indirect\n buffers (indexing, slicing, transposing, ...) CEP 517 (docs)\n super() without arguments\n Final cdef methods (which translate into direct calls on known\n instances)\nGeneral Improvements and Bug Fixes\n support default arguments for closures\n search sys.path for pxd files\n support C++ template casting\n faster traceback building and faster generator termination\n support inplace operators on indexed buffers\n \ fix alignment handling for record types in buffer support\n allow nested prange sections\n\n0.15.1\nThis is a bugfix-only release.\n\n0.15\nMajor Features\n \ Generators (yield) - Cython has full support for generators,\n generator expressions and PEP 342 coroutines.\n The nonlocal keyword is supported.\n \ Re-acquiring the gil: with gil - works as expected within a\n nogil context.\n \ OpenMP support: prange.\n Control flow analysis prunes dead code and emits warnings and\n errors about uninitialised variables.\n Debugger command cy set to assign values of expressions to\n Cython variables and cy exec counterpart $cy_eval().\n Exception chaining PEP 3134.\n Relative imports PEP 328.\n \ Improved pure syntax including cython.cclass, cython.cfunc,\n and cython.ccall.\n \ The with statement has its own dedicated and faster C\n implementation.\n \ Support for del.\n Boundschecking directives implemented for builtin Python sequence\n types.\n Several updates and additions to the shipped standard library\n .pxd files.\n Forward declaration of types is no longer required for circular\n references.\nNote: this will be the last release to support Python 2.3; Python\n2.4 will be supported for at least one more release.\nGeneral improvements and bug fixes\nThis release contains over a thousand commits including hundreds\nof bugfixes and optimizations. The bug tracker has not been as\nheavily used this release cycle, but is still an interesting subset\nof improvements and fixes\nIncompatible changes\n Uninitialized variables are no longer initialized to None and\n accessing them has the same semantics as standard Python.\n globals() now returns a read-only dict of the Cython module's\n globals, rather than the globals\n of the first non-Cython module in the stack\n Many C++ exceptions are now special cased to give closer Python\n counterparts. This means that except+ functions that formerly\n raised generic RuntimeErrors may raise something else such as\n ArithmeticError.\nKnown regressions\n The inlined generator expressions (introduced in Cython 0.13)\n were disabled in favour of full generator expression support.\n This breaks code that previously used them inside of cdef\n functions (usage in def functions continues to work) and induces\n a performance regression for cases that continue to work but\n \ that were previously inlined. We hope to reinstate this feature\n in the near future.\n Generators (yield) - Cython has full support for generators,\n \ generator expressions and PEP 342 coroutines.\n The nonlocal keyword is supported.\n Re-acquiring the gil: with gil - works as expected within a\n \ nogil context.\n OpenMP support: prange.\n Control flow analysis prunes dead code and emits warnings and\n errors about uninitialised variables.\n \ Debugger command cy set to assign values of expressions to\n Cython variables and cy exec counterpart $cy_eval().\n Exception chaining PEP 3134.\n Relative imports PEP 328.\n Improved pure syntax including cython.cclass, cython.cfunc,\n \ and cython.ccall.\n The with statement has its own dedicated and faster C\n implementation.\n Support for del.\n Boundschecking directives implemented for builtin Python sequence\n types.\n Several updates and additions to the shipped standard library\n .pxd files.\n Forward declaration of types is no longer required for circular\n references.\nNote: this will be the last release to support Python 2.3; Python\n2.4 will be supported for at least one more release.\nGeneral improvements and bug fixes\nThis release contains over a thousand commits including hundreds\nof bugfixes and optimizations. The bug tracker has not been as\nheavily used this release cycle, but is still an interesting subset\nof improvements and fixes\nIncompatible changes\n Uninitialized variables are no longer initialized to None and\n accessing them has the same semantics as standard Python.\n globals() now returns a read-only dict of the Cython module's\n globals, rather than the globals\n\tof the first non-Cython module in the stack\n Many C++ exceptions are now special cased to give closer Python\n \ counterparts. This means that except+ functions that formerly\n raised generic RuntimeErrors may raise something else such as\n ArithmeticError.\nKnown regressions\n The inlined generator expressions (introduced in Cython 0.13)\n \ were disabled in favour of full generator expression support.\n This breaks code that previously used them inside of cdef\n functions (usage in def functions continues to work) and induces\n a performance regression for cases that continue to work but\n that were previously inlined. We hope to reinstate this feature\n \ in the near future.\n\n0.14.1\nNew Features\n The gdb debugging support was extended to include all major\n Cython features, including closures.\n \ raise MemoryError() is now safe to use as Cython replaces it\n with the correct C-API call.\nGeneral improvements and bug fixes\nThe bug tracker has a list of the major improvements and fixes\nIncompatible changes\n Decorators on special methods of cdef classes now raise a\n compile time error rather than being ignored.\n In Python 3 language level mode (-3 option), the 'str' type is\n now mapped to 'unicode', so that cdef str s declares a Unicode\n \ string even when running in Python 2.\n\n0.14\nNew Features\n Python classes can now be nested and receive a proper closure\n at definition time.\n Redefinition is supported for Python functions, even within\n the same scope.\n Lambda expressions are supported in class bodies and at the\n module level.\n Metaclasses are supported for Python classes, both in Python\n 2 and Python 3 syntax. The Python 3 syntax (using a keyword\n argument in the type declaration) is preferred and optimised\n at compile time.\n \"final\" extension classes prevent inheritance in Python space.\n This feature is available through the new \"cython.final\"\n \ decorator. In the future, these classes may receive further\n optimisations.\n \ \"internal\" extension classes do not show up in the module\n dictionary. This feature is available through the new\n \"cython.internal\" decorator.\n \ Extension type inheritance from builtin types, such as \"cdef\n class MyUnicode(unicode)\", now works without further external\n type redeclarations (which are also strongly discouraged now\n and continue to issue a warning).\n GDB support. http://docs.cython.org/src/userguide/debugging.html\n \ A new build system with support for inline distutils directives,\n correct dependency tracking, and parallel compilation.\n http://wiki.cython.org/enhancements/distutils_preprocessing\n \ Support for dynamic compilation at runtime via the new\n cython.inline function and cython.compile decorator.\n http://wiki.cython.org/enhancements/inline\nGeneral improvements and bug fixes\n In parallel assignments, the right side was evaluated in reverse\n order in 0.13. This could result in errors if it had side\n effects (e.g. function calls).\n In some cases, methods of builtin types would raise a SystemError\n instead of an AttributeError when called on None.\n Constant tuples are now cached over the lifetime of an extension\n module, just like CPython does. Constant argument tuples of\n Python function calls are also cached.\n Closures have tightened to include exactly the names used in\n the inner functions and classes. Previously, they held the\n complete locals of the defining function.\n \"nogil\" blocks are supported when compiling pure Python code\n by writing \"with cython.nogil\".\n The builtin \"next()\" function in Python 2.6 and later is now\n implemented internally and therefore available in all Python\n versions. This makes it the preferred and portable way of\n manually advancing an iterator.\n In addition to the previously supported inlined generator\n expressions in 0.13, \"sorted(genexpr)\" can now be used as well.\n Typing issues were fixed in \"sum(genexpr)\" that could lead to\n invalid C code being generated. Other known issues with inlined\n \ generator expressions were also fixed that make upgrading to\n 0.14 a strong recommendation for code that uses them. Note that\n general generators and generator expressions continue to be\n not supported.\n Iterating over arbitrary pointer types is now supported, as is\n an optimized version of the in operator, e.g. x in ptr[a:b].\n Inplace arithmetic operators now respect the cdivision directive\n and are supported for complex types.\nIncompatible changes\n Typing a variable as type \"complex\" previously gave it the\n Python object type. It now uses the appropriate C/C++ double\n complex type. A side-effect is that assignments and typed\n function parameters now accept anything that Python can coerce\n to a complex, including integers and floats, and not only\n complex instances.\n Large integer literals pass through the compiler in a safer\n \ way. To prevent truncation in C code, non 32-bit literals are\n turned into Python objects if not used in a C context. This\n context can either be given by a clear C literal suffix such\n as \"UL\" or \"LL\" (or \"L\" in Python 3 code), or it can be an\n assignment to a typed variable or a typed function argument,\n in which case it is up to the user to take care of a sufficiently\n \ large value space of the target.\n Python functions are declared in the order they appear in the\n file, rather than all being created at module creation time.\n This is consistent with Python and needed to support, for\n example, conditional or repeated declarations of functions. In\n the face of circular imports this may cause code to break, so\n a new --disable-function-redefinition flag was added to revert\n to the old behavior. This flag will be removed in a future\n release, so should only be used as a stopgap until old code\n can be fixed.\n" module: pkgsrc subject: 'CVS commit: pkgsrc/devel/py-cython' unixtime: '1344805726' user: wiz