cython.git
16 years agosomewhat hackish fix for supporting not() in TreePath - needs to be reconsidered ...
Stefan Behnel [Fri, 18 Sep 2009 13:01:14 +0000 (15:01 +0200)]
somewhat hackish fix for supporting not() in TreePath - needs to be reconsidered ...

16 years agosupport attribute value selection in TreePath
Stefan Behnel [Fri, 18 Sep 2009 06:25:16 +0000 (08:25 +0200)]
support attribute value selection in TreePath

16 years agorolled back accidentally committed files
Stefan Behnel [Fri, 18 Sep 2009 06:16:51 +0000 (08:16 +0200)]
rolled back accidentally committed files

16 years agosimpler test
Stefan Behnel [Fri, 18 Sep 2009 06:08:52 +0000 (08:08 +0200)]
simpler test

16 years agoTreePath implementation for selecting nodes from the code tree
Stefan Behnel [Fri, 18 Sep 2009 06:02:46 +0000 (08:02 +0200)]
TreePath implementation for selecting nodes from the code tree

16 years agotest for T370
Stefan Behnel [Wed, 16 Sep 2009 18:33:20 +0000 (20:33 +0200)]
test for T370

16 years agofix C-API exception setter declarations to let them actually raise the exceptions
Stefan Behnel [Wed, 16 Sep 2009 13:50:00 +0000 (15:50 +0200)]
fix C-API exception setter declarations to let them actually raise the exceptions

16 years agofix C-API exception setter declarations to let them actually raise the exceptions
Stefan Behnel [Wed, 16 Sep 2009 13:50:00 +0000 (15:50 +0200)]
fix C-API exception setter declarations to let them actually raise the exceptions

16 years agoremove redundant transformation run
Stefan Behnel [Tue, 15 Sep 2009 12:26:45 +0000 (14:26 +0200)]
remove redundant transformation run

16 years agoalways optimise tuple(some_list), not only for literals
Stefan Behnel [Tue, 15 Sep 2009 12:12:40 +0000 (14:12 +0200)]
always optimise tuple(some_list), not only for literals

16 years agotest and fix for unicode.encode() transformation
Stefan Behnel [Tue, 15 Sep 2009 11:26:07 +0000 (13:26 +0200)]
test and fix for unicode.encode() transformation

16 years agofix copy+paste bug
Stefan Behnel [Tue, 15 Sep 2009 09:12:31 +0000 (11:12 +0200)]
fix copy+paste bug

16 years agofix merging keyword arguments in compiler directive decorators
Stefan Behnel [Tue, 15 Sep 2009 06:59:58 +0000 (08:59 +0200)]
fix merging keyword arguments in compiler directive decorators

16 years agomerge
Stefan Behnel [Tue, 15 Sep 2009 06:31:51 +0000 (08:31 +0200)]
merge

16 years agoallow splitting compiler annotation decorators as Python only allows 255 args
Stefan Behnel [Tue, 15 Sep 2009 06:31:37 +0000 (08:31 +0200)]
allow splitting compiler annotation decorators as Python only allows 255 args

16 years agomerge
Robert Bradshaw [Tue, 15 Sep 2009 01:56:23 +0000 (18:56 -0700)]
merge

16 years agomerged latest cython-devel
Lisandro Dalcin [Mon, 14 Sep 2009 16:13:16 +0000 (13:13 -0300)]
merged latest cython-devel

16 years agoPy2.3 and eval.h: include C header in proto section of pyexec_utility_code
Lisandro Dalcin [Mon, 14 Sep 2009 16:09:56 +0000 (13:09 -0300)]
Py2.3 and eval.h: include C header in proto section of pyexec_utility_code

16 years agouse iterative control flow graph traversal instead of recursion to prevent stack...
Stefan Behnel [Sun, 13 Sep 2009 10:57:53 +0000 (12:57 +0200)]
use iterative control flow graph traversal instead of recursion to prevent stack overflow

16 years agomerged latest cython-devel
Stefan Behnel [Sat, 12 Sep 2009 16:38:46 +0000 (18:38 +0200)]
merged latest cython-devel

16 years agoPy2.3 does not automatically include eval.h in Python.h
Stefan Behnel [Sat, 12 Sep 2009 16:37:01 +0000 (18:37 +0200)]
Py2.3 does not automatically include eval.h in Python.h

16 years agopartial backport from cython-unstable: keep Python literals from loosing their type...
Stefan Behnel [Sat, 12 Sep 2009 11:58:42 +0000 (13:58 +0200)]
partial backport from cython-unstable: keep Python literals from loosing their type during type analysis

16 years agooptimise unicode.encode() call with constant encoding parameters
Stefan Behnel [Sat, 12 Sep 2009 11:54:49 +0000 (13:54 +0200)]
optimise unicode.encode() call with constant encoding parameters

