Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | make test runner exit with non-0 return status on exceptions (this shadowed ↵pep515_underscores_in_numbers | Stefan Behnel | 2016-03-20 | 1 | -0/+1 |
| | | | | an actual bug in this branch) | ||||
* | fix missing attribute error in compiled Cython installation | Stefan Behnel | 2016-03-20 | 1 | -0/+1 |
| | |||||
* | extend test | Stefan Behnel | 2016-03-19 | 1 | -0/+8 |
| | |||||
* | extend test | Stefan Behnel | 2016-03-19 | 1 | -0/+4 |
| | |||||
* | tighten PEP 515 test to make sure the underscore literals have the correct ↵ | Stefan Behnel | 2016-03-19 | 1 | -3/+18 |
| | | | | node type | ||||
* | adapt to stricter version of the CPython implementation (that follows the ↵ | Stefan Behnel | 2016-03-19 | 3 | -74/+51 |
| | | | | actual PEP) | ||||
* | extend tests to include an ambiguity in Python 3.x grammar: "e" for exponent ↵ | Stefan Behnel | 2016-03-19 | 2 | -0/+25 |
| | | | | or start of "else" | ||||
* | Implement PEP 515: allow underscores in number literals | Stefan Behnel | 2016-03-19 | 4 | -11/+141 |
| | | | | | | | | https://www.python.org/dev/peps/pep-0515/ https://bugs.python.org/issue26331 Practically accepted as of 2016-03-19: http://thread.gmane.org/gmane.comp.python.devel/156533/focus=156734 | ||||
* | Bump to 0.24.alpha1 | Robert Bradshaw | 2016-03-17 | 1 | -1/+1 |
| | |||||
* | Let the span of error types be object again. | Robert Bradshaw | 2016-03-17 | 1 | -1/+2 |
| | | | | | | | | This partially revert the change introduced in 767fce81073e7f96c6e9dc95906d96795e61cc32. Turns out AttributeNodes always start with type error, which we don't want to propagate in some places. | ||||
* | generally #define PyObject_Malloc() and friends to their PyMem_*() ↵ | Stefan Behnel | 2016-03-17 | 2 | -8/+6 |
| | | | | counterparts in PyPy | ||||
* | fall back to PyMem_Malloc() in PyPy (which doesn't have PyObject_Malloc() ↵ | Stefan Behnel | 2016-03-17 | 1 | -0/+8 |
| | | | | and friends) | ||||
* | Remove deprecated property syntax from MemoryView utility code. | Robert Bradshaw | 2016-03-17 | 1 | -58/+50 |
| | |||||
* | Fix error with fused types and optional template params. | Robert Bradshaw | 2016-03-11 | 1 | -1/+1 |
| | |||||
* | Bump version to 0.24a00.24a0 | Robert Bradshaw | 2016-03-11 | 2 | -12/+3 |
| | |||||
* | Merge branch 'molpopgen' | Robert Bradshaw | 2016-03-10 | 10 | -12/+89 |
|\ | |||||
| * | Fix for stl conversions with default template params. | Robert Bradshaw | 2016-03-10 | 1 | -4/+14 |
| | | |||||
| * | add in MRE for devs to look at | Kevin R. Thornton | 2016-02-24 | 1 | -0/+9 |
| | | |||||
| * | restore c++0x to make the test pass on older compilers. | Kevin R. Thornton | 2016-02-24 | 1 | -1/+1 |
| | | |||||
| * | add default templates to STL containers + rudimentary unit tests | Kevin R. Thornton | 2016-02-22 | 6 | -5/+14 |
| | | |||||
| * | ok--figured out the culprit | Kevin R. Thornton | 2016-02-22 | 1 | -2/+2 |
| | | |||||
| * | comment out template members. | Kevin R. Thornton | 2016-02-22 | 1 | -2/+2 |
| | | |||||
| * | (crude) addition of std::allocator<T> | Kevin R. Thornton | 2016-02-22 | 1 | -0/+14 |
| | | |||||
| * | test of unique_ptr with std::default_delete and a custom deleter | Kevin R. Thornton | 2016-02-22 | 2 | -1/+34 |
| | | |||||
| * | require C++11. C++0x is on its way out... | Kevin R. Thornton | 2016-02-22 | 1 | -1/+1 |
| | | |||||
| * | add C++11 default_delete. update unique_ptr to take default | Kevin R. Thornton | 2016-02-22 | 1 | -1/+3 |
| | | | | | | | | template argument | ||||
| * | Merge remote-tracking branch 'upstream/master' | Kevin R. Thornton | 2016-02-22 | 42 | -269/+573 |
| |\ | |||||
| * \ | Merge pull request #2 from cython/master | Kevin R. Thornton | 2015-12-02 | 39 | -144/+663 |
| |\ \ | | | | | | | | | Merge upstream | ||||
* | \ \ | Merge pull request #458 from memeplex/feat/pubattrs | Robert Bradshaw | 2016-03-10 | 2 | -5/+20 |
|\ \ \ \ | | | | | | | | | | | Add visibility kwarg to cython.declare. | ||||
| * | | | | Add visibility kwarg to cython.declare. | memeplex | 2015-10-24 | 2 | -5/+20 |
| | | | | | |||||
* | | | | | Merge pull request #487 from zyv/smart-pointer-factories | Robert Bradshaw | 2016-03-10 | 1 | -0/+6 |
|\ \ \ \ \ | | | | | | | | | | | | | Add declarations for C++11/14 smart pointer factories (make_shared & make_unique) | ||||
| * | | | | | Add declarations for C++11/14 smart pointer factories (make_shared & ↵ | Yury V. Zaytsev | 2016-02-10 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | make_unique) Signed-off-by: Yury V. Zaytsev <yury.zaytsev@traveltainment.de> | ||||
* | | | | | | Minor doc clarification. | Robert Bradshaw | 2016-03-10 | 1 | -3/+3 |
| | | | | | | |||||
* | | | | | | Merge pull request #497 from adityapb/master | Robert Bradshaw | 2016-03-05 | 1 | -1/+1 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | DOCS: Fix typo | ||||
| * | | | | | | Fix typo | Aditya Bhosale | 2016-03-06 | 1 | -1/+1 |
|/ / / / / / | |||||
* | | | | | | Merge pull request #495 from insertinterestingnamehere/const_args | Robert Bradshaw | 2016-03-04 | 3 | -1/+13 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | Don't error out when non-const value is passed as const function parameter | ||||
| * | | | | | | Add tests for passing a non const variable as a const qualified | Ian Henriksen | 2016-03-03 | 1 | -0/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | function parameter. | ||||
| * | | | | | | Don't error out when non-const value is passed as a const specified | Ian Henriksen | 2016-03-03 | 2 | -1/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | parameter to a function. When function arguments are marked as const, this means that the function should not modify them, not that non-const arguments are not allowed. This also fixes a test that began failing because this change resulted in a slightly different error message when conversion to a const qualified argument is not possible. | ||||
* | | | | | | | remove typo | Stefan Behnel | 2016-03-04 | 1 | -1/+1 |
| | | | | | | | |||||
* | | | | | | | Merge pull request #496 from insertinterestingnamehere/msvc_warning | Robert Bradshaw | 2016-03-03 | 1 | -1/+1 |
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | Silence a warning about applying unary minus to an unsigned integer | ||||
| * | | | | | | Silence a warning about applying unary minus to an unsigned integer | Ian Henriksen | 2016-03-03 | 1 | -1/+1 |
|/ / / / / / | | | | | | | | | | | | | | | | | | | with MSVC. | ||||
* | | | | | | Merge pull request #494 from Nikratio/bugfix2 | scoder | 2016-02-29 | 0 | -0/+0 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | __Pyx_PyInt_TrueDivideObjC: switch comparison order | ||||
| * | | | | | | __Pyx_PyInt_TrueDivideObjC: switch comparison order | Nikolaus Rath | 2016-02-29 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current order results in compiler warnings on 32 bit machines, e.g. src/llfuse.c: In function '__Pyx_PyInt_TrueDivideObjC': src/llfuse.c:43980:17: warning: left shift count >= width of type if (8 * sizeof(long) <= 53 || (__Pyx_sst_abs(size) <= 52 / PyLong_SHIFT) || likely(labs(a) <= (1L << 53))) { Switching the order so that the left shift is closer to the sizeof test avoids the warning, presumably because it makes it easier for the compiler to see that the left shift is only executed on 64 bit. Thanks to Christian Neukirchen for doing most of the work! | ||||
* | | | | | | | Merge pull request #493 from Nikratio/master | scoder | 2016-02-29 | 2 | -2/+3 |
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | | | FROM_PY_FUNCTION: Cast to sdigit after unary minus, not before | ||||
| * | | | | | | __Pyx_PyInt_TrueDivideObjC: switch comparison order | Nikolaus Rath | 2016-02-29 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current order results in compiler warnings on 32 bit machines, e.g. src/llfuse.c: In function '__Pyx_PyInt_TrueDivideObjC': src/llfuse.c:43980:17: warning: left shift count >= width of type if (8 * sizeof(long) <= 53 || (__Pyx_sst_abs(size) <= 52 / PyLong_SHIFT) || likely(labs(a) <= (1L << 53))) { Switching the order so that the left shift is closer to the sizeof test avoids the warning, presumably because it makes it easier for the compiler to see that the left shift is only executed on 64 bit. Thanks to Christian Neukirchen for doing most of the work! | ||||
| * | | | | | | FROM_PY_FUNCTION: Cast to sdigit after unary minus, not before | Nikolaus Rath | 2016-02-29 | 1 | -1/+1 |
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current cast isn't doing anything, because the unary minus implicitly upcasts to int again, resulting in warnings about potentially value altering conversions on 32 bit systems. Fixes issue #877. | ||||
* | | | | | | Fix compiled Parsing.py | Robert Bradshaw | 2016-02-21 | 1 | -0/+1 |
| | | | | | | |||||
* | | | | | | Merge pull request #419 from marscher/fix_setuptools_extension_type_check | Robert Bradshaw | 2016-02-21 | 1 | -2/+14 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | [Build/Dependencies] added a comparision for setuptools.Extension class | ||||
| * | | | | | | use only one call to isinstanceof | Martin K. Scherer | 2015-12-05 | 1 | -1/+1 |
| | | | | | | | |||||
| * | | | | | | do not import setuptools | marscher | 2015-11-18 | 1 | -3/+3 |
| | | | | | | |