cython.git
17 years agocythonise new Parsing.py functions
Stefan Behnel [Sun, 3 May 2009 20:07:29 +0000 (22:07 +0200)]
cythonise new Parsing.py functions

17 years agoclean up imports
Stefan Behnel [Sun, 3 May 2009 20:06:15 +0000 (22:06 +0200)]
clean up imports

17 years agofix compilation of Parsing.py
Stefan Behnel [Sun, 3 May 2009 19:39:50 +0000 (21:39 +0200)]
fix compilation of Parsing.py

17 years agomerge with latest cython-unstable
Stefan Behnel [Sun, 3 May 2009 18:55:12 +0000 (20:55 +0200)]
merge with latest cython-unstable

17 years agomerge in latest cython-devel
Stefan Behnel [Sun, 3 May 2009 17:50:31 +0000 (19:50 +0200)]
merge in latest cython-devel

17 years agoremoved various invalid syntax combinations for the c(p)def statement (#280)
Stefan Behnel [Sun, 3 May 2009 17:47:48 +0000 (19:47 +0200)]
removed various invalid syntax combinations for the c(p)def statement (#280)

17 years agomerge in latest cython-devel
Stefan Behnel [Sun, 3 May 2009 17:04:31 +0000 (19:04 +0200)]
merge in latest cython-devel

17 years agofix pyregr tests in test runner
Stefan Behnel [Sun, 3 May 2009 16:39:52 +0000 (18:39 +0200)]
fix pyregr tests in test runner

17 years agofix pyregr tests in test runner
Stefan Behnel [Sun, 3 May 2009 16:39:52 +0000 (18:39 +0200)]
fix pyregr tests in test runner

--HG--
extra : transplant_source : k%B8%5E%E3%E2%AF%8C%14%1D%CF%F7%CE%97%F1%8B%E2%D4%B0mT

17 years agofix ref-counting for recursive closures:
Stefan Behnel [Sun, 3 May 2009 11:33:41 +0000 (13:33 +0200)]
fix ref-counting for recursive closures:
outer scope ref is initialised exactly once on creation and decref-cleared only by scope cleanup (i.e. the inner closure owns the parent reference)

17 years agotest typed lambda expressions
Stefan Behnel [Sun, 3 May 2009 11:09:52 +0000 (13:09 +0200)]
test typed lambda expressions

17 years agofix parser grammar for lambdas in lambdas
Stefan Behnel [Sun, 3 May 2009 11:04:56 +0000 (13:04 +0200)]
fix parser grammar for lambdas in lambdas

17 years agolambda expressions
Stefan Behnel [Sun, 3 May 2009 10:58:09 +0000 (12:58 +0200)]
lambda expressions

17 years agomissing type cast
Stefan Behnel [Thu, 30 Apr 2009 18:11:08 +0000 (20:11 +0200)]
missing type cast

17 years agomerge
Stefan Behnel [Thu, 30 Apr 2009 16:44:47 +0000 (18:44 +0200)]
merge

17 years agofix test
Stefan Behnel [Thu, 30 Apr 2009 16:42:30 +0000 (18:42 +0200)]
fix test

17 years agoextended test output
Stefan Behnel [Thu, 30 Apr 2009 16:23:58 +0000 (18:23 +0200)]
extended test output

17 years agodon't loose outer closure scope while we still need it
Stefan Behnel [Thu, 30 Apr 2009 16:23:32 +0000 (18:23 +0200)]
don't loose outer closure scope while we still need it

17 years agoenable working closure test case
Stefan Behnel [Thu, 30 Apr 2009 16:10:54 +0000 (18:10 +0200)]
enable working closure test case

17 years agoenable closure test cases that no longer segfault
Stefan Behnel [Thu, 30 Apr 2009 15:58:42 +0000 (17:58 +0200)]
enable closure test cases that no longer segfault

17 years agocopy function arguments into closure also when no conversion is needed
Stefan Behnel [Thu, 30 Apr 2009 15:53:55 +0000 (17:53 +0200)]
copy function arguments into closure also when no conversion is needed

17 years agomerge
Stefan Behnel [Thu, 30 Apr 2009 15:15:58 +0000 (17:15 +0200)]
merge

17 years agoavoid redundant initialisation of closure variables with None/NULL
Stefan Behnel [Thu, 30 Apr 2009 15:15:44 +0000 (17:15 +0200)]
avoid redundant initialisation of closure variables with None/NULL

17 years agomerge in cython-unstable
Robert Bradshaw [Thu, 30 Apr 2009 07:53:44 +0000 (00:53 -0700)]
merge in cython-unstable

17 years agomerge
Stefan Behnel [Wed, 29 Apr 2009 19:54:06 +0000 (21:54 +0200)]
merge

17 years agoextended closure test case, more bug analysis
Stefan Behnel [Wed, 29 Apr 2009 19:50:13 +0000 (21:50 +0200)]
extended closure test case, more bug analysis

17 years agocleanup
Stefan Behnel [Wed, 29 Apr 2009 19:10:33 +0000 (21:10 +0200)]
cleanup

17 years agofix refnanny for closure variable assignments
Stefan Behnel [Wed, 29 Apr 2009 17:53:23 +0000 (19:53 +0200)]
fix refnanny for closure variable assignments

17 years agomore closure tests
Stefan Behnel [Wed, 29 Apr 2009 17:48:49 +0000 (19:48 +0200)]
more closure tests

17 years agoextended closure test cases
Stefan Behnel [Tue, 28 Apr 2009 20:38:19 +0000 (22:38 +0200)]
extended closure test cases

17 years agoremoved now working error test case
Stefan Behnel [Tue, 28 Apr 2009 19:45:38 +0000 (21:45 +0200)]
removed now working error test case

17 years agocompiler directive to control METH_O and METH_NOARGS flags (ticket #295)
Lisandro Dalcin [Tue, 28 Apr 2009 13:25:43 +0000 (10:25 -0300)]
compiler directive to control METH_O and METH_NOARGS flags (ticket #295)

17 years agoWhoops, committed debug code. Undoing.
Dag Sverre Seljebotn [Tue, 28 Apr 2009 13:02:54 +0000 (15:02 +0200)]
Whoops, committed debug code. Undoing.

17 years agoSimple fix for #155
Dag Sverre Seljebotn [Tue, 28 Apr 2009 13:02:09 +0000 (15:02 +0200)]
Simple fix for #155

17 years agorenamed to correct ticket number
Stefan Behnel [Sun, 26 Apr 2009 06:09:47 +0000 (08:09 +0200)]
renamed to correct ticket number

--HG--
rename : tests/run/tupleunpack_Thmm.pyx => tests/run/tupleunpack_T298.pyx

17 years agoFix tuple unpacking bug (related to old temps)
Dag Sverre Seljebotn [Sat, 25 Apr 2009 18:58:37 +0000 (20:58 +0200)]
Fix tuple unpacking bug (related to old temps)

17 years agomerge
Stefan Behnel [Fri, 24 Apr 2009 17:45:05 +0000 (19:45 +0200)]
merge

17 years agomake sure we do not compile (for now) in Py3
Stefan Behnel [Fri, 24 Apr 2009 17:44:10 +0000 (19:44 +0200)]
make sure we do not compile (for now) in Py3

17 years agoPy3: fix import of Cython.Compiler.Version in setup.py
Stefan Behnel [Fri, 24 Apr 2009 11:38:19 +0000 (13:38 +0200)]
Py3: fix import of Cython.Compiler.Version in setup.py

17 years agouse lib2to3 to port to Py3 on installation
Stefan Behnel [Fri, 24 Apr 2009 11:34:02 +0000 (13:34 +0200)]
use lib2to3 to port to Py3 on installation

17 years agofix indentation
Stefan Behnel [Fri, 24 Apr 2009 09:53:57 +0000 (11:53 +0200)]
fix indentation

17 years agofix some 'python2.6 -3' warnings
Stefan Behnel [Fri, 24 Apr 2009 06:43:55 +0000 (08:43 +0200)]
fix some 'python2.6 -3' warnings

17 years ago#290: whoops
Dag Sverre Seljebotn [Thu, 23 Apr 2009 18:08:25 +0000 (20:08 +0200)]
#290: whoops

17 years agoPacked struct support (#290)
Dag Sverre Seljebotn [Thu, 23 Apr 2009 18:03:36 +0000 (20:03 +0200)]
Packed struct support (#290)

17 years agoclosure cleanup, test
Robert Bradshaw [Thu, 23 Apr 2009 10:56:04 +0000 (03:56 -0700)]
closure cleanup, test

17 years agoArbitrary nested closure support.
Robert Bradshaw [Thu, 23 Apr 2009 10:25:07 +0000 (03:25 -0700)]
Arbitrary nested closure support.

17 years agoFirst pass at closures
Robert Bradshaw [Thu, 23 Apr 2009 10:24:19 +0000 (03:24 -0700)]
First pass at closures

17 years agomerge cython-devel
Robert Bradshaw [Thu, 23 Apr 2009 10:07:03 +0000 (03:07 -0700)]
merge cython-devel

17 years agoInput from Mark Lodato on embedding
Robert Bradshaw [Thu, 23 Apr 2009 06:52:46 +0000 (23:52 -0700)]
Input from Mark Lodato on embedding

17 years agomore complete embedded mode (trac 291)
Robert Bradshaw [Wed, 22 Apr 2009 02:43:22 +0000 (19:43 -0700)]
more complete embedded mode (trac 291)

17 years ago__name__ == "__main__" for embedded modules
Robert Bradshaw [Tue, 21 Apr 2009 09:11:16 +0000 (02:11 -0700)]
__name__ == "__main__" for embedded modules

17 years agoembedding example
Robert Bradshaw [Tue, 21 Apr 2009 09:10:19 +0000 (02:10 -0700)]
embedding example

Windows fixing needs help

17 years agoEmbed flag for Cython modules
Robert Bradshaw [Tue, 21 Apr 2009 08:38:25 +0000 (01:38 -0700)]
Embed flag for Cython modules

17 years agomerge
Stefan Behnel [Sat, 18 Apr 2009 19:49:28 +0000 (21:49 +0200)]
merge

17 years agoPyrex -> Cython
Stefan Behnel [Sat, 18 Apr 2009 07:21:13 +0000 (09:21 +0200)]
Pyrex -> Cython

17 years agochange usage of global variable '__pyx_modulename' in favor of a macro '__Pyx_MODULE_...
Lisandro Dalcin [Fri, 17 Apr 2009 16:46:07 +0000 (13:46 -0300)]
change usage of global variable '__pyx_modulename' in favor of a macro '__Pyx_MODULE_NAME'

17 years agomake '__pyx_modulename' have static storage in generated C code
Lisandro Dalcin [Fri, 17 Apr 2009 16:11:23 +0000 (13:11 -0300)]
make '__pyx_modulename' have static storage in generated C code

17 years agofix test case
Stefan Behnel [Fri, 17 Apr 2009 07:11:16 +0000 (09:11 +0200)]
fix test case

17 years agofix test case
Stefan Behnel [Fri, 17 Apr 2009 07:11:16 +0000 (09:11 +0200)]
fix test case

17 years agomerge
Stefan Behnel [Fri, 17 Apr 2009 07:04:33 +0000 (09:04 +0200)]
merge

17 years agomark bug test for T284 as failing
Stefan Behnel [Fri, 17 Apr 2009 05:54:40 +0000 (07:54 +0200)]
mark bug test for T284 as failing

17 years agoadded test case for T284
Stefan Behnel [Fri, 17 Apr 2009 05:52:53 +0000 (07:52 +0200)]
added test case for T284

17 years agomove stuff out of tests/bugs directory
Robert Bradshaw [Fri, 17 Apr 2009 02:10:51 +0000 (19:10 -0700)]
move stuff out of tests/bugs directory

--HG--
rename : tests/bugs/bad_c_struct_T252.pyx => tests/compile/bad_c_struct_T252.pyx
rename : tests/bugs/pxd_override_T230.pxd => tests/compile/pxd_override_T230.pxd
rename : tests/bugs/pxd_override_T230.py => tests/compile/pxd_override_T230.py
rename : tests/bugs/missing_baseclass_in_predecl_T262.pyx => tests/errors/missing_baseclass_in_predecl_T262.pyx
rename : tests/bugs/return_outside_function_T135.pyx => tests/errors/return_outside_function_T135.pyx
rename : tests/bugs/builtin_types_none_T166.pyx => tests/run/builtin_types_none_T166.pyx
rename : tests/bugs/char_constants_T99.pyx => tests/run/char_constants_T99.pyx
rename : tests/bugs/class_attribute_init_values_T18.pyx => tests/run/class_attribute_init_values_T18.pyx
rename : tests/bugs/ext_instance_type_T232.pyx => tests/run/ext_instance_type_T232.pyx
rename : tests/bugs/funcexc_iter_T228.pyx => tests/run/funcexc_iter_T228.pyx
rename : tests/bugs/ifelseexpr_T267.pyx => tests/run/ifelseexpr_T267.pyx
rename : tests/bugs/large_consts_T237.pyx => tests/run/large_consts_T237.pyx
rename : tests/bugs/methodmangling_T5.pyx => tests/run/methodmangling_T5.pyx
rename : tests/bugs/numpy_ValueError_T172.pyx => tests/run/numpy_ValueError_T172.pyx
rename : tests/bugs/unsignedbehaviour_T184.pyx => tests/run/unsignedbehaviour_T184.pyx

17 years agoUse bugs list instead of bugs directory.
Robert Bradshaw [Fri, 17 Apr 2009 02:08:19 +0000 (19:08 -0700)]
Use bugs list instead of bugs directory.

17 years agoVersion 0.11.1
Robert Bradshaw [Thu, 16 Apr 2009 07:52:32 +0000 (00:52 -0700)]
Version 0.11.1

17 years agoAdded tag 0.11.1 for changeset 6454db601984
Robert Bradshaw [Thu, 16 Apr 2009 07:52:25 +0000 (00:52 -0700)]
Added tag 0.11.1 for changeset 6454db601984

17 years agoModify test for T158 as warnings, not errors, are raised. 0.11.1
Robert Bradshaw [Thu, 16 Apr 2009 07:51:59 +0000 (00:51 -0700)]
Modify test for T158 as warnings, not errors, are raised.

17 years agoMove fixed ticket tests to testing directories.
Robert Bradshaw [Thu, 16 Apr 2009 07:37:02 +0000 (00:37 -0700)]
Move fixed ticket tests to testing directories.

--HG--
rename : tests/bugs/weakref_T276.pyx => tests/compile/weakref_T276.pyx
rename : tests/bugs/c_int_types_T255.pyx => tests/run/c_int_types_T255.pyx

17 years agoMove T252 back to bugs until it is fixed.
Robert Bradshaw [Thu, 16 Apr 2009 07:33:25 +0000 (00:33 -0700)]
Move T252 back to bugs until it is fixed.

--HG--
rename : tests/compile/bad_c_struct_T252.pyx => tests/bugs/bad_c_struct_T252.pyx

17 years agoProper nogil checks for buffer access
Dag Sverre Seljebotn [Wed, 15 Apr 2009 19:44:01 +0000 (21:44 +0200)]
Proper nogil checks for buffer access

17 years agoFix T284, cdef list setitem
Robert Bradshaw [Sat, 18 Apr 2009 08:02:12 +0000 (01:02 -0700)]
Fix T284, cdef list setitem

17 years agoAdd warning in situations where command line directive behaviour will change in 0.12
Dag Sverre Seljebotn [Wed, 15 Apr 2009 14:15:37 +0000 (16:15 +0200)]
Add warning in situations where command line directive behaviour will change in 0.12

17 years agoDeprecation warning for -X switch
Dag Sverre Seljebotn [Wed, 15 Apr 2009 20:03:27 +0000 (22:03 +0200)]
Deprecation warning for -X switch

17 years agoRequire GIL for pythonic division, check for division overflow
Robert Bradshaw [Wed, 15 Apr 2009 07:27:57 +0000 (00:27 -0700)]
Require GIL for pythonic division, check for division overflow

17 years ago0.11.1 release candidate
Robert Bradshaw [Tue, 14 Apr 2009 23:17:22 +0000 (16:17 -0700)]
0.11.1 release candidate

17 years agocdivision - raise zero division errors
Robert Bradshaw [Tue, 14 Apr 2009 22:12:47 +0000 (15:12 -0700)]
cdivision - raise zero division errors

17 years agofix error when Lexicon source file cannot be open (Cython inside a ZIP file)
Lisandro Dalcin [Tue, 14 Apr 2009 20:39:38 +0000 (17:39 -0300)]
fix error when Lexicon source file cannot be open (Cython inside a ZIP file)

17 years agoremoved unused import of ComprehensionTransform (which doesn't work anyway)
Stefan Behnel [Tue, 14 Apr 2009 05:42:51 +0000 (07:42 +0200)]
removed unused import of ComprehensionTransform (which doesn't work anyway)

17 years agofix compile time constants in array size declarations (e.g. int a[enum_val+1])
Stefan Behnel [Fri, 10 Apr 2009 19:21:02 +0000 (21:21 +0200)]
fix compile time constants in array size declarations (e.g. int a[enum_val+1])

17 years agoremoved unused code and outdated comment
Stefan Behnel [Fri, 10 Apr 2009 18:50:48 +0000 (20:50 +0200)]
removed unused code and outdated comment

17 years agofix compiler crash - but not the underlying problem (see comments in #144)
Stefan Behnel [Fri, 10 Apr 2009 07:18:27 +0000 (09:18 +0200)]
fix compiler crash - but not the underlying problem (see comments in #144)

17 years ago0.11.1.beta
Robert Bradshaw [Fri, 10 Apr 2009 07:12:34 +0000 (00:12 -0700)]
0.11.1.beta

17 years agoAdded tag 0.11.1.beta for changeset 7bc36a0f8172
Robert Bradshaw [Fri, 10 Apr 2009 07:12:27 +0000 (00:12 -0700)]
Added tag 0.11.1.beta for changeset 7bc36a0f8172

17 years agofix compiler crash in function cimport code
Stefan Behnel [Fri, 10 Apr 2009 07:06:56 +0000 (09:06 +0200)]
fix compiler crash in function cimport code

17 years agofix compiler crash on mangled ctypedef names
Stefan Behnel [Fri, 10 Apr 2009 07:04:21 +0000 (09:04 +0200)]
fix compiler crash on mangled ctypedef names

17 years agoenabled now working test case
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

17 years agoextended test case
Stefan Behnel [Fri, 10 Apr 2009 06:56:37 +0000 (08:56 +0200)]
extended test case

17 years agorefactored 'starred' status into a separate node to support syntax error handling...
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

17 years agofix error test
Stefan Behnel [Thu, 9 Apr 2009 10:54:09 +0000 (12:54 +0200)]
fix error test

17 years agomerge with latest cython-devel
Stefan Behnel [Thu, 9 Apr 2009 10:52:20 +0000 (12:52 +0200)]
merge with latest cython-devel

17 years agofix for normal assignments to a non-sequence LHS
Stefan Behnel [Thu, 9 Apr 2009 10:51:50 +0000 (12:51 +0200)]
fix for normal assignments to a non-sequence LHS

17 years agofeature complete implementation of PEP 3132
Stefan Behnel [Thu, 9 Apr 2009 10:07:50 +0000 (12:07 +0200)]
feature complete implementation of PEP 3132

17 years agofix some compiler errors
Stefan Behnel [Thu, 9 Apr 2009 06:27:57 +0000 (08:27 +0200)]
fix some compiler errors

17 years agomerge
Stefan Behnel [Wed, 8 Apr 2009 04:38:56 +0000 (06:38 +0200)]
merge

17 years agouse a "size_t" integral for casting to "char*" pointer in typecast testcase
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.

17 years agocast result of "sizeof()" to "int" in testcase, silents GCC warnings about signed...
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

17 years agoparser support for PEP 3132 (extended iterable unpacking)
Stefan Behnel [Tue, 7 Apr 2009 18:57:06 +0000 (20:57 +0200)]
parser support for PEP 3132 (extended iterable unpacking)

17 years agofix temp allocation when importing external C functions
Stefan Behnel [Tue, 7 Apr 2009 13:56:49 +0000 (15:56 +0200)]
fix temp allocation when importing external C functions

17 years agore-enable friendly exception traces
Stefan Behnel [Tue, 7 Apr 2009 09:18:11 +0000 (11:18 +0200)]
re-enable friendly exception traces

17 years agodeclare standard C functions 'nogil'
Stefan Behnel [Tue, 7 Apr 2009 08:58:56 +0000 (10:58 +0200)]
declare standard C functions 'nogil'