16 years agomake sure Python strings (and other Python literals) do not loose their type during...
Stefan Behnel [Sat, 12 Sep 2009 11:54:21 +0000 (13:54 +0200)]
make sure Python strings (and other Python literals) do not loose their type during type analysis

16 years agomake sure error reporting doesn't just fail on broken code containin unicode
Stefan Behnel [Sat, 12 Sep 2009 11:11:47 +0000 (13:11 +0200)]
make sure error reporting doesn't just fail on broken code containin unicode

16 years agoPython 3 fixes
Robert Bradshaw [Sat, 12 Sep 2009 02:10:18 +0000 (19:10 -0700)]
Python 3 fixes

16 years agomerge from latest cython-devel
Stefan Behnel [Fri, 11 Sep 2009 21:02:18 +0000 (23:02 +0200)]
merge from latest cython-devel

16 years agosupport conversion between Python byte strings and unsigned char*
Stefan Behnel [Fri, 11 Sep 2009 20:59:36 +0000 (22:59 +0200)]
support conversion between Python byte strings and unsigned char*

16 years agosupport conversion between Python byte strings and unsigned char*
Stefan Behnel [Fri, 11 Sep 2009 20:55:16 +0000 (22:55 +0200)]
support conversion between Python byte strings and unsigned char*

16 years agoenabled working tests
Stefan Behnel [Fri, 11 Sep 2009 19:05:20 +0000 (21:05 +0200)]
enabled working tests

16 years agoenabled working tests
Stefan Behnel [Fri, 11 Sep 2009 19:04:59 +0000 (21:04 +0200)]
enabled working tests

16 years agoenabled working test
Stefan Behnel [Fri, 11 Sep 2009 18:56:22 +0000 (20:56 +0200)]
enabled working test

16 years agoimplemented but disabled test - large C integer constants are left to the users'...
Stefan Behnel [Fri, 11 Sep 2009 18:53:30 +0000 (20:53 +0200)]
implemented but disabled test - large C integer constants are left to the users' care for now

16 years agoenable working test
Stefan Behnel [Fri, 11 Sep 2009 18:22:01 +0000 (20:22 +0200)]
enable working test

16 years agoadded test for ticket 248
Stefan Behnel [Fri, 11 Sep 2009 18:15:16 +0000 (20:15 +0200)]
added test for ticket 248

16 years agoadded test for ticket 248
Stefan Behnel [Fri, 11 Sep 2009 18:15:16 +0000 (20:15 +0200)]
added test for ticket 248

--HG--
rename : tests/broken/cimportfrom.pyx => tests/compile/cimportfrom_T248.pyx

16 years agocdef enums seem to require an analyse_expressions()
Stefan Behnel [Fri, 11 Sep 2009 18:01:09 +0000 (20:01 +0200)]
cdef enums seem to require an analyse_expressions()

16 years agoextended test cases for public enums
Stefan Behnel [Fri, 11 Sep 2009 18:00:09 +0000 (20:00 +0200)]
extended test cases for public enums

16 years agomerge with latest cython-devel
Stefan Behnel [Fri, 11 Sep 2009 17:20:05 +0000 (19:20 +0200)]
merge with latest cython-devel

16 years agoimported patch shrink-int-convert
Robert Bradshaw [Fri, 11 Sep 2009 04:22:34 +0000 (21:22 -0700)]
imported patch shrink-int-convert

16 years agoextern ctypedef integral <-> python object conversion (ticket #333)
Lisandro Dalcin [Thu, 10 Sep 2009 13:50:11 +0000 (10:50 -0300)]
extern ctypedef integral <-> python object conversion (ticket #333)

16 years agoEnable test for T135.
Robert Bradshaw [Fri, 11 Sep 2009 02:58:32 +0000 (19:58 -0700)]
Enable test for T135.

16 years agoTests for operators and templates
Danilo Freitas [Mon, 24 Aug 2009 20:31:31 +0000 (17:31 -0300)]
Tests for operators and templates

16 years agotest fix for Py 3.1.1
Stefan Behnel [Sat, 22 Aug 2009 14:50:28 +0000 (16:50 +0200)]
test fix for Py 3.1.1

16 years agoenable tests in Py3
Stefan Behnel [Sat, 22 Aug 2009 14:17:44 +0000 (16:17 +0200)]
enable tests in Py3

16 years agoPy3 test fix
Stefan Behnel [Fri, 21 Aug 2009 13:39:25 +0000 (15:39 +0200)]
Py3 test fix

16 years agoCython is basically Py3 clean
Stefan Behnel [Fri, 21 Aug 2009 13:27:01 +0000 (15:27 +0200)]
Cython is basically Py3 clean

16 years agoPy2 bytes handling fix
Stefan Behnel [Fri, 21 Aug 2009 13:15:20 +0000 (15:15 +0200)]
Py2 bytes handling fix

16 years agomerged in latest cython-devel
Stefan Behnel [Fri, 21 Aug 2009 12:54:26 +0000 (14:54 +0200)]
merged in latest cython-devel

16 years agofix string typed compiler directives in Py3
Stefan Behnel [Fri, 21 Aug 2009 12:44:50 +0000 (14:44 +0200)]
fix string typed compiler directives in Py3

16 years agofix test that was broken after merge
Stefan Behnel [Fri, 21 Aug 2009 12:33:25 +0000 (14:33 +0200)]
fix test that was broken after merge

16 years agoPy3 test fixes
Stefan Behnel [Fri, 21 Aug 2009 11:59:25 +0000 (13:59 +0200)]
Py3 test fixes

16 years agofix bytes compile time constants in Py3
Stefan Behnel [Fri, 21 Aug 2009 11:59:12 +0000 (13:59 +0200)]
fix bytes compile time constants in Py3

16 years agoPy3 test fix
Stefan Behnel [Fri, 21 Aug 2009 11:41:10 +0000 (13:41 +0200)]
Py3 test fix

16 years agofix struct handling in Py3
Stefan Behnel [Fri, 21 Aug 2009 11:37:57 +0000 (13:37 +0200)]
fix struct handling in Py3

16 years agofix test exclusion
Stefan Behnel [Fri, 21 Aug 2009 11:30:41 +0000 (13:30 +0200)]
fix test exclusion

16 years agodecode included filenames as we can't handle byte encoded filenames in Py3
Stefan Behnel [Fri, 21 Aug 2009 11:12:27 +0000 (13:12 +0200)]
decode included filenames as we can't handle byte encoded filenames in Py3

16 years agominor cleanup
Stefan Behnel [Fri, 21 Aug 2009 11:10:20 +0000 (13:10 +0200)]
minor cleanup

16 years agoPy3 test fixes
Stefan Behnel [Fri, 21 Aug 2009 10:52:18 +0000 (12:52 +0200)]
Py3 test fixes

16 years agoPy3 fix
Stefan Behnel [Fri, 21 Aug 2009 10:42:10 +0000 (12:42 +0200)]
Py3 fix

16 years agoPy3 test fixes
Stefan Behnel [Fri, 21 Aug 2009 10:35:16 +0000 (12:35 +0200)]
Py3 test fixes

16 years agoPy3 test fixes
Stefan Behnel [Fri, 21 Aug 2009 09:47:37 +0000 (11:47 +0200)]
Py3 test fixes

16 years agoexclude incompatible tests under Py3
Stefan Behnel [Fri, 21 Aug 2009 09:26:29 +0000 (11:26 +0200)]
exclude incompatible tests under Py3

16 years agoPy3 encoding fix
Stefan Behnel [Fri, 21 Aug 2009 09:15:33 +0000 (11:15 +0200)]
Py3 encoding fix

16 years agoPy2.x fix after Py3 char fix ;)
Stefan Behnel [Fri, 21 Aug 2009 08:44:15 +0000 (10:44 +0200)]
Py2.x fix after Py3 char fix ;)

16 years agoproperly handle char values (bytes with length 1) in Py3
Stefan Behnel [Fri, 21 Aug 2009 08:32:23 +0000 (10:32 +0200)]
properly handle char values (bytes with length 1) in Py3

16 years agomake sure we do not break encoded scripts when extracting expected error messages...
Stefan Behnel [Fri, 21 Aug 2009 08:20:11 +0000 (10:20 +0200)]
make sure we do not break encoded scripts when extracting expected error messages in runtests.py

16 years agoPy3 fix
Stefan Behnel [Fri, 21 Aug 2009 07:55:43 +0000 (09:55 +0200)]
Py3 fix

16 years agoPy3 fix
Stefan Behnel [Fri, 21 Aug 2009 07:50:05 +0000 (09:50 +0200)]
Py3 fix

16 years agoPy3 fix
Stefan Behnel [Fri, 21 Aug 2009 07:42:01 +0000 (09:42 +0200)]
Py3 fix

16 years agoPy3 unicode fixes
Stefan Behnel [Fri, 21 Aug 2009 07:38:33 +0000 (09:38 +0200)]
Py3 unicode fixes

16 years ago__cmp__() is dead in Py3, ep+lt should be enough though
Stefan Behnel [Fri, 21 Aug 2009 06:41:53 +0000 (08:41 +0200)]
__cmp__() is dead in Py3, ep+lt should be enough though

16 years agoimport Cython as late as possible
Stefan Behnel [Fri, 21 Aug 2009 06:40:59 +0000 (08:40 +0200)]
import Cython as late as possible

16 years agosome fixes in best_match, operators and comparisons
Danilo Freitas [Thu, 20 Aug 2009 23:47:41 +0000 (20:47 -0300)]
some fixes in best_match, operators and comparisons

