Stefan Behnel [Fri, 13 Mar 2009 22:24:36 +0000 (23:24 +0100)]
support interdependencies between utility code fragments
Stefan Behnel [Fri, 13 Mar 2009 12:45:28 +0000 (13:45 +0100)]
major cleanup to fix Py3 code issues (found by 2to3 and 'python2.6 -3')
Stefan Behnel [Fri, 13 Mar 2009 09:02:52 +0000 (10:02 +0100)]
use new-style classes everywhere to prevent unexpected obstacles in getting 2to3 clean
Stefan Behnel [Thu, 12 Mar 2009 19:24:28 +0000 (20:24 +0100)]
some more cythonisation in Plex scanner classes (15% faster for lxml)
Stefan Behnel [Thu, 12 Mar 2009 15:41:16 +0000 (16:41 +0100)]
cleanup: use new-style classes in PyrexTypes
Stefan Behnel [Wed, 11 Mar 2009 16:35:00 +0000 (17:35 +0100)]
merge
Stefan Behnel [Wed, 11 Mar 2009 16:34:43 +0000 (17:34 +0100)]
prevent parser syntax from allowing 'cdef cpdef ...'
Lisandro Dalcin [Wed, 11 Mar 2009 13:36:55 +0000 (11:36 -0200)]
fix typecast testcase, int and pointer have different sizes in 64 bits
Robert Bradshaw [Wed, 11 Mar 2009 11:47:40 +0000 (04:47 -0700)]
Release Candidate 3
Robert Bradshaw [Wed, 11 Mar 2009 11:46:53 +0000 (04:46 -0700)]
merge
Robert Bradshaw [Wed, 11 Mar 2009 11:46:33 +0000 (04:46 -0700)]
More indexing tests
Robert Bradshaw [Wed, 11 Mar 2009 11:41:37 +0000 (04:41 -0700)]
Less hacky fast c int indexing.
Stefan Behnel [Wed, 11 Mar 2009 09:26:38 +0000 (10:26 +0100)]
better error message
Stefan Behnel [Tue, 10 Mar 2009 20:06:41 +0000 (21:06 +0100)]
remove unused code
Stefan Behnel [Tue, 10 Mar 2009 19:49:48 +0000 (20:49 +0100)]
fix (Py_s)size_t as argument type by removing old code that depended on PyArg_ParseTupleAndKeywords()
Robert Bradshaw [Tue, 10 Mar 2009 17:41:14 +0000 (10:41 -0700)]
Release Candidate 2
Stefan Behnel [Tue, 10 Mar 2009 17:13:13 +0000 (18:13 +0100)]
set up numpy include directories in test runner when running test scripts (by Lisandro)
Stefan Behnel [Tue, 10 Mar 2009 09:21:26 +0000 (10:21 +0100)]
fix inclusion of package data files
Robert Bradshaw [Tue, 10 Mar 2009 02:47:11 +0000 (19:47 -0700)]
merge
Robert Bradshaw [Tue, 10 Mar 2009 02:46:44 +0000 (19:46 -0700)]
Better error reporting in pyxbuild
Stefan Behnel [Mon, 9 Mar 2009 19:10:52 +0000 (20:10 +0100)]
add missing files to MANIFEST.in
Stefan Behnel [Sun, 8 Mar 2009 13:18:27 +0000 (14:18 +0100)]
test case for ticket #18
Stefan Behnel [Sun, 8 Mar 2009 13:10:09 +0000 (14:10 +0100)]
test case for ticket #99
Stefan Behnel [Sun, 8 Mar 2009 12:53:37 +0000 (13:53 +0100)]
tests for T165 and T156
Stefan Behnel [Sun, 8 Mar 2009 12:42:46 +0000 (13:42 +0100)]
extended test case to also cover ticket #6
Robert Bradshaw [Sun, 8 Mar 2009 08:57:04 +0000 (00:57 -0800)]
release candidate
Robert Bradshaw [Sun, 8 Mar 2009 08:56:53 +0000 (00:56 -0800)]
Added tag 0.11.rc for changeset
838a6b7cae62
Stefan Behnel [Sun, 8 Mar 2009 07:36:41 +0000 (08:36 +0100)]
use function pointer arguments in import/export api functions (by Lisandro)
Lisandro Dalcin [Sun, 8 Mar 2009 00:33:39 +0000 (21:33 -0300)]
get rid of the few usages of strcmp(), now replaced with utility inline function __Pyx_StrEq()
Robert Bradshaw [Sat, 7 Mar 2009 23:31:11 +0000 (15:31 -0800)]
another warning avoidance
Robert Bradshaw [Sat, 7 Mar 2009 23:30:53 +0000 (15:30 -0800)]
Better cpdef override check (use method in C API rather than strcmp).
Robert Bradshaw [Sat, 7 Mar 2009 21:05:11 +0000 (13:05 -0800)]
Enable @locals for methods (ctx is c_class_pxd, not class_pxd)
Robert Bradshaw [Sat, 7 Mar 2009 20:58:05 +0000 (12:58 -0800)]
re-instate @cython.locals in pxd
Lisandro Dalcin [Fri, 6 Mar 2009 20:57:07 +0000 (18:57 -0200)]
cleanup unused exception class and some fixes for better runtime behavior in refnanny support module
Lisandro Dalcin [Fri, 6 Mar 2009 20:33:55 +0000 (18:33 -0200)]
Fix warning when __Pyx_Print is not used
Stefan Behnel [Tue, 3 Mar 2009 19:44:15 +0000 (20:44 +0100)]
work-around to fix ticket #228 at least work in Py2.x, while still preventing crashes in Py3
Stefan Behnel [Tue, 3 Mar 2009 19:43:13 +0000 (20:43 +0100)]
fix test case
Stefan Behnel [Tue, 3 Mar 2009 17:56:09 +0000 (18:56 +0100)]
test case for ticket #228
Stefan Behnel [Tue, 3 Mar 2009 17:42:58 +0000 (18:42 +0100)]
fix Cython compilation after cdef-locals change
Robert Bradshaw [Mon, 2 Mar 2009 19:20:48 +0000 (11:20 -0800)]
merge
Stefan Behnel [Mon, 2 Mar 2009 14:18:02 +0000 (15:18 +0100)]
prevent generating empty code section during vtable setup
Stefan Behnel [Sun, 1 Mar 2009 20:37:07 +0000 (21:37 +0100)]
enabled test for working ticket
--HG--
rename : tests/bugs/cdef_bool_T227.pyx => tests/run/cdef_bool_T227.pyx
Stefan Behnel [Sun, 1 Mar 2009 20:25:20 +0000 (21:25 +0100)]
reverted rev 1786 as it breaks strict aliasing
Stefan Behnel [Sun, 1 Mar 2009 19:59:01 +0000 (20:59 +0100)]
fix ticket #227: type check for bool is called PyBool_Check, not CheckExact
Stefan Behnel [Sun, 1 Mar 2009 19:50:15 +0000 (20:50 +0100)]
test case for ticket 227
Robert Bradshaw [Sun, 1 Mar 2009 12:23:50 +0000 (04:23 -0800)]
Fix warning when __Pyx_PrintOne not used.
Robert Bradshaw [Sun, 1 Mar 2009 12:12:46 +0000 (04:12 -0800)]
Fix bug in cdef locals
Robert Bradshaw [Sun, 1 Mar 2009 11:06:24 +0000 (03:06 -0800)]
change syntax for Cython's pxd
Robert Bradshaw [Sun, 1 Mar 2009 11:04:37 +0000 (03:04 -0800)]
decorators for cdef functions, remove strange pxd locals syntax
Stefan Behnel [Sat, 28 Feb 2009 17:08:03 +0000 (18:08 +0100)]
comments
Stefan Behnel [Sat, 28 Feb 2009 16:50:39 +0000 (17:50 +0100)]
faster unpacking of optional arguments (10-20%): finding interned strings in a dict is faster than iterating
Stefan Behnel [Sat, 28 Feb 2009 07:48:31 +0000 (08:48 +0100)]
Py3 test fixes
Stefan Behnel [Sat, 28 Feb 2009 07:43:22 +0000 (08:43 +0100)]
fix vtable type casting in Py3 to support strict aliasing
Robert Bradshaw [Fri, 27 Feb 2009 08:22:20 +0000 (00:22 -0800)]
Optimize negative indexing.
Robert Bradshaw [Fri, 27 Feb 2009 08:15:57 +0000 (00:15 -0800)]
Optimize indexing for -1 case.
Stefan Behnel [Fri, 27 Feb 2009 07:35:02 +0000 (08:35 +0100)]
merge
Stefan Behnel [Fri, 27 Feb 2009 07:32:15 +0000 (08:32 +0100)]
fix GCC warnings
Stefan Behnel [Fri, 27 Feb 2009 07:28:49 +0000 (08:28 +0100)]
let's generate some code for Cython :)
Robert Bradshaw [Fri, 27 Feb 2009 07:25:55 +0000 (23:25 -0800)]
Wrap likely() expressions individually in indexing code.
Robert Bradshaw [Fri, 27 Feb 2009 06:35:25 +0000 (22:35 -0800)]
merge
Robert Bradshaw [Fri, 27 Feb 2009 06:35:00 +0000 (22:35 -0800)]
more branch avoidance
Robert Bradshaw [Fri, 27 Feb 2009 06:25:55 +0000 (22:25 -0800)]
Fix to handle None or fast tuple/list indexing.
Stefan Behnel [Fri, 27 Feb 2009 05:34:39 +0000 (06:34 +0100)]
merge
Robert Bradshaw [Thu, 26 Feb 2009 23:55:04 +0000 (15:55 -0800)]
Optimize printing of one object.
Robert Bradshaw [Thu, 26 Feb 2009 23:08:44 +0000 (15:08 -0800)]
Optimized indexing for tuple, list types.
Robert Bradshaw [Thu, 26 Feb 2009 23:07:27 +0000 (15:07 -0800)]
Test for indexing
Robert Bradshaw [Thu, 26 Feb 2009 22:05:53 +0000 (14:05 -0800)]
Create new c file to play better with hard links (Trac #220)
Stefan Behnel [Thu, 26 Feb 2009 10:41:15 +0000 (11:41 +0100)]
function type casting patch for c-imported/exported functions and ISO C (by Lisandro)
Robert Bradshaw [Thu, 26 Feb 2009 08:38:33 +0000 (00:38 -0800)]
Fix memleak in try-continue
Robert Bradshaw [Thu, 26 Feb 2009 07:48:44 +0000 (23:48 -0800)]
Another test for try-break.
Robert Bradshaw [Thu, 26 Feb 2009 07:44:24 +0000 (23:44 -0800)]
Fix leak in try-break.
Robert Bradshaw [Thu, 26 Feb 2009 05:53:51 +0000 (21:53 -0800)]
merge
Robert Bradshaw [Thu, 26 Feb 2009 05:13:06 +0000 (21:13 -0800)]
Test for typed from...import
Robert Bradshaw [Thu, 26 Feb 2009 05:12:49 +0000 (21:12 -0800)]
Fix type conversion for from...import statement.
Robert Bradshaw [Wed, 25 Feb 2009 20:27:05 +0000 (12:27 -0800)]
merge
Robert Bradshaw [Wed, 25 Feb 2009 20:25:16 +0000 (12:25 -0800)]
Avoid crashes in refnanny when PyFinalize gets messy, Sage now exits cleanly.
Stefan Behnel [Wed, 25 Feb 2009 12:25:47 +0000 (13:25 +0100)]
fix default arguments for C89 (based on patch by Lisandro)
Robert Bradshaw [Wed, 25 Feb 2009 09:58:59 +0000 (01:58 -0800)]
Another fix to #include ordering
Lisandro Dalcin [Wed, 25 Feb 2009 00:31:02 +0000 (21:31 -0300)]
fix reference leak in the capi export function, add testcase
Stefan Behnel [Tue, 24 Feb 2009 15:58:23 +0000 (16:58 +0100)]
fix test case
Stefan Behnel [Tue, 24 Feb 2009 13:32:57 +0000 (14:32 +0100)]
do not use refnanny in module cleanup code
Stefan Behnel [Tue, 24 Feb 2009 13:28:11 +0000 (14:28 +0100)]
merge
Stefan Behnel [Tue, 24 Feb 2009 13:27:40 +0000 (14:27 +0100)]
clean up ref-counting for default arguments (by Lisandro)
Lisandro Dalcin [Mon, 23 Feb 2009 21:04:54 +0000 (19:04 -0200)]
merge
Stefan Behnel [Mon, 23 Feb 2009 21:04:18 +0000 (22:04 +0100)]
actually, don't call generate_post_assignment_code, as we already used generate_evaluation_code
Lisandro Dalcin [Mon, 23 Feb 2009 21:01:58 +0000 (19:01 -0200)]
merge
Lisandro Dalcin [Mon, 23 Feb 2009 21:01:10 +0000 (19:01 -0200)]
do not nullify imported extension types at module cleanup
Stefan Behnel [Mon, 23 Feb 2009 20:54:40 +0000 (21:54 +0100)]
enable test case in Py3
Stefan Behnel [Mon, 23 Feb 2009 20:54:30 +0000 (21:54 +0100)]
do it right this time: call generate_post_assignment_code
Stefan Behnel [Mon, 23 Feb 2009 20:42:43 +0000 (21:42 +0100)]
merge and fixes
Stefan Behnel [Mon, 23 Feb 2009 20:17:17 +0000 (21:17 +0100)]
revert offending NumPy test changes
Lisandro Dalcin [Mon, 23 Feb 2009 20:05:13 +0000 (18:05 -0200)]
fix ref-counting & cleanup and add testcase for function default argument values
Stefan Behnel [Sun, 22 Feb 2009 18:57:19 +0000 (19:57 +0100)]
re-enable refnanny in Py3
Stefan Behnel [Sun, 22 Feb 2009 18:57:11 +0000 (19:57 +0100)]
make pyxbuild.py Py3 compatible with .c compile fallback if Cython import fails
Stefan Behnel [Sun, 22 Feb 2009 12:11:03 +0000 (13:11 +0100)]
preparing a function default argument needs a GIVEREF
Stefan Behnel [Sun, 22 Feb 2009 12:00:01 +0000 (13:00 +0100)]
use __Pyx_DOCSTR() and __Pyx_NAMESTR() for module docstring and name
Stefan Behnel [Sun, 22 Feb 2009 11:14:24 +0000 (12:14 +0100)]
fix ref-counting for the module object in the module init function
Stefan Behnel [Sun, 22 Feb 2009 11:12:59 +0000 (12:12 +0100)]
fix leaking classmethods in cdef classes
Stefan Behnel [Sun, 22 Feb 2009 10:24:54 +0000 (11:24 +0100)]
enable refnanny for module init function (by Lisandro)
Stefan Behnel [Sat, 21 Feb 2009 23:18:20 +0000 (00:18 +0100)]
minor consistency fix