cython.git
14 years agonumpy.pxd: fix typo PyArray_ISISCONTIGUOUS
Mark Lodato [Fri, 16 Oct 2009 23:28:49 +0000 (19:28 -0400)]
numpy.pxd: fix typo PyArray_ISISCONTIGUOUS

14 years agoapplied pyximport patch from ticket 312
Stefan Behnel [Fri, 23 Oct 2009 16:56:48 +0000 (18:56 +0200)]
applied pyximport patch from ticket 312

14 years agofix cascade order of assignments for complete assignments within parallel assignments
Stefan Behnel [Fri, 23 Oct 2009 13:53:24 +0000 (15:53 +0200)]
fix cascade order of assignments for complete assignments within parallel assignments

14 years agomore .pxd cleanups
Stefan Behnel [Fri, 23 Oct 2009 13:39:32 +0000 (15:39 +0200)]
more .pxd cleanups

--HG--
rename : Cython/Includes/python_string.pxd => Cython/Includes/python_bytes.pxd
rename : Cython/Includes/python_parse.pxd => Cython/Includes/python_getargs.pxd

14 years agofix bug 409: use cascaded assignments also for the complete rhs when optimising paral...
Stefan Behnel [Fri, 23 Oct 2009 08:10:14 +0000 (10:10 +0200)]
fix bug 409: use cascaded assignments also for the complete rhs when optimising parallel assignments

14 years agoFix #250, Traceback method name is wrong for exceptions caught in methods
Robert Bradshaw [Fri, 23 Oct 2009 06:21:40 +0000 (23:21 -0700)]
Fix #250, Traceback method name is wrong for exceptions caught in methods

14 years agoFix ticket #215, explicit error for __getslice__, __delslice__ in Py3.
Robert Bradshaw [Fri, 23 Oct 2009 05:39:44 +0000 (22:39 -0700)]
Fix ticket #215, explicit error for __getslice__, __delslice__ in Py3.

14 years agofix in-place division in Py3
Stefan Behnel [Thu, 22 Oct 2009 20:34:15 +0000 (22:34 +0200)]
fix in-place division in Py3

14 years agoAnnotation work.
Robert Bradshaw [Thu, 22 Oct 2009 20:20:11 +0000 (13:20 -0700)]
Annotation work.

14 years agoRemove backwards incompatable change to string identifiers.
Robert Bradshaw [Thu, 22 Oct 2009 19:06:11 +0000 (12:06 -0700)]
Remove backwards incompatable change to string identifiers.

14 years agoanother merge
Robert Bradshaw [Thu, 22 Oct 2009 10:27:16 +0000 (03:27 -0700)]
another merge

14 years agoCpp exception tests.
Robert Bradshaw [Thu, 22 Oct 2009 10:15:34 +0000 (03:15 -0700)]
Cpp exception tests.

14 years agoFix cpp exception catching.
Robert Bradshaw [Thu, 22 Oct 2009 09:50:29 +0000 (02:50 -0700)]
Fix cpp exception catching.

14 years agoReturn value for check_const.
Robert Bradshaw [Thu, 22 Oct 2009 09:50:11 +0000 (02:50 -0700)]
Return value for check_const.

14 years agomerge
Stefan Behnel [Thu, 22 Oct 2009 09:26:16 +0000 (11:26 +0200)]
merge

14 years agofix intern() optimisation
Stefan Behnel [Thu, 22 Oct 2009 09:24:48 +0000 (11:24 +0200)]
fix intern() optimisation

14 years agoFix casts and negations in except clauses.
Robert Bradshaw [Thu, 22 Oct 2009 09:17:13 +0000 (02:17 -0700)]
Fix casts and negations in except clauses.

14 years agoMore cmp tests, refix C assignable types.
Robert Bradshaw [Thu, 22 Oct 2009 06:39:02 +0000 (23:39 -0700)]
More cmp tests, refix C assignable types.

14 years agomerge
Robert Bradshaw [Thu, 22 Oct 2009 06:20:22 +0000 (23:20 -0700)]
merge