16 years agoPy3.1 fix
Stefan Behnel [Thu, 20 Aug 2009 20:41:37 +0000 (22:41 +0200)]
Py3.1 fix

16 years agosafe a few cycles (~4%) when calling 'in' on dicts
Stefan Behnel [Thu, 20 Aug 2009 20:19:58 +0000 (22:19 +0200)]
safe a few cycles (~4%) when calling 'in' on dicts

16 years agoextended test cases
Stefan Behnel [Thu, 20 Aug 2009 20:01:21 +0000 (22:01 +0200)]
extended test cases

16 years agofix error message
Stefan Behnel [Thu, 20 Aug 2009 19:56:44 +0000 (21:56 +0200)]
fix error message

16 years agofix error message
Stefan Behnel [Thu, 20 Aug 2009 19:56:44 +0000 (21:56 +0200)]
fix error message

16 years agomerge
Stefan Behnel [Wed, 19 Aug 2009 14:48:49 +0000 (16:48 +0200)]
merge

16 years agoextended exec() implementation, mostly copied from Py3.1
Stefan Behnel [Wed, 19 Aug 2009 14:48:34 +0000 (16:48 +0200)]
extended exec() implementation, mostly copied from Py3.1

16 years agocode object support in exec statement
Andrey Plotnikov [Wed, 19 Aug 2009 06:48:24 +0000 (14:48 +0800)]
code object support in exec statement

16 years agoCreating default constructor if no constructor was declared
Danilo Freitas [Mon, 17 Aug 2009 03:42:35 +0000 (00:42 -0300)]
Creating default constructor if no constructor was declared

16 years agoFix lots of tests errors, all tests pass.
Robert Bradshaw [Sun, 16 Aug 2009 04:26:43 +0000 (21:26 -0700)]
Fix lots of tests errors, all tests pass.

16 years agoWorking stl vector example.
Robert Bradshaw [Sun, 16 Aug 2009 01:40:03 +0000 (18:40 -0700)]
Working stl vector example.

16 years agoWorking stl vector.
Robert Bradshaw [Sun, 16 Aug 2009 01:36:50 +0000 (18:36 -0700)]
Working stl vector.

16 years agofix templating, actually works
Robert Bradshaw [Sun, 16 Aug 2009 00:06:04 +0000 (17:06 -0700)]
fix templating, actually works

16 years agoConsolidate best_match, minor refactoring.
Robert Bradshaw [Thu, 13 Aug 2009 10:20:44 +0000 (03:20 -0700)]
Consolidate best_match, minor refactoring.

16 years agoMore explicit TODOs.
Robert Bradshaw [Thu, 13 Aug 2009 08:12:44 +0000 (01:12 -0700)]
More explicit TODOs.

16 years agoPropagate more type specialization.
Robert Bradshaw [Thu, 13 Aug 2009 08:03:55 +0000 (01:03 -0700)]
Propagate more type specialization.

16 years agoSpecialization of C++ template classes.
Robert Bradshaw [Thu, 13 Aug 2009 07:17:49 +0000 (00:17 -0700)]
Specialization of C++ template classes.

16 years agosmall fix
Danilo Freitas [Tue, 11 Aug 2009 16:02:46 +0000 (13:02 -0300)]
small fix

16 years agoTemplates
Danilo Freitas [Tue, 11 Aug 2009 15:59:51 +0000 (12:59 -0300)]
Templates

16 years agomerge
Stefan Behnel [Sat, 8 Aug 2009 18:58:14 +0000 (20:58 +0200)]
merge

16 years agofix switch transform for in-list tests
Stefan Behnel [Sat, 8 Aug 2009 18:57:44 +0000 (20:57 +0200)]
fix switch transform for in-list tests

16 years agocython_freeze for making stand-alone programs
Mark Lodato [Fri, 7 Aug 2009 04:20:43 +0000 (21:20 -0700)]
cython_freeze for making stand-alone programs

16 years agomerge main branch to devel
Robert Bradshaw [Thu, 6 Aug 2009 04:40:50 +0000 (21:40 -0700)]
merge main branch to devel

16 years ago#347 fix: Make numpy.complexX_t use Cython complex
Dag Sverre Seljebotn [Wed, 29 Jul 2009 20:10:31 +0000 (22:10 +0200)]
#347 fix: Make numpy.complexX_t use Cython complex

16 years agomore std into Includes
Robert Bradshaw [Tue, 28 Jul 2009 09:40:41 +0000 (02:40 -0700)]
more std into Includes

--HG--
rename : Cython/Compiler/stl.pxd => Cython/Includes/stl.pxd

16 years agoTemplates
Danilo Freitas [Mon, 27 Jul 2009 17:24:07 +0000 (14:24 -0300)]
Templates