Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix failing relative imports in __init__ files. (#4552) | Matus Valo | 2022-10-01 | 1 | -1/+1 |
| | | | Fixes lookup of from `. cimport modulename` when called in `__init__.*` files - previously it looked in the parent directory of the package while now it looks in the package. | ||||
* | Implement cdef dataclasses (GH-3400) | da-woods | 2022-01-29 | 1 | -1/+9 |
| | | | | | | | | | | | | New decorator/function "@cython.dataclasses.dataclass" and "cython.dataclasses.field()" to mark dataclasses and their fields. Tries to match the interface provided by a regular dataclass as much as possible. This means taking the types from the dataclasses module if available (so they match exactly) or a fallback Python version that just implements the core parts (executed with "PyRun_String()" in the C source). Use of placeholders in generated "__init__" code means the code in the C file isn't hugely readable. Probably not a huge issue, but don't really see a way round that. As part of this I've also also implemented a Cython version of "typing.ClassVar". Although really designed for use with dataclasses it behaves sensibly when used in types in a normal cdef class. This is worth documenting more thoroughly. Closes https://github.com/cython/cython/issues/2903 | ||||
* | Avoid the terms whitelist and blacklist. | Robert Bradshaw | 2020-12-18 | 1 | -1/+1 |
| | | | | | Though pretty standard, I can see how the use of these terms could reasonably be viewed as offensive. | ||||
* | Mark view.* extension types as non-imported so that they can be inherited ↵ | da-woods | 2020-03-24 | 1 | -0/+9 |
| | | | | from. (GH-3413) | ||||
* | Misc typos | luz.paz | 2018-03-12 | 1 | -1/+1 |
| | | | Found via `codespell` | ||||
* | Do not issue "redefined" warnings on C++ function overrides with different ↵ | Stefan Behnel | 2018-03-11 | 1 | -0/+4 |
| | | | | | | signatures (previously only applied to methods). Closes #2013. | ||||
* | Add support for the typeid operator | empyrical | 2016-08-05 | 1 | -1/+3 |
| | |||||
* | use explicit relative imports everywhere and enable absolute imports by default | Stefan Behnel | 2014-06-17 | 1 | -6/+9 |
| | |||||
* | Move cython.array to cython.view.array to avoid conflicts with pure-mode ↵ | Mark Florisson | 2012-02-25 | 1 | -1/+1 |
| | | | | cython.array | ||||
* | Use whitelist for declaring entries in a scope | Mark Florisson | 2012-01-29 | 1 | -2/+3 |
| | |||||
* | Merge cython array utility with memoryview utility | Mark Florisson | 2012-01-29 | 1 | -7/+3 |
| | |||||
* | removed lots of unused imports, delayed some imports that are only needed ↵ | Stefan Behnel | 2011-11-13 | 1 | -2/+0 |
| | | | | | | | for Cython specific syntax --HG-- extra : rebase_source : a2df3675fd1efae1a1122ca9742e99ab1405fba6 | ||||
* | Merge in fixes from master | Mark Florisson | 2011-10-13 | 1 | -3/+19 |
|\ | |||||
| * | Defer loading cython scope until necessary | Mark Florisson | 2011-10-13 | 1 | -11/+24 |
| | | |||||
* | | Fix cython scope caching (it breaks about half of the test suite, but it ↵ | Mark Florisson | 2011-10-03 | 1 | -8/+3 |
| | | | | | | | | probably slow down cython.compile) | ||||
* | | merge -- working fused types, broken cython testscope | Mark Florisson | 2011-10-02 | 1 | -31/+122 |
|\ \ | |/ | |||||
| * | cimport cython in CyUtility, more tests, nogil slicing | Mark Florisson | 2011-09-30 | 1 | -5/+10 |
| | | |||||
| * | Support slicing memoryview objects | Mark Florisson | 2011-09-30 | 1 | -8/+4 |
| | | |||||
| * | Support casting pointers to cython.array | Mark Florisson | 2011-09-30 | 1 | -17/+10 |
| | | |||||
| * | MemoryViewSlice indexing and object coercion + MemoryView indexing | Mark Florisson | 2011-09-30 | 1 | -5/+17 |
| | | |||||
| * | Change memview access and packing modifier constants | Mark Florisson | 2011-09-30 | 1 | -1/+1 |
| | | |||||
| * | Modify utility code loader as per discussion + tests | Mark Florisson | 2011-09-30 | 1 | -3/+2 |
| | | |||||
| * | Utility Code loader + memview python3 compat | Mark Florisson | 2011-09-30 | 1 | -234/+17 |
| | | |||||
| * | Fix cythonarray test | Mark Florisson | 2011-09-30 | 1 | -17/+12 |
| | | |||||
| * | Get rid of a lot of entry declarations + optional argument to not allocate ↵ | Mark Florisson | 2011-09-30 | 1 | -79/+30 |
| | | | | | | | | buffer in cython.array | ||||
| * | py23 compat | Mark Florisson | 2011-09-30 | 1 | -1/+1 |
| | | |||||
| * | Fix strides array bug | Mark Florisson | 2011-09-30 | 1 | -2/+2 |
| | | |||||
| * | use_utility_code vs. memoryviews fixup | Dag Sverre Seljebotn | 2011-09-30 | 1 | -2/+6 |
| | | |||||
| * | replacement of 'f' flag with 'fortran' in cython.array. | Kurt Smith | 2011-09-30 | 1 | -4/+4 |
| | | |||||
| * | memviewslice copy implementation. | Kurt Smith | 2011-09-30 | 1 | -6/+9 |
| | | |||||
| * | moved memoryview initialization function from CythonUtilCode to pure C | Kurt Smith | 2011-09-30 | 1 | -145/+1 |
| | | |||||
| * | added array_cwrapper convenience function in CythonScope.py | Kurt Smith | 2011-09-30 | 1 | -0/+4 |
| | | |||||
| * | fixed bug in init_memviewslice_from_memview | Kurt Smith | 2011-09-30 | 1 | -4/+18 |
| | | |||||
| * | memoryviewslice declaration and assignments work. | Kurt Smith | 2011-09-30 | 1 | -1/+10 |
| | | |||||
| * | rename memviewslice init function. | Kurt Smith | 2011-09-30 | 1 | -1/+1 |
| | | |||||
| * | consistent naming scheme for memoryviews and memoryview slices. | Kurt Smith | 2011-09-30 | 1 | -15/+15 |
| | | |||||
| * | coercion and validation for memoryview wrappers. | Kurt Smith | 2011-09-30 | 1 | -15/+132 |
| | | |||||
| * | memoryview utility code pulled in when memview array syntax used in Cython ↵ | Kurt Smith | 2011-09-30 | 1 | -10/+19 |
| | | | | | | | | source. | ||||
| * | Terrible hack, FIXME FIXME | Dag Sverre Seljebotn | 2011-09-30 | 1 | -2/+2 |
| | | |||||
| * | cython.memoryview implementation | Kurt Smith | 2011-09-30 | 1 | -29/+66 |
| | | |||||
| * | Remove hardcoded string, refer to Naming.typeptr_prefix instead. | Kurt Smith | 2011-09-30 | 1 | -1/+2 |
| | | |||||
| * | cython.array implementation & tests. | Kurt Smith | 2011-09-30 | 1 | -1/+158 |
| | | |||||
| * | Populate the cython.view module with some Python objects | Dag Sverre Seljebotn | 2011-09-30 | 1 | -0/+21 |
| | | |||||
| * | Delete trailing whitespaces | Vitja Makarov | 2011-07-25 | 1 | -3/+3 |
| | | |||||
| * | Support CythonUtilityCode dependencies in CythonUtilityCode | Mark Florisson | 2011-07-19 | 1 | -1/+14 |
| | | |||||
| * | Cython Utility Code cname extclass decorator + extmethod prototypes | Mark Florisson | 2011-07-19 | 1 | -22/+70 |
| | | |||||
| * | Support cname() decorators in CythonUtilityCode | Mark Florisson | 2011-07-19 | 1 | -4/+9 |
| | | |||||
| * | Make it possible to construct sub-magic-modules of cython | Dag Sverre Seljebotn | 2011-07-19 | 1 | -9/+57 |
| | | |||||
| * | Refactor the 'cython' cimport scope to use CythonUtilityCode | Dag Sverre Seljebotn | 2011-07-19 | 1 | -36/+47 |
| | | |||||
* | | Support fused cpdef functions with Python indexing | Mark Florisson | 2011-05-13 | 1 | -0/+7 |
| | |