14 years agoMore comparison fixes.
Robert Bradshaw [Thu, 22 Oct 2009 06:18:20 +0000 (23:18 -0700)]
More comparison fixes.

14 years agotiny cleanup
Stefan Behnel [Thu, 22 Oct 2009 06:12:32 +0000 (08:12 +0200)]
tiny cleanup

14 years agoFix comparison type deduction.
Robert Bradshaw [Thu, 22 Oct 2009 05:34:50 +0000 (22:34 -0700)]
Fix comparison type deduction.

14 years agomerge
Robert Bradshaw [Thu, 22 Oct 2009 04:25:36 +0000 (21:25 -0700)]
merge

14 years agoFix #431, intern() doesn't work for python strings with 0 characters.
Robert Bradshaw [Thu, 22 Oct 2009 04:25:12 +0000 (21:25 -0700)]
Fix #431, intern() doesn't work for python strings with 0 characters.

14 years agocleanup
Stefan Behnel [Wed, 21 Oct 2009 19:54:00 +0000 (21:54 +0200)]
cleanup

14 years agofix bug 430: make 'locals().items()' work
Stefan Behnel [Wed, 21 Oct 2009 19:44:42 +0000 (21:44 +0200)]
fix bug 430: make 'locals().items()' work

14 years agotest fixes
Stefan Behnel [Wed, 21 Oct 2009 19:43:53 +0000 (21:43 +0200)]
test fixes

14 years agofix bug 429: make 'locals' builtin overridable
Stefan Behnel [Wed, 21 Oct 2009 19:30:39 +0000 (21:30 +0200)]
fix bug 429: make 'locals' builtin overridable

14 years agonew test case for locals()
Stefan Behnel [Wed, 21 Oct 2009 18:47:08 +0000 (20:47 +0200)]
new test case for locals()

14 years agoextended test case
Stefan Behnel [Wed, 21 Oct 2009 18:43:30 +0000 (20:43 +0200)]
extended test case

14 years agotest case for locals(), ticket 429
Stefan Behnel [Wed, 21 Oct 2009 13:57:41 +0000 (15:57 +0200)]
test case for locals(), ticket 429

14 years agoextended test case
Stefan Behnel [Wed, 21 Oct 2009 10:09:05 +0000 (12:09 +0200)]
extended test case

14 years agodetect optimisable IndexNodes assignments in ref-count optimisation, but do not activ...
Stefan Behnel [Wed, 21 Oct 2009 09:55:08 +0000 (11:55 +0200)]
detect optimisable IndexNodes assignments in ref-count optimisation, but do not activate them for now

14 years agoPreliminary scons support (in Tools dir)
Dag Sverre Seljebotn [Wed, 21 Oct 2009 08:31:53 +0000 (10:31 +0200)]
Preliminary scons support (in Tools dir)

14 years agohandle simple swap assignments without ref-counting
Stefan Behnel [Tue, 20 Oct 2009 20:31:39 +0000 (22:31 +0200)]
handle simple swap assignments without ref-counting

14 years agocomments
Stefan Behnel [Tue, 20 Oct 2009 19:36:58 +0000 (21:36 +0200)]
comments

14 years agofix switch transform
Stefan Behnel [Tue, 20 Oct 2009 19:16:12 +0000 (21:16 +0200)]
fix switch transform

14 years agomerge
Stefan Behnel [Tue, 20 Oct 2009 19:09:11 +0000 (21:09 +0200)]
merge

14 years agoanother rewrite to catch comparisons of invalid types
Stefan Behnel [Tue, 20 Oct 2009 19:08:24 +0000 (21:08 +0200)]
another rewrite to catch comparisons of invalid types

14 years agoextended test case
Stefan Behnel [Tue, 20 Oct 2009 19:06:22 +0000 (21:06 +0200)]
extended test case

14 years agoextended test case
Stefan Behnel [Tue, 20 Oct 2009 19:02:54 +0000 (21:02 +0200)]
extended test case

