来源:Cython
浏览 433
扫码
分享
2020-04-04 08:24:52
0.16 (2012-04-21)
Features added
- Enhancements to Cython’s function type (support for weak references, default arguments, code objects, dynamic attributes, classmethods, staticmethods, and more)
- Fused Types - Template-like support for functions and methods CEP 522 (docs)
- Typed views on memory - Support for efficient direct and indirect buffers (indexing, slicing, transposing, …) CEP 517 (docs)
- super() without arguments
- Final cdef methods (which translate into direct calls on known instances)
Bugs fixed
- fix alignment handling for record types in buffer support
Other changes
- support default arguments for closures
- search sys.path for pxd files
- support C++ template casting
- faster traceback building and faster generator termination
- support inplace operators on indexed buffers
- allow nested prange sections