| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Rename the options of the "check_size" feature to make them more obvious: ↵ | Stefan Behnel | 2018-09-29 | 1 | -1/+1 |
| | | | | | | | "warn" warns, "error" fails, and "extend" silently allows extending. Closes #2627. | ||||
| * | Minor cleanups of 'check_size' implementation (#2627). | Stefan Behnel | 2018-09-29 | 1 | -7/+7 |
| | | |||||
| * | Merge pull request #2627 from mattip/check_size2 | Stefan Behnel | 2018-09-29 | 1 | -2/+4 |
| |\ | | | | | ENH: add check_size option to ctypedef class for external classes | ||||
| | * | MAINT: fixes from review | mattip | 2018-09-25 | 1 | -1/+1 |
| | | | |||||
| | * | ENH: add check_size option to ctypedef class for external classes | mattip | 2018-09-25 | 1 | -2/+4 |
| | | | |||||
| * | | Add a new directive 'str_is_str=True' that keeps unprefixed string literals ↵ | Stefan Behnel | 2018-09-24 | 1 | -6/+12 |
| |/ | | | | | | and the 'str' builtin type unchanged even when 'language_level=3' is enabled. See #2565. | ||||
| * | Set the maximum line length to 150. | gabrieldemarmiesse | 2018-08-18 | 1 | -1/+3 |
| | | |||||
| * | Merge branch 'cpp-operator' | Robert Bradshaw | 2018-05-03 | 1 | -2/+20 |
| |\ | |||||
| | * | Further operator finding fixes | da_woods | 2015-09-19 | 1 | -8/+12 |
| | | | | | | | | | | | | | | | | | | | It wasn't finding nonmember operators with a class of the form: cdef cppclass C: C operator+(const C&, int) (i.e. with the class specified first) | ||||
| | * | Allow nonmember operators in c++ classes | da_woods | 2015-09-19 | 1 | -2/+18 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's sometimes useful to have nonmember operators in c++ e.g. C operator+(int, const C&) (So int can come first) These could be defined outside the "cdef cppclass" section but if they were in a pxd file they weren't easy to import and use. They can now be defined with the "cdef cppclass" and will be found and used appropriately e.g. cdef cppclass C: C operator+(int, const C&) Appropriate tests have been added | ||||
| * | | Misc typos | luz.paz | 2018-03-12 | 1 | -2/+2 |
| | | | | | | | Found via `codespell` | ||||
| * | | Do not issue "redefined" warnings on C++ function overrides with different ↵ | Stefan Behnel | 2018-03-11 | 1 | -3/+16 |
| | | | | | | | | | | | | | signatures (previously only applied to methods). Closes #2013. | ||||
| * | | Always show original position on "redeclared" errors. | Stefan Behnel | 2018-03-11 | 1 | -1/+10 |
| | | | |||||
| * | | Actually show "redefined" warnings, but only for "cdef extern" blocks, i.e. ↵ | Stefan Behnel | 2018-03-09 | 1 | -2/+3 |
| | | | | | | | | | | | | | the exact case described in #1874. Closes #1874. | ||||
| * | | Silence "redefined" warning again as it is more annoying than helpful to ↵ | Stefan Behnel | 2018-03-09 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | receive it for every pxd-defined cpdef function. See #1874. Closes #2013. | ||||
| * | | Explicitly re-allow memoryviews in default argument structs after ↵ | Stefan Behnel | 2018-02-23 | 1 | -2/+2 |
| | | | | | | | | | | | | | disallowing them in structs generally. Closes #2114. | ||||
| * | | Disallow memory views as struct members since structs do not allow safe ↵ | Stefan Behnel | 2018-02-11 | 1 | -4/+5 |
| | | | | | | | | | buffer reference management. | ||||
| * | | Promote the new opaque PEP-539 type "Py_tss_t" to a known Cython type to ↵ | Stefan Behnel | 2018-01-28 | 1 | -4/+4 |
| | | | | | | | | | avoid static variable initialisation issues with the "Py_tss_NEEDS_INIT" struct initialiser value. | ||||
| * | | Fix a value type for the initial assignment of Python variables: should ↵ | Stefan Behnel | 2018-01-28 | 1 | -1/+1 |
| | | | | | | | | | always be a string. | ||||
| * | | Verbatim C code using docstring syntax. | Jeroen Demeyer | 2017-11-17 | 1 | -21/+45 |
| | | | |||||
| * | | Require GIL-holding constructor if base classes require GIL. | Robert Bradshaw | 2017-11-07 | 1 | -0/+6 |
| | | | | | | | | | This fixes #1986. | ||||
| * | | Optimise iteration over containers declared with a "Dict[...]" type annotation. | Stefan Behnel | 2017-11-05 | 1 | -0/+2 |
| | | | | | | | | | See #1979. | ||||
| * | | Reformat code. | Stefan Behnel | 2017-10-29 | 1 | -4/+4 |
| | | | |||||
| * | | Make re-declaration warning louder. | Robert Bradshaw | 2017-10-12 | 1 | -1/+1 |
| | | | | | | | See #1874. | ||||
| * | | Repair compilation error for nested module level comprehensions. | Stefan Behnel | 2017-10-03 | 1 | -4/+14 |
| | | | | | | | | | Closes #1906. | ||||
| * | | Cleanup late includes. | Robert Bradshaw | 2017-10-02 | 1 | -8/+1 |
| | | | |||||
| * | | Automatic late includes. | Jeroen Demeyer | 2017-09-28 | 1 | -8/+26 |
| | | | |||||
| * | | Fix error handling when importing NumPy for Pythran modules. | Stefan Behnel | 2017-09-28 | 1 | -8/+0 |
| | | | |||||
| * | | Fix Py3 list comprehensions in (C-)class bodies: loop variable was declared ↵ | Stefan Behnel | 2017-09-27 | 1 | -2/+4 |
| | | | | | | | | | in the object struct instead of the scope that declared the class (usually the module init function). | ||||
| * | | Avoid copying C++ classes when passing constructor arguments. | Robert Bradshaw | 2017-09-23 | 1 | -0/+10 |
| | | | |||||
| * | | Fix another issue with automatic exception values. | Robert Bradshaw | 2017-09-23 | 1 | -0/+2 |
| | | | |||||
| * | | Allow mismatches of broader exception declarations in .pxd signatures as ↵ | Stefan Behnel | 2017-09-21 | 1 | -0/+4 |
| | | | | | | | | | long the implemented signature is covered. | ||||
| * | | Make vtable order of extension types with fused methods only dependant on ↵ | Stefan Behnel | 2017-09-20 | 1 | -5/+15 |
| | | | | | | | | | | | | | | | | | the original declaration order (e.g. in the .pxd file). Previously, fused methods were specialised and expanded on first use, which lead to an arbitrary order in the vtable. Also fixes compile failures when inheriting from base types with fused cdef methods. Fixes #1873. | ||||
| * | | Mark "__eq__" and friends as special methods to correctly distinguish them ↵ | Stefan Behnel | 2017-09-04 | 1 | -2/+8 |
| | | | | | | | | | | | | | from attributes etc. Replace closure class special casing from slot generation code and replace it with saner and more general "is_special" check. | ||||
| * | | Generate "tp_richcompare" slot when "__eq__" and/or its friends are defined ↵ | Stefan Behnel | 2017-09-03 | 1 | -5/+10 |
| | | | | | | | | | | | | | but "__richcmp__" is not. Closes #690. | ||||
| * | | Allow C++ classes to have Python object members. | Robert Bradshaw | 2017-08-25 | 1 | -10/+9 |
| | | | |||||
| * | | Remove unused parameter. | Robert Bradshaw | 2017-08-24 | 1 | -3/+2 |
| | | | |||||
| * | | Merge remote-tracking branch 'origin/release' | Stefan Behnel | 2017-08-17 | 1 | -0/+3 |
| |\ \ | |||||
| | * | | Don't error on inherited type members. | Robert Bradshaw | 2017-08-12 | 1 | -0/+3 |
| | | | | | | | | | | | | | This fixes #1788. | ||||
| * | | | Merge pull request #1794 from scoder/pep489_multi_phase_init | scoder | 2017-08-09 | 1 | -1/+2 |
| |\ \ \ | | | | | | | | | implement PEP 489 multi-phase module initialisation in Py3.5+ | ||||
| | * | | | implement PEP 489 multi-phase module initialisation in Py3.5+ | Stefan Behnel | 2017-07-22 | 1 | -1/+2 |
| | | | | | |||||
| * | | | | repair scoped comprehensions inside of generators and async functions by ↵ | Stefan Behnel | 2017-08-07 | 1 | -16/+36 |
| | |/ / |/| | | | | | | | | allowing their loop variables to be added to closures when necessary | ||||
| * | | | Suppress special casing of attribute names in closure classes since they are ↵ | Stefan Behnel | 2017-07-25 | 1 | -5/+6 |
| |/ / | | | | | | | | | | | not user defined and any local variable name is allowed without being special. Closes #1797. | ||||
| * | | Don't inherit template parameters as types. | Robert Bradshaw | 2017-07-09 | 1 | -6/+15 |
| | | | |||||
| * | | Inherit C++ nested types. | Robert Bradshaw | 2017-07-08 | 1 | -0/+5 |
| | | | |||||
| * | | Make bad pxd declarations into an warning for now. | Robert Bradshaw | 2017-07-03 | 1 | -3/+4 |
| | | | | | | | | | This will be an error in the next version of Cython. | ||||
| * | | Merge branch 'master' into feature/pythran | scoder | 2017-06-25 | 1 | -1/+2 |
| |\ \ | |||||
| | * | | Allow undeclared narrower return for cdef methods. | Robert Bradshaw | 2017-06-19 | 1 | -1/+2 |
| | | | | |||||
| * | | | Add a Pythran backend for Numpy operation | Adrien Guinet | 2017-06-17 | 1 | -0/+4 |
| |/ / | | | | | | | | | | | | | | | | | | | | | | | When the user asked for it (thanks to the --np-pythran flag), use Pythran's Numpy implementation as a backend for numpy operation. This flag forces the C++ mode, as the Pythran implementation is written in C++. Distutils integration through the 'np_pythran' flag of the cythonize API is also provided. This commit also adds a Pythran mode for the tests, that can enable the pythran mode for the C++ tests, and allows the reuse of Cython tests to test for the Pythran integration. | ||||
| * | | Allow cimport to follow import. | Robert Bradshaw | 2017-06-16 | 1 | -0/+3 |
| | | | |||||