14 years agoextended test case
Stefan Behnel [Tue, 20 Oct 2009 18:08:57 +0000 (20:08 +0200)]
extended test case

14 years agodon't allow pointer assignments to Python variables (except for char*)
Stefan Behnel [Tue, 20 Oct 2009 18:08:31 +0000 (20:08 +0200)]
don't allow pointer assignments to Python variables (except for char*)

14 years agotest simplification
Stefan Behnel [Tue, 20 Oct 2009 18:06:22 +0000 (20:06 +0200)]
test simplification

14 years agoFix for buffer testcase (s must be bytes, not unicode)
Dag Sverre Seljebotn [Tue, 20 Oct 2009 08:46:09 +0000 (10:46 +0200)]
Fix for buffer testcase (s must be bytes, not unicode)

14 years agoBlacklist __nonzero__ from autotestdict
Dag Sverre Seljebotn [Tue, 20 Oct 2009 08:37:13 +0000 (10:37 +0200)]
Blacklist __nonzero__ from autotestdict

14 years agonumpy.pxd: npy_complexX should be the C structs used by C NumPy, not Cython complex
Dag Sverre Seljebotn [Tue, 20 Oct 2009 08:23:01 +0000 (10:23 +0200)]
numpy.pxd: npy_complexX should be the C structs used by C NumPy, not Cython complex

14 years agomerge
Dag Sverre Seljebotn [Tue, 20 Oct 2009 08:06:41 +0000 (10:06 +0200)]
merge

14 years agoFix z.conjugate() for typedef-ed z; disallow external typedef complex
Dag Sverre Seljebotn [Tue, 20 Oct 2009 08:06:09 +0000 (10:06 +0200)]
Fix z.conjugate() for typedef-ed z; disallow external typedef complex

14 years agofind common type for comparisons *before* coercing operands, to prevent inconsistent...
Stefan Behnel [Mon, 19 Oct 2009 10:14:12 +0000 (12:14 +0200)]
find common type for comparisons *before* coercing operands, to prevent inconsistent types and loosing type information

14 years agoPy3 test fixes
Stefan Behnel [Sun, 18 Oct 2009 17:37:13 +0000 (19:37 +0200)]
Py3 test fixes

14 years agofix default string value representation in auto-embedded signatures
Stefan Behnel [Sun, 18 Oct 2009 17:31:53 +0000 (19:31 +0200)]
fix default string value representation in auto-embedded signatures

14 years agoenable working test
Stefan Behnel [Sun, 18 Oct 2009 16:25:34 +0000 (18:25 +0200)]
enable working test

14 years agofix source comments for non-ASCII characters
Stefan Behnel [Sun, 18 Oct 2009 15:58:18 +0000 (17:58 +0200)]
fix source comments for non-ASCII characters

14 years agotest case cleanup
Stefan Behnel [Sun, 18 Oct 2009 12:52:43 +0000 (14:52 +0200)]
test case cleanup

14 years agonew test case for reraising exceptions
Stefan Behnel [Sun, 18 Oct 2009 12:42:50 +0000 (14:42 +0200)]
new test case for reraising exceptions

14 years agoPython calls SetTraceback() later, so should we
Stefan Behnel [Sun, 18 Oct 2009 12:01:08 +0000 (14:01 +0200)]
Python calls SetTraceback() later, so should we

14 years agofix memory leak in new exception raising code
Stefan Behnel [Sun, 18 Oct 2009 11:30:34 +0000 (13:30 +0200)]
fix memory leak in new exception raising code

14 years agorefactoring of exception raising code, simpler/faster/correcter code for reraising...
Stefan Behnel [Sun, 18 Oct 2009 10:30:21 +0000 (12:30 +0200)]
refactoring of exception raising code, simpler/faster/correcter code for reraising exceptions, separate implementation for Py3, minor fixes for error cases

