summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* make test runner exit with non-0 return status on exceptions (this shadowed ↵pep515_underscores_in_numbersStefan Behnel2016-03-201-0/+1
| | | | an actual bug in this branch)
* fix missing attribute error in compiled Cython installationStefan Behnel2016-03-201-0/+1
|
* extend testStefan Behnel2016-03-191-0/+8
|
* extend testStefan Behnel2016-03-191-0/+4
|
* tighten PEP 515 test to make sure the underscore literals have the correct ↵Stefan Behnel2016-03-191-3/+18
| | | | node type
* adapt to stricter version of the CPython implementation (that follows the ↵Stefan Behnel2016-03-193-74/+51
| | | | actual PEP)
* extend tests to include an ambiguity in Python 3.x grammar: "e" for exponent ↵Stefan Behnel2016-03-192-0/+25
| | | | or start of "else"
* Implement PEP 515: allow underscores in number literalsStefan Behnel2016-03-194-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.alpha1Robert Bradshaw2016-03-171-1/+1
|
* Let the span of error types be object again.Robert Bradshaw2016-03-171-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 Behnel2016-03-172-8/+6
| | | | counterparts in PyPy
* fall back to PyMem_Malloc() in PyPy (which doesn't have PyObject_Malloc() ↵Stefan Behnel2016-03-171-0/+8
| | | | and friends)
* Remove deprecated property syntax from MemoryView utility code.Robert Bradshaw2016-03-171-58/+50
|
* Fix error with fused types and optional template params.Robert Bradshaw2016-03-111-1/+1
|
* Bump version to 0.24a00.24a0Robert Bradshaw2016-03-112-12/+3
|
* Merge branch 'molpopgen'Robert Bradshaw2016-03-1010-12/+89
|\
| * Fix for stl conversions with default template params.Robert Bradshaw2016-03-101-4/+14
| |
| * add in MRE for devs to look atKevin R. Thornton2016-02-241-0/+9
| |
| * restore c++0x to make the test pass on older compilers.Kevin R. Thornton2016-02-241-1/+1
| |
| * add default templates to STL containers + rudimentary unit testsKevin R. Thornton2016-02-226-5/+14
| |
| * ok--figured out the culpritKevin R. Thornton2016-02-221-2/+2
| |
| * comment out template members.Kevin R. Thornton2016-02-221-2/+2
| |
| * (crude) addition of std::allocator<T>Kevin R. Thornton2016-02-221-0/+14
| |
| * test of unique_ptr with std::default_delete and a custom deleterKevin R. Thornton2016-02-222-1/+34
| |
| * require C++11. C++0x is on its way out...Kevin R. Thornton2016-02-221-1/+1
| |
| * add C++11 default_delete. update unique_ptr to take defaultKevin R. Thornton2016-02-221-1/+3
| | | | | | | | template argument
| * Merge remote-tracking branch 'upstream/master'Kevin R. Thornton2016-02-2242-269/+573
| |\
| * \ Merge pull request #2 from cython/masterKevin R. Thornton2015-12-0239-144/+663
| |\ \ | | | | | | | | Merge upstream
* | \ \ Merge pull request #458 from memeplex/feat/pubattrsRobert Bradshaw2016-03-102-5/+20
|\ \ \ \ | | | | | | | | | | Add visibility kwarg to cython.declare.
| * | | | Add visibility kwarg to cython.declare.memeplex2015-10-242-5/+20
| | | | |
* | | | | Merge pull request #487 from zyv/smart-pointer-factoriesRobert Bradshaw2016-03-101-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. Zaytsev2016-02-101-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | make_unique) Signed-off-by: Yury V. Zaytsev <yury.zaytsev@traveltainment.de>
* | | | | | Minor doc clarification.Robert Bradshaw2016-03-101-3/+3
| | | | | |
* | | | | | Merge pull request #497 from adityapb/masterRobert Bradshaw2016-03-051-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | DOCS: Fix typo
| * | | | | | Fix typoAditya Bhosale2016-03-061-1/+1
|/ / / / / /
* | | | | | Merge pull request #495 from insertinterestingnamehere/const_argsRobert Bradshaw2016-03-043-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 qualifiedIan Henriksen2016-03-031-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | function parameter.
| * | | | | | Don't error out when non-const value is passed as a const specifiedIan Henriksen2016-03-032-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 typoStefan Behnel2016-03-041-1/+1
| | | | | | |
* | | | | | | Merge pull request #496 from insertinterestingnamehere/msvc_warningRobert Bradshaw2016-03-031-1/+1
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | Silence a warning about applying unary minus to an unsigned integer
| * | | | | | Silence a warning about applying unary minus to an unsigned integerIan Henriksen2016-03-031-1/+1
|/ / / / / / | | | | | | | | | | | | | | | | | | with MSVC.
* | | | | | Merge pull request #494 from Nikratio/bugfix2scoder2016-02-290-0/+0
|\ \ \ \ \ \ | | | | | | | | | | | | | | __Pyx_PyInt_TrueDivideObjC: switch comparison order
| * | | | | | __Pyx_PyInt_TrueDivideObjC: switch comparison orderNikolaus Rath2016-02-291-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/masterscoder2016-02-292-2/+3
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | | FROM_PY_FUNCTION: Cast to sdigit after unary minus, not before
| * | | | | | __Pyx_PyInt_TrueDivideObjC: switch comparison orderNikolaus Rath2016-02-291-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 beforeNikolaus Rath2016-02-291-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.pyRobert Bradshaw2016-02-211-0/+1
| | | | | |
* | | | | | Merge pull request #419 from marscher/fix_setuptools_extension_type_checkRobert Bradshaw2016-02-211-2/+14
|\ \ \ \ \ \ | | | | | | | | | | | | | | [Build/Dependencies] added a comparision for setuptools.Extension class
| * | | | | | use only one call to isinstanceofMartin K. Scherer2015-12-051-1/+1
| | | | | | |
| * | | | | | do not import setuptoolsmarscher2015-11-181-3/+3
| | | | | | |