Stefan Behnel [Tue, 15 Sep 2009 12:12:40 +0000 (14:12 +0200)]
always optimise tuple(some_list), not only for literals
Stefan Behnel [Tue, 15 Sep 2009 11:26:07 +0000 (13:26 +0200)]
test and fix for unicode.encode() transformation
Stefan Behnel [Tue, 15 Sep 2009 09:12:31 +0000 (11:12 +0200)]
fix copy+paste bug
Stefan Behnel [Tue, 15 Sep 2009 06:59:58 +0000 (08:59 +0200)]
fix merging keyword arguments in compiler directive decorators
Stefan Behnel [Tue, 15 Sep 2009 06:31:51 +0000 (08:31 +0200)]
merge
Stefan Behnel [Tue, 15 Sep 2009 06:31:37 +0000 (08:31 +0200)]
allow splitting compiler annotation decorators as Python only allows 255 args
Lisandro Dalcin [Mon, 14 Sep 2009 16:13:16 +0000 (13:13 -0300)]
merged latest cython-devel
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
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
Stefan Behnel [Sat, 12 Sep 2009 16:38:46 +0000 (18:38 +0200)]
merged latest cython-devel
Stefan Behnel [Sat, 12 Sep 2009 16:37:01 +0000 (18:37 +0200)]
Py2.3 does not automatically include eval.h in Python.h
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
Stefan Behnel [Sat, 12 Sep 2009 11:54:49 +0000 (13:54 +0200)]
optimise unicode.encode() call with constant encoding parameters
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
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
Stefan Behnel [Fri, 11 Sep 2009 21:02:18 +0000 (23:02 +0200)]
merge from latest cython-devel
Stefan Behnel [Fri, 11 Sep 2009 20:59:36 +0000 (22:59 +0200)]
support 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*
Stefan Behnel [Fri, 11 Sep 2009 19:05:20 +0000 (21:05 +0200)]
enabled working tests
Stefan Behnel [Fri, 11 Sep 2009 19:04:59 +0000 (21:04 +0200)]
enabled working tests
Stefan Behnel [Fri, 11 Sep 2009 18:56:22 +0000 (20:56 +0200)]
enabled working test
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
Stefan Behnel [Fri, 11 Sep 2009 18:22:01 +0000 (20:22 +0200)]
enable working test
Stefan Behnel [Fri, 11 Sep 2009 18:15:16 +0000 (20:15 +0200)]
added 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
Stefan Behnel [Fri, 11 Sep 2009 18:01:09 +0000 (20:01 +0200)]
cdef enums seem to require an analyse_expressions()
Stefan Behnel [Fri, 11 Sep 2009 18:00:09 +0000 (20:00 +0200)]
extended test cases for public enums
Stefan Behnel [Fri, 11 Sep 2009 17:20:05 +0000 (19:20 +0200)]
merge with latest cython-devel
Robert Bradshaw [Fri, 11 Sep 2009 04:22:34 +0000 (21:22 -0700)]
imported patch shrink-int-convert
Lisandro Dalcin [Thu, 10 Sep 2009 13:50:11 +0000 (10:50 -0300)]
extern ctypedef integral <-> python object conversion (ticket #333)
Robert Bradshaw [Fri, 11 Sep 2009 02:58:32 +0000 (19:58 -0700)]
Enable test for T135.
Stefan Behnel [Sat, 22 Aug 2009 14:50:28 +0000 (16:50 +0200)]
test fix for Py 3.1.1
Stefan Behnel [Sat, 22 Aug 2009 14:17:44 +0000 (16:17 +0200)]
enable tests in Py3
Stefan Behnel [Fri, 21 Aug 2009 13:39:25 +0000 (15:39 +0200)]
Py3 test fix
Stefan Behnel [Fri, 21 Aug 2009 13:27:01 +0000 (15:27 +0200)]
Cython is basically Py3 clean
Stefan Behnel [Fri, 21 Aug 2009 13:15:20 +0000 (15:15 +0200)]
Py2 bytes handling fix
Stefan Behnel [Fri, 21 Aug 2009 12:54:26 +0000 (14:54 +0200)]
merged in latest cython-devel
Stefan Behnel [Fri, 21 Aug 2009 12:44:50 +0000 (14:44 +0200)]
fix string typed compiler directives in Py3
Stefan Behnel [Fri, 21 Aug 2009 12:33:25 +0000 (14:33 +0200)]
fix test that was broken after merge
Stefan Behnel [Fri, 21 Aug 2009 11:59:25 +0000 (13:59 +0200)]
Py3 test fixes
Stefan Behnel [Fri, 21 Aug 2009 11:59:12 +0000 (13:59 +0200)]
fix bytes compile time constants in Py3
Stefan Behnel [Fri, 21 Aug 2009 11:41:10 +0000 (13:41 +0200)]
Py3 test fix
Stefan Behnel [Fri, 21 Aug 2009 11:37:57 +0000 (13:37 +0200)]
fix struct handling in Py3
Stefan Behnel [Fri, 21 Aug 2009 11:30:41 +0000 (13:30 +0200)]
fix test exclusion
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
Stefan Behnel [Fri, 21 Aug 2009 11:10:20 +0000 (13:10 +0200)]
minor cleanup
Stefan Behnel [Fri, 21 Aug 2009 10:52:18 +0000 (12:52 +0200)]
Py3 test fixes
Stefan Behnel [Fri, 21 Aug 2009 10:42:10 +0000 (12:42 +0200)]
Py3 fix
Stefan Behnel [Fri, 21 Aug 2009 10:35:16 +0000 (12:35 +0200)]
Py3 test fixes
Stefan Behnel [Fri, 21 Aug 2009 09:47:37 +0000 (11:47 +0200)]
Py3 test fixes
Stefan Behnel [Fri, 21 Aug 2009 09:26:29 +0000 (11:26 +0200)]
exclude incompatible tests under Py3
Stefan Behnel [Fri, 21 Aug 2009 09:15:33 +0000 (11:15 +0200)]
Py3 encoding fix
Stefan Behnel [Fri, 21 Aug 2009 08:44:15 +0000 (10:44 +0200)]
Py2.x fix after Py3 char fix ;)
Stefan Behnel [Fri, 21 Aug 2009 08:32:23 +0000 (10:32 +0200)]
properly handle char values (bytes with length 1) in Py3
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
Stefan Behnel [Fri, 21 Aug 2009 07:55:43 +0000 (09:55 +0200)]
Py3 fix
Stefan Behnel [Fri, 21 Aug 2009 07:50:05 +0000 (09:50 +0200)]
Py3 fix
Stefan Behnel [Fri, 21 Aug 2009 07:42:01 +0000 (09:42 +0200)]
Py3 fix
Stefan Behnel [Fri, 21 Aug 2009 07:38:33 +0000 (09:38 +0200)]
Py3 unicode fixes
Stefan Behnel [Fri, 21 Aug 2009 06:41:53 +0000 (08:41 +0200)]
__cmp__() is dead in Py3, ep+lt should be enough though
Stefan Behnel [Fri, 21 Aug 2009 06:40:59 +0000 (08:40 +0200)]
import Cython as late as possible
Stefan Behnel [Thu, 20 Aug 2009 20:41:37 +0000 (22:41 +0200)]
Py3.1 fix
Stefan Behnel [Thu, 20 Aug 2009 20:19:58 +0000 (22:19 +0200)]
safe a few cycles (~4%) when calling 'in' on dicts
Stefan Behnel [Thu, 20 Aug 2009 20:01:21 +0000 (22:01 +0200)]
extended test cases
Stefan Behnel [Thu, 20 Aug 2009 19:56:44 +0000 (21:56 +0200)]
fix error message
Stefan Behnel [Thu, 20 Aug 2009 19:56:44 +0000 (21:56 +0200)]
fix error message
Stefan Behnel [Wed, 19 Aug 2009 14:48:49 +0000 (16:48 +0200)]
merge
Stefan Behnel [Wed, 19 Aug 2009 14:48:34 +0000 (16:48 +0200)]
extended exec() implementation, mostly copied from Py3.1
Andrey Plotnikov [Wed, 19 Aug 2009 06:48:24 +0000 (14:48 +0800)]
code object support in exec statement
Stefan Behnel [Sat, 8 Aug 2009 18:58:14 +0000 (20:58 +0200)]
merge
Stefan Behnel [Sat, 8 Aug 2009 18:57:44 +0000 (20:57 +0200)]
fix switch transform for in-list tests
Mark Lodato [Fri, 7 Aug 2009 04:20:43 +0000 (21:20 -0700)]
cython_freeze for making stand-alone programs
Robert Bradshaw [Thu, 6 Aug 2009 04:40:50 +0000 (21:40 -0700)]
merge main branch to devel
Dag Sverre Seljebotn [Wed, 29 Jul 2009 20:10:31 +0000 (22:10 +0200)]
#347 fix: Make numpy.complexX_t use Cython complex
Robert Bradshaw [Thu, 23 Jul 2009 20:02:28 +0000 (13:02 -0700)]
numpy headers in demo setup.py
Robert Bradshaw [Wed, 22 Jul 2009 15:48:34 +0000 (08:48 -0700)]
Better complex conversion.
Robert Bradshaw [Tue, 21 Jul 2009 07:34:09 +0000 (00:34 -0700)]
Better CYTHON_TRACING macro.
Robert Bradshaw [Mon, 20 Jul 2009 23:29:54 +0000 (16:29 -0700)]
fix nogil profiling
Robert Bradshaw [Mon, 20 Jul 2009 22:40:26 +0000 (15:40 -0700)]
Profiling test
Robert Bradshaw [Mon, 20 Jul 2009 22:40:24 +0000 (15:40 -0700)]
Disable tracing for now.
Robert Bradshaw [Mon, 20 Jul 2009 22:39:57 +0000 (15:39 -0700)]
Cython profiling
Robert Bradshaw [Thu, 16 Jul 2009 09:32:52 +0000 (02:32 -0700)]
empty bytes global
Robert Bradshaw [Tue, 14 Jul 2009 07:17:26 +0000 (00:17 -0700)]
more delete tests
Robert Bradshaw [Tue, 14 Jul 2009 07:09:58 +0000 (00:09 -0700)]
del item test
Robert Bradshaw [Fri, 10 Jul 2009 07:42:48 +0000 (00:42 -0700)]
Fix cython.locals in pxd for pure Python mode.
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
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)
Dag Sverre Seljebotn [Tue, 7 Jul 2009 08:07:22 +0000 (10:07 +0200)]
Partial fix for #307, see ticket
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
Stefan Behnel [Mon, 6 Jul 2009 19:20:25 +0000 (21:20 +0200)]
enable running the tests in Py3.1
Dag Sverre Seljebotn [Mon, 6 Jul 2009 18:16:22 +0000 (20:16 +0200)]
Updated numpy.pxd
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'...'<<)
Stefan Behnel [Mon, 6 Jul 2009 09:51:50 +0000 (11:51 +0200)]
make sure header filenames pass literally into the C code
Stefan Behnel [Mon, 6 Jul 2009 09:47:35 +0000 (11:47 +0200)]
Py3 fixes
Stefan Behnel [Sun, 5 Jul 2009 20:07:20 +0000 (22:07 +0200)]
Py3 fixes
Stefan Behnel [Sun, 5 Jul 2009 19:33:36 +0000 (21:33 +0200)]
Py3 fix
Stefan Behnel [Sun, 5 Jul 2009 19:30:51 +0000 (21:30 +0200)]
Py3 fix
Stefan Behnel [Sun, 5 Jul 2009 19:30:32 +0000 (21:30 +0200)]
Py3 fix
Stefan Behnel [Sun, 5 Jul 2009 19:24:04 +0000 (21:24 +0200)]
Py3 2to3 fix
Stefan Behnel [Sun, 5 Jul 2009 19:23:05 +0000 (21:23 +0200)]
fix TreeFragment: parsing works on Unicode streams