Stefan Behnel [Fri, 10 Apr 2009 07:06:56 +0000 (09:06 +0200)]
fix compiler crash in function cimport code
Stefan Behnel [Fri, 10 Apr 2009 07:04:21 +0000 (09:04 +0200)]
fix compiler crash on mangled ctypedef names
Stefan Behnel [Fri, 10 Apr 2009 06:57:52 +0000 (08:57 +0200)]
enabled now working test case
--HG--
rename : tests/bugs/extended_unpacking_T235.pyx => tests/run/extended_unpacking_T235.pyx
Stefan Behnel [Fri, 10 Apr 2009 06:56:37 +0000 (08:56 +0200)]
extended test case
Stefan Behnel [Thu, 9 Apr 2009 13:57:56 +0000 (15:57 +0200)]
refactored 'starred' status into a separate node to support syntax error handling outside of assignments
Stefan Behnel [Thu, 9 Apr 2009 10:54:09 +0000 (12:54 +0200)]
fix error test
Stefan Behnel [Thu, 9 Apr 2009 10:52:20 +0000 (12:52 +0200)]
merge with latest cython-devel
Stefan Behnel [Thu, 9 Apr 2009 10:51:50 +0000 (12:51 +0200)]
fix for normal assignments to a non-sequence LHS
Stefan Behnel [Thu, 9 Apr 2009 10:07:50 +0000 (12:07 +0200)]
feature complete implementation of PEP 3132
Stefan Behnel [Thu, 9 Apr 2009 06:27:57 +0000 (08:27 +0200)]
fix some compiler errors
Stefan Behnel [Wed, 8 Apr 2009 04:38:56 +0000 (06:38 +0200)]
merge
Lisandro Dalcin [Tue, 7 Apr 2009 21:22:36 +0000 (18:22 -0300)]
use a "size_t" integral for casting to "char*" pointer in typecast testcase
This silents GCC warnings (in 64 bits) about casting integer to pointer of different size.
Lisandro Dalcin [Tue, 7 Apr 2009 21:05:52 +0000 (18:05 -0300)]
cast result of "sizeof()" to "int" in testcase, silents GCC warnings about signed/unsigned comparisons
Stefan Behnel [Tue, 7 Apr 2009 18:57:06 +0000 (20:57 +0200)]
parser support for PEP 3132 (extended iterable unpacking)
Stefan Behnel [Tue, 7 Apr 2009 13:56:49 +0000 (15:56 +0200)]
fix temp allocation when importing external C functions
Stefan Behnel [Tue, 7 Apr 2009 09:18:11 +0000 (11:18 +0200)]
re-enable friendly exception traces
Stefan Behnel [Tue, 7 Apr 2009 08:58:56 +0000 (10:58 +0200)]
declare standard C functions 'nogil'
Stefan Behnel [Mon, 6 Apr 2009 17:25:15 +0000 (19:25 +0200)]
merge
Stefan Behnel [Mon, 6 Apr 2009 17:13:25 +0000 (19:13 +0200)]
disable some constant folding operations that can break code
Lisandro Dalcin [Mon, 6 Apr 2009 17:08:13 +0000 (14:08 -0300)]
fix bug in __Pyx_SetItemInt_Fast
Robert Bradshaw [Fri, 3 Apr 2009 22:59:21 +0000 (15:59 -0700)]
Include stdexcept in all cases.
Robert Bradshaw [Fri, 3 Apr 2009 22:57:01 +0000 (15:57 -0700)]
Test for cpp exception handling
Robert Bradshaw [Fri, 3 Apr 2009 08:51:19 +0000 (01:51 -0700)]
0.11.1.alpha
Robert Bradshaw [Fri, 3 Apr 2009 08:51:06 +0000 (01:51 -0700)]
Added tag 0.11.1.alpha for changeset
4497f635d5fd
Robert Bradshaw [Fri, 3 Apr 2009 07:34:33 +0000 (00:34 -0700)]
Tests for #230
Robert Bradshaw [Fri, 3 Apr 2009 07:33:16 +0000 (00:33 -0700)]
Fix ticket #230, pxd cdef override for subclass methods
Robert Bradshaw [Fri, 3 Apr 2009 00:39:09 +0000 (17:39 -0700)]
Test for ticket #4, from package cimport module, finish fixing ticket.
Lisandro Dalcin [Fri, 3 Apr 2009 00:23:19 +0000 (21:23 -0300)]
special-case __weakref__ when determining C-safe identifiers (related to #252)
Robert Bradshaw [Thu, 2 Apr 2009 23:45:33 +0000 (16:45 -0700)]
Fix ticket #4, from package cimport module
Robert Bradshaw [Thu, 2 Apr 2009 23:00:08 +0000 (16:00 -0700)]
Add c99 keywords to invalid name list
Robert Bradshaw [Thu, 2 Apr 2009 20:24:04 +0000 (13:24 -0700)]
merge latest cython-devel
(messy, despite transplant)
Dag Sverre Seljebotn [Tue, 31 Mar 2009 21:10:19 +0000 (23:10 +0200)]
Merge of #271 bugfix
Dag Sverre Seljebotn [Tue, 31 Mar 2009 21:07:13 +0000 (23:07 +0200)]
Fix #271
Dag Sverre Seljebotn [Tue, 31 Mar 2009 20:47:36 +0000 (22:47 +0200)]
Remove old temp system
Dag Sverre Seljebotn [Tue, 31 Mar 2009 20:05:55 +0000 (22:05 +0200)]
Move local manual temporaries from env to code
Dag Sverre Seljebotn [Tue, 31 Mar 2009 19:23:35 +0000 (21:23 +0200)]
Remove allocate_temps/release_temps phase
Dag Sverre Seljebotn [Mon, 30 Mar 2009 20:14:31 +0000 (22:14 +0200)]
All exprnodes over; NewTempExprNode folded into ExprNode
Dag Sverre Seljebotn [Mon, 30 Mar 2009 18:58:40 +0000 (20:58 +0200)]
TempNode to new temps (changes its interface was necesarry)
Stefan Behnel [Sun, 29 Mar 2009 19:46:04 +0000 (21:46 +0200)]
None check for optimised dict() call
Stefan Behnel [Sun, 29 Mar 2009 18:55:51 +0000 (20:55 +0200)]
NoneCheckNode to enforce runtime None checks for object references
Stefan Behnel [Sun, 29 Mar 2009 18:44:11 +0000 (20:44 +0200)]
fix GeneralCallNode
Stefan Behnel [Sun, 29 Mar 2009 17:25:38 +0000 (19:25 +0200)]
fix for ticket 232: remember result type when calling an extension type
--HG--
rename : tests/bugs/ext_instance_type_T232.pyx => tests/run/ext_instance_type_T232.pyx
Stefan Behnel [Sun, 29 Mar 2009 17:07:42 +0000 (19:07 +0200)]
forgotten name change
Stefan Behnel [Sun, 29 Mar 2009 16:49:48 +0000 (18:49 +0200)]
debritification
Stefan Behnel [Sun, 29 Mar 2009 16:44:44 +0000 (18:44 +0200)]
merge
Stefan Behnel [Sun, 29 Mar 2009 16:44:04 +0000 (18:44 +0200)]
optimise dict(some_dict) into a call to PyDict_Copy()
Stefan Behnel [Sun, 29 Mar 2009 16:43:32 +0000 (18:43 +0200)]
cleanup and simplification, moved some optimised builtin list methods into the transform to see how it works out
Dag Sverre Seljebotn [Sun, 29 Mar 2009 16:00:15 +0000 (18:00 +0200)]
CondExprNode over to new temps
Dag Sverre Seljebotn [Sun, 29 Mar 2009 15:48:29 +0000 (17:48 +0200)]
merge
Stefan Behnel [Sun, 29 Mar 2009 11:31:32 +0000 (13:31 +0200)]
cleanup
Stefan Behnel [Sun, 29 Mar 2009 11:27:55 +0000 (13:27 +0200)]
general optimisation support for calls to builtin types and their methods
currently providing optimisations for
- getattr(o,a)
- getattr(o,a,d)
- X.append(o)
- L.append(o)
- list.append(L,x)
Dag Sverre Seljebotn [Sun, 29 Mar 2009 10:57:22 +0000 (12:57 +0200)]
IndexNode went smoothly to newtemps
Dag Sverre Seljebotn [Sun, 29 Mar 2009 10:39:15 +0000 (12:39 +0200)]
Guard against the class of bugs which #267 was a member of
Stefan Behnel [Sun, 29 Mar 2009 10:24:01 +0000 (12:24 +0200)]
make import explicit (would be better to avoid the star imports, though)
Dag Sverre Seljebotn [Sun, 29 Mar 2009 10:19:40 +0000 (12:19 +0200)]
merge
Dag Sverre Seljebotn [Sun, 29 Mar 2009 10:19:11 +0000 (12:19 +0200)]
Fix #267
Dag Sverre Seljebotn [Sun, 29 Mar 2009 10:06:06 +0000 (12:06 +0200)]
Fixed error in testcase
Robert Bradshaw [Sun, 29 Mar 2009 01:20:15 +0000 (18:20 -0700)]
Split int/float division cases for efficiency, make it work even if C compiler takes floor (don't know of any that do).
Robert Bradshaw [Sun, 29 Mar 2009 01:02:05 +0000 (18:02 -0700)]
Test (and fix) corner case in C division
Robert Bradshaw [Sat, 28 Mar 2009 20:47:03 +0000 (13:47 -0700)]
test for #183
Robert Bradshaw [Sat, 28 Mar 2009 20:11:40 +0000 (13:11 -0700)]
Fix for #260, float floor div
Robert Bradshaw [Sat, 28 Mar 2009 20:08:20 +0000 (13:08 -0700)]
Test case for #260, floor div on floats
Dag Sverre Seljebotn [Sat, 28 Mar 2009 16:12:56 +0000 (17:12 +0100)]
Testcase for #267
Dag Sverre Seljebotn [Sat, 28 Mar 2009 14:39:26 +0000 (15:39 +0100)]
More easy ones to new temps
Dag Sverre Seljebotn [Sat, 28 Mar 2009 14:09:02 +0000 (15:09 +0100)]
Debug flag to not intercept pipeline exceptions
Dag Sverre Seljebotn [Sat, 28 Mar 2009 14:07:20 +0000 (15:07 +0100)]
DictNode, newtemps and so on
Dag Sverre Seljebotn [Sat, 28 Mar 2009 13:57:19 +0000 (14:57 +0100)]
Remove unused reference to result() in analysis
Dag Sverre Seljebotn [Sat, 28 Mar 2009 11:38:21 +0000 (12:38 +0100)]
ClassNode to new temps
Robert Bradshaw [Sat, 28 Mar 2009 10:02:32 +0000 (03:02 -0700)]
Add trove classifier "Programming Language :: Cython"
Robert Bradshaw [Sat, 28 Mar 2009 09:22:07 +0000 (02:22 -0700)]
Use warnings framework for c division.
Dag Sverre Seljebotn [Sat, 28 Mar 2009 09:20:58 +0000 (10:20 +0100)]
Some trivial nodes to new temps
Robert Bradshaw [Sat, 28 Mar 2009 06:26:39 +0000 (23:26 -0700)]
CDP 516 warnings
Robert Bradshaw [Sat, 28 Mar 2009 02:58:16 +0000 (19:58 -0700)]
Propagate directives in analysis phase.
Robert Bradshaw [Fri, 27 Mar 2009 19:51:09 +0000 (12:51 -0700)]
Add stdexcept when except+ syntax is used.
Stefan Behnel [Fri, 27 Mar 2009 18:09:51 +0000 (19:09 +0100)]
test case for ticket 262
Dag Sverre Seljebotn [Fri, 27 Mar 2009 13:37:43 +0000 (14:37 +0100)]
NameNode to new temps
Robert Bradshaw [Fri, 27 Mar 2009 11:58:21 +0000 (04:58 -0700)]
Remove internal dependancy on included .pxd files
Robert Bradshaw [Fri, 27 Mar 2009 11:26:32 +0000 (04:26 -0700)]
Step towards fixing #252
Stefan Behnel [Thu, 26 Mar 2009 07:06:17 +0000 (08:06 +0100)]
mark the real argument name mangling problem as FIXME, the last fix was more of a work-around
Stefan Behnel [Thu, 26 Mar 2009 06:58:41 +0000 (07:58 +0100)]
fix cdef opt-arg tests: do not double-mangle __pyx_n struct member
Robert Bradshaw [Thu, 26 Mar 2009 06:22:43 +0000 (23:22 -0700)]
cleanup _ERRORS
Robert Bradshaw [Thu, 26 Mar 2009 05:33:50 +0000 (22:33 -0700)]
FIx #252, bad C struct identifiers
Robert Bradshaw [Thu, 26 Mar 2009 04:56:52 +0000 (21:56 -0700)]
CEP 516 in pure mode
Robert Bradshaw [Thu, 26 Mar 2009 04:35:24 +0000 (21:35 -0700)]
merge
Robert Bradshaw [Thu, 26 Mar 2009 04:34:19 +0000 (21:34 -0700)]
merge in latest cython-devel
Robert Bradshaw [Thu, 26 Mar 2009 03:55:14 +0000 (20:55 -0700)]
merge
Robert Bradshaw [Thu, 26 Mar 2009 03:38:19 +0000 (20:38 -0700)]
cython.cdiv and cython.cmod for CEP 516
Robert Bradshaw [Thu, 26 Mar 2009 02:10:09 +0000 (19:10 -0700)]
cdivision pragma as specified for CEP 516
Robert Bradshaw [Thu, 26 Mar 2009 01:58:53 +0000 (18:58 -0700)]
Tests for c division CEP 516
Robert Bradshaw [Thu, 26 Mar 2009 01:25:51 +0000 (18:25 -0700)]
More utility code specialization.
Stefan Behnel [Wed, 25 Mar 2009 23:06:52 +0000 (00:06 +0100)]
merged in latest cython-devel
Stefan Behnel [Wed, 25 Mar 2009 22:55:54 +0000 (23:55 +0100)]
merge
Robert Bradshaw [Wed, 25 Mar 2009 22:54:27 +0000 (15:54 -0700)]
Warning, not error, on builting type redeclaration.
Throwing an error is to invasive for 0.11.x, and also one needs to be able to subclass/access attributes of builtin types before we get rid of the declaration altogether.
Robert Bradshaw [Wed, 25 Mar 2009 22:46:35 +0000 (15:46 -0700)]
Don't have complex as a builtin type (otherwise, can't access its attributes).
Robert Bradshaw [Wed, 25 Mar 2009 22:26:42 +0000 (15:26 -0700)]
merge
Robert Bradshaw [Wed, 25 Mar 2009 22:23:46 +0000 (15:23 -0700)]
better error when user-declared type conflicts with builtin type (#170)
Robert Bradshaw [Wed, 25 Mar 2009 22:00:06 +0000 (15:00 -0700)]
Fix bad self argument crash in cpdef methods (#165)
--HG--
rename : tests/bugs/missing_self_in_cpdef_method_T165.pyx => tests/errors/missing_self_in_cpdef_method_T165.pyx
Robert Bradshaw [Wed, 25 Mar 2009 21:28:06 +0000 (14:28 -0700)]
merge
Robert Bradshaw [Wed, 25 Mar 2009 21:23:29 +0000 (14:23 -0700)]
Fix for #253
--HG--
extra : transplant_source : %9E%5C%97%85%EC%7C%E7%EB%0AZ%8E%1A%B1%C0%1F%14%AA%5B%25R
Robert Bradshaw [Wed, 25 Mar 2009 21:23:29 +0000 (14:23 -0700)]
Fix for #253