14 years agoPy2 test fixes
Stefan Behnel [Sat, 17 Oct 2009 21:29:50 +0000 (23:29 +0200)]
Py2 test fixes

14 years agoavoid redundant recoding during code comment injection by configuring input codec...
Stefan Behnel [Sat, 17 Oct 2009 20:52:16 +0000 (22:52 +0200)]
avoid redundant recoding during code comment injection by configuring input codec directly

14 years agofix bug 412: str char comparison, refactoring to move comparison coercions closer...
Stefan Behnel [Sat, 17 Oct 2009 20:34:28 +0000 (22:34 +0200)]
fix bug 412: str char comparison, refactoring to move comparison coercions closer in the code

14 years agofix test case in C++
Stefan Behnel [Sat, 17 Oct 2009 12:33:20 +0000 (14:33 +0200)]
fix test case in C++

14 years agosome test fixes
Robert Bradshaw [Sat, 17 Oct 2009 09:04:04 +0000 (02:04 -0700)]
some test fixes

14 years agoBetter error for foo(*args) when foo a cdef function.
Robert Bradshaw [Sat, 17 Oct 2009 07:25:11 +0000 (00:25 -0700)]
Better error for foo(*args) when foo a cdef function.

14 years agosimple test for testing truth of C values
Stefan Behnel [Fri, 16 Oct 2009 22:35:18 +0000 (00:35 +0200)]
simple test for testing truth of C values

14 years agomerge
Stefan Behnel [Fri, 16 Oct 2009 11:51:20 +0000 (13:51 +0200)]
merge

14 years agomore .pxd signature fixing
Stefan Behnel [Fri, 16 Oct 2009 11:38:03 +0000 (13:38 +0200)]
more .pxd signature fixing

14 years agoYet another bugfix for autotestdict
Dag Sverre Seljebotn [Fri, 16 Oct 2009 11:31:53 +0000 (13:31 +0200)]
Yet another bugfix for autotestdict

14 years agoUpdate a testcase
Dag Sverre Seljebotn [Fri, 16 Oct 2009 11:21:32 +0000 (13:21 +0200)]
Update a testcase

14 years agoFix Parsing.py so it compiles with Cython
Dag Sverre Seljebotn [Fri, 16 Oct 2009 11:20:15 +0000 (13:20 +0200)]
Fix Parsing.py so it compiles with Cython

14 years agoFix #418 (wrong error message)
Dag Sverre Seljebotn [Fri, 16 Oct 2009 11:14:22 +0000 (13:14 +0200)]
Fix #418 (wrong error message)

14 years agoAnother utility code order fix
Dag Sverre Seljebotn [Fri, 16 Oct 2009 10:21:11 +0000 (12:21 +0200)]
Another utility code order fix

14 years agomerge
Dag Sverre Seljebotn [Fri, 16 Oct 2009 10:19:07 +0000 (12:19 +0200)]
merge

14 years agoEven more helpful error message (use bytes?)
Dag Sverre Seljebotn [Fri, 16 Oct 2009 10:18:10 +0000 (12:18 +0200)]
Even more helpful error message (use bytes?)

14 years agoFix complex number utitity code order (sometimes they would come out in wrong order)
Dag Sverre Seljebotn [Fri, 16 Oct 2009 10:09:32 +0000 (12:09 +0200)]
Fix complex number utitity code order (sometimes they would come out in wrong order)

14 years agomerge
Stefan Behnel [Fri, 16 Oct 2009 09:51:55 +0000 (11:51 +0200)]
merge

14 years agofixed various declarations in shipped .pxd files
Stefan Behnel [Fri, 16 Oct 2009 09:50:17 +0000 (11:50 +0200)]
fixed various declarations in shipped .pxd files

14 years agoChange command-line directive behaviour for 0.12
Dag Sverre Seljebotn [Fri, 16 Oct 2009 08:30:31 +0000 (10:30 +0200)]
Change command-line directive behaviour for 0.12

14 years agocleanup
Stefan Behnel [Thu, 15 Oct 2009 14:58:31 +0000 (16:58 +0200)]
cleanup

14 years agonew ndarray.base setter/getter functions by Neal Becker
Stefan Behnel [Thu, 15 Oct 2009 14:34:13 +0000 (16:34 +0200)]
new ndarray.base setter/getter functions by Neal Becker

14 years agofix PyObject declaration
Stefan Behnel [Thu, 15 Oct 2009 14:26:14 +0000 (16:26 +0200)]
fix PyObject declaration

14 years agofix PyObject declaration
Stefan Behnel [Thu, 15 Oct 2009 14:24:09 +0000 (16:24 +0200)]
fix PyObject declaration

14 years agofix PyObject import in numpy.pxd, added ndarray.base attribute declaration
Stefan Behnel [Thu, 15 Oct 2009 14:11:01 +0000 (16:11 +0200)]
fix PyObject import in numpy.pxd, added ndarray.base attribute declaration

14 years agoreenable test forking in test runner
Stefan Behnel [Thu, 15 Oct 2009 14:08:52 +0000 (16:08 +0200)]
reenable test forking in test runner

14 years agomerge
Dag Sverre Seljebotn [Thu, 15 Oct 2009 11:36:27 +0000 (13:36 +0200)]
merge

14 years agoRemove use of TempNode in FromImportStatNode
Dag Sverre Seljebotn [Thu, 15 Oct 2009 11:36:04 +0000 (13:36 +0200)]
Remove use of TempNode in FromImportStatNode

14 years agomerge
Robert Bradshaw [Thu, 15 Oct 2009 11:05:14 +0000 (04:05 -0700)]
merge

14 years agoOnly need simple, don't need to force temp for bool binop nodes.
Robert Bradshaw [Thu, 15 Oct 2009 11:04:26 +0000 (04:04 -0700)]
Only need simple, don't need to force temp for bool binop nodes.

14 years agoFix short-circuit for and/or, preserve type.
Robert Bradshaw [Thu, 15 Oct 2009 10:58:28 +0000 (03:58 -0700)]
Fix short-circuit for and/or, preserve type.

14 years agomerge
Dag Sverre Seljebotn [Thu, 15 Oct 2009 10:56:57 +0000 (12:56 +0200)]
merge

14 years agoRemove TempNode from OverrideCheckNode (fixes #411)
Dag Sverre Seljebotn [Thu, 15 Oct 2009 10:54:48 +0000 (12:54 +0200)]
Remove TempNode from OverrideCheckNode (fixes #411)

14 years agoFix typo in test.
Robert Bradshaw [Thu, 15 Oct 2009 10:39:59 +0000 (03:39 -0700)]
Fix typo in test.

14 years agoshort circut bug test #404
Robert Bradshaw [Thu, 15 Oct 2009 10:01:39 +0000 (03:01 -0700)]
short circut bug test #404

14 years agoAllow explicit casts between object and void*/struct*.
Robert Bradshaw [Thu, 15 Oct 2009 09:43:58 +0000 (02:43 -0700)]
Allow explicit casts between object and void*/struct*.

14 years agoFix #245, crash on cimported struct -> object.
Robert Bradshaw [Thu, 15 Oct 2009 09:00:28 +0000 (02:00 -0700)]
Fix #245, crash on cimported struct -> object.

14 years agomerge
Robert Bradshaw [Thu, 15 Oct 2009 08:42:39 +0000 (01:42 -0700)]
merge

14 years agoTestcase for #411, cpdef temps.
Robert Bradshaw [Thu, 15 Oct 2009 08:42:28 +0000 (01:42 -0700)]
Testcase for #411, cpdef temps.

14 years agoMinor cleanup.
Robert Bradshaw [Thu, 15 Oct 2009 08:41:23 +0000 (01:41 -0700)]
Minor cleanup.

14 years agocomplexvar.conjugate() support
Dag Sverre Seljebotn [Thu, 15 Oct 2009 08:35:20 +0000 (10:35 +0200)]
complexvar.conjugate() support