cython.git
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

14 years agoAdding reminders to self
Dag Sverre Seljebotn [Thu, 15 Oct 2009 08:07:37 +0000 (10:07 +0200)]
Adding reminders to self

14 years ago#412 testcase
Dag Sverre Seljebotn [Thu, 15 Oct 2009 08:01:27 +0000 (10:01 +0200)]
#412 testcase

14 years agonaming references changed from 'option' to 'directive'
Peter Alexander [Thu, 15 Oct 2009 07:47:42 +0000 (03:47 -0400)]
naming references changed from 'option' to 'directive'

14 years agoTestcase for 304
Dag Sverre Seljebotn [Thu, 15 Oct 2009 07:18:37 +0000 (09:18 +0200)]
Testcase for 304

14 years agoTestcase for #373
Dag Sverre Seljebotn [Thu, 15 Oct 2009 07:14:33 +0000 (09:14 +0200)]
Testcase for #373

14 years agoTestcase for #245
Dag Sverre Seljebotn [Thu, 15 Oct 2009 07:05:08 +0000 (09:05 +0200)]
Testcase for #245

14 years agomerge
Dag Sverre Seljebotn [Thu, 15 Oct 2009 06:20:44 +0000 (08:20 +0200)]
merge

14 years agonumpy.pxd: Iterator macros
Dag Sverre Seljebotn [Thu, 15 Oct 2009 06:08:59 +0000 (08:08 +0200)]
numpy.pxd: Iterator macros

14 years agoFix error in hashing partially-declared types.
Robert Bradshaw [Thu, 15 Oct 2009 05:34:58 +0000 (22:34 -0700)]
Fix error in hashing partially-declared types.

14 years agoNew test for #409
Robert Bradshaw [Thu, 15 Oct 2009 05:19:15 +0000 (22:19 -0700)]
New test for #409

14 years agoFix bug #409 with temps and sequence unpacking.
Robert Bradshaw [Thu, 15 Oct 2009 05:06:59 +0000 (22:06 -0700)]
Fix bug #409 with temps and sequence unpacking.

14 years agofix for changes in PyXXXDescrObject structures in upcoming Py3.2
Lisandro Dalcin [Wed, 14 Oct 2009 23:12:10 +0000 (20:12 -0300)]
fix for changes in PyXXXDescrObject structures in upcoming Py3.2

14 years agoPublic module C-API is broken under Python 3.2 (ticket #407)
Lisandro Dalcin [Wed, 14 Oct 2009 21:45:46 +0000 (18:45 -0300)]
Public module C-API is broken under Python 3.2 (ticket #407)

--HG--
extra : rebase_source : b760de58ec941046c86e5ecadb5afc4c56d9ddaa

14 years agoautodict richcmp test
Robert Bradshaw [Thu, 15 Oct 2009 19:49:20 +0000 (12:49 -0700)]
autodict richcmp test

14 years agoAnother blacklisted autotestdict method.
Robert Bradshaw [Thu, 15 Oct 2009 19:47:38 +0000 (12:47 -0700)]
Another blacklisted autotestdict method.

14 years agoIncomplete hack for autotestdict, see #387
Dag Sverre Seljebotn [Thu, 15 Oct 2009 19:28:41 +0000 (21:28 +0200)]
Incomplete hack for autotestdict, see #387

14 years agofix testcase to silent compiler warnings
Lisandro Dalcin [Wed, 14 Oct 2009 21:22:16 +0000 (18:22 -0300)]
fix testcase to silent compiler warnings

14 years agofix for distutils changes in upcoming Py2.7 and Py3.2
Lisandro Dalcin [Wed, 14 Oct 2009 21:11:17 +0000 (18:11 -0300)]
fix for distutils changes in upcoming Py2.7 and Py3.2

14 years agoRefNanny: renaming of internal stuff and simpler import/export API
Lisandro Dalcin [Wed, 14 Oct 2009 20:40:05 +0000 (17:40 -0300)]
RefNanny: renaming of internal stuff and simpler import/export API

14 years agofix for unittest changes in upcoming Py2.7 and Py3.2
Lisandro Dalcin [Wed, 14 Oct 2009 18:57:48 +0000 (15:57 -0300)]
fix for unittest changes in upcoming Py2.7 and Py3.2

14 years agofix new .pxd file and cimport it in python.pxd
Stefan Behnel [Wed, 14 Oct 2009 14:03:10 +0000 (16:03 +0200)]
fix new .pxd file and cimport it in python.pxd

14 years agoPyCObject C-API declarations
Stefan Behnel [Wed, 14 Oct 2009 13:59:18 +0000 (15:59 +0200)]
PyCObject C-API declarations

14 years agomerge
Stefan Behnel [Wed, 14 Oct 2009 11:49:18 +0000 (13:49 +0200)]
merge

14 years agosafer way to initialise string constants: keep bytes/str/unicode separated also in...
Stefan Behnel [Wed, 14 Oct 2009 11:31:27 +0000 (13:31 +0200)]
safer way to initialise string constants: keep bytes/str/unicode separated also in corner cases

14 years agofix nice_identifier regex
Stefan Behnel [Wed, 14 Oct 2009 09:48:27 +0000 (11:48 +0200)]
fix nice_identifier regex

14 years agofix identifier handling: must not use encoding
Stefan Behnel [Wed, 14 Oct 2009 09:46:38 +0000 (11:46 +0200)]
fix identifier handling: must not use encoding

14 years agofix ticket #346
Stefan Behnel [Tue, 13 Oct 2009 18:05:21 +0000 (20:05 +0200)]
fix ticket #346

14 years agoSeamless C99/C++ complex numbers support (ticket #398)
Lisandro Dalcin [Tue, 13 Oct 2009 14:20:37 +0000 (11:20 -0300)]
Seamless C99/C++ complex numbers support (ticket #398)

14 years agosmall refactoring and cleanup in try-except code generation
Stefan Behnel [Mon, 12 Oct 2009 11:48:15 +0000 (13:48 +0200)]
small refactoring and cleanup in try-except code generation

14 years agocleanup
Stefan Behnel [Mon, 12 Oct 2009 11:30:49 +0000 (13:30 +0200)]
cleanup

14 years agofix PyString_CheckExact definition in Py3, minor cleanup
Stefan Behnel [Mon, 12 Oct 2009 07:03:21 +0000 (09:03 +0200)]
fix PyString_CheckExact definition in Py3, minor cleanup

14 years agodo not check identifiers for decodability
Stefan Behnel [Sun, 11 Oct 2009 08:38:53 +0000 (10:38 +0200)]
do not check identifiers for decodability

14 years agotest fix after str changes
Stefan Behnel [Sun, 11 Oct 2009 08:32:16 +0000 (10:32 +0200)]
test fix after str changes

14 years agofix builtins after identifier changes
Stefan Behnel [Sun, 11 Oct 2009 08:26:56 +0000 (10:26 +0200)]
fix builtins after identifier changes

14 years agofix identifiers, simplify Python string cnames
Stefan Behnel [Sun, 11 Oct 2009 08:23:28 +0000 (10:23 +0200)]
fix identifiers, simplify Python string cnames

14 years agosafety fix
Stefan Behnel [Sun, 11 Oct 2009 07:59:44 +0000 (09:59 +0200)]
safety fix

14 years agoimplement proper encoding support for new str literals
Stefan Behnel [Sun, 11 Oct 2009 07:28:43 +0000 (09:28 +0200)]
implement proper encoding support for new str literals

14 years agodisable coercion from str->bytes, fix coercion from str->object
Stefan Behnel [Sat, 10 Oct 2009 19:45:42 +0000 (21:45 +0200)]
disable coercion from str->bytes, fix coercion from str->object

14 years agofix undefined symbol in Py<2.6 when assigning to bytes variables
Stefan Behnel [Sat, 10 Oct 2009 16:34:19 +0000 (18:34 +0200)]
fix undefined symbol in Py<2.6 when assigning to bytes variables

14 years agotest fixes
Stefan Behnel [Sat, 10 Oct 2009 15:06:02 +0000 (17:06 +0200)]
test fixes

14 years agofix char* coercion to other C types (such as void*)
Stefan Behnel [Sat, 10 Oct 2009 15:05:42 +0000 (17:05 +0200)]
fix char* coercion to other C types (such as void*)

14 years agoerror reporting on string type coercion
Stefan Behnel [Sat, 10 Oct 2009 14:50:31 +0000 (16:50 +0200)]
error reporting on string type coercion

14 years agoprovide 'str' type in Builtins.py
Stefan Behnel [Sat, 10 Oct 2009 13:46:35 +0000 (15:46 +0200)]
provide 'str' type in Builtins.py

14 years agoenable cleanup code generation in test runner
Stefan Behnel [Sat, 10 Oct 2009 11:32:02 +0000 (13:32 +0200)]
enable cleanup code generation in test runner

14 years agomerge
Stefan Behnel [Sat, 10 Oct 2009 11:28:30 +0000 (13:28 +0200)]
merge