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

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

15 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

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

15 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

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

15 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

15 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

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

15 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

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

15 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

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

15 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

15 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

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

15 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

15 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

15 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

15 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

15 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

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

15 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*

15 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*

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

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

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

15 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

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

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

15 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

15 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()

15 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

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

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

15 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)

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

15 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

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

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

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

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

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

15 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

15 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

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

15 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

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

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

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

15 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

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

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

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

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

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

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

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

15 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 ;)

15 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

15 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

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

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

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

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

15 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

15 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

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

15 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

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

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

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

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

15 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

15 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

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

15 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

15 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

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

15 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

15 years agonumpy headers in demo setup.py
Robert Bradshaw [Thu, 23 Jul 2009 20:02:28 +0000 (13:02 -0700)]
numpy headers in demo setup.py

15 years agoBetter complex conversion.
Robert Bradshaw [Wed, 22 Jul 2009 15:48:34 +0000 (08:48 -0700)]
Better complex conversion.

15 years agoBetter CYTHON_TRACING macro.
Robert Bradshaw [Tue, 21 Jul 2009 07:34:09 +0000 (00:34 -0700)]
Better CYTHON_TRACING macro.

15 years agofix nogil profiling
Robert Bradshaw [Mon, 20 Jul 2009 23:29:54 +0000 (16:29 -0700)]
fix nogil profiling

15 years agoProfiling test
Robert Bradshaw [Mon, 20 Jul 2009 22:40:26 +0000 (15:40 -0700)]
Profiling test

15 years agoDisable tracing for now.
Robert Bradshaw [Mon, 20 Jul 2009 22:40:24 +0000 (15:40 -0700)]
Disable tracing for now.

15 years agoCython profiling
Robert Bradshaw [Mon, 20 Jul 2009 22:39:57 +0000 (15:39 -0700)]
Cython profiling

15 years agoempty bytes global
Robert Bradshaw [Thu, 16 Jul 2009 09:32:52 +0000 (02:32 -0700)]
empty bytes global

15 years agomore delete tests
Robert Bradshaw [Tue, 14 Jul 2009 07:17:26 +0000 (00:17 -0700)]
more delete tests

15 years agodel item test
Robert Bradshaw [Tue, 14 Jul 2009 07:09:58 +0000 (00:09 -0700)]
del item test

15 years agoFix cython.locals in pxd for pure Python mode.
Robert Bradshaw [Fri, 10 Jul 2009 07:42:48 +0000 (00:42 -0700)]
Fix cython.locals in pxd for pure Python mode.

15 years agofix __future__ division semantics for constant expressions and C integers
Stefan Behnel [Wed, 8 Jul 2009 19:13:14 +0000 (21:13 +0200)]
fix __future__ division semantics for constant expressions and C integers

--HG--
rename : tests/run/future_division.pyx => tests/run/non_future_division.pyx

15 years agofix byte string escaping of '\' in Py2.x (broken by latest Py3 fixes)
Stefan Behnel [Wed, 8 Jul 2009 18:24:13 +0000 (20:24 +0200)]
fix byte string escaping of '\' in Py2.x (broken by latest Py3 fixes)

15 years agoPartial fix for #307, see ticket
Dag Sverre Seljebotn [Tue, 7 Jul 2009 08:07:22 +0000 (10:07 +0200)]
Partial fix for #307, see ticket

15 years agoenable % formatting of byte strings by providing a __str__() special method that...
Stefan Behnel [Mon, 6 Jul 2009 19:42:37 +0000 (21:42 +0200)]
enable % formatting of byte strings by providing a __str__() special method that encodes to unicode

15 years agoenable running the tests in Py3.1
Stefan Behnel [Mon, 6 Jul 2009 19:20:25 +0000 (21:20 +0200)]
enable running the tests in Py3.1

15 years agoUpdated numpy.pxd
Dag Sverre Seljebotn [Mon, 6 Jul 2009 18:16:22 +0000 (20:16 +0200)]
Updated numpy.pxd

15 years agoPy3 fix: make sure byte strings end up in the code as expected (not like >>b'...'<<)
Stefan Behnel [Mon, 6 Jul 2009 15:29:40 +0000 (17:29 +0200)]
Py3 fix: make sure byte strings end up in the code as expected (not like >>b'...'<<)

15 years agomake sure header filenames pass literally into the C code
Stefan Behnel [Mon, 6 Jul 2009 09:51:50 +0000 (11:51 +0200)]
make sure header filenames pass literally into the C code

15 years agoPy3 fixes
Stefan Behnel [Mon, 6 Jul 2009 09:47:35 +0000 (11:47 +0200)]
Py3 fixes