cython.git
15 years agotiny helper class for replacing all occurrences of a node in a subtree
Stefan Behnel [Sun, 4 Oct 2009 07:29:28 +0000 (09:29 +0200)]
tiny helper class for replacing all occurrences of a node in a subtree

15 years ago-devel mergeback
Robert Bradshaw [Sun, 27 Sep 2009 06:05:04 +0000 (23:05 -0700)]
-devel mergeback

15 years agoBump version number, release 0.11.3.
Robert Bradshaw [Sun, 27 Sep 2009 05:30:33 +0000 (22:30 -0700)]
Bump version number, release 0.11.3.

15 years agoAdded tag 0.11.3 for changeset 7c695fe49fd6
Robert Bradshaw [Sun, 27 Sep 2009 05:30:23 +0000 (22:30 -0700)]
Added tag 0.11.3 for changeset 7c695fe49fd6

15 years agobump version number 0.11.3
Robert Bradshaw [Sat, 26 Sep 2009 07:00:13 +0000 (00:00 -0700)]
bump version number

15 years agoMissing items in MANIFEST.in
Robert Bradshaw [Sat, 26 Sep 2009 06:56:58 +0000 (23:56 -0700)]
Missing items in MANIFEST.in

15 years agoVersion number 0.11.3.rc0
Robert Bradshaw [Fri, 25 Sep 2009 09:17:36 +0000 (02:17 -0700)]
Version number 0.11.3.rc0

15 years agoAdded tag 0.11.3.rc0 for changeset eb00d00a73c1
Robert Bradshaw [Fri, 25 Sep 2009 09:16:58 +0000 (02:16 -0700)]
Added tag 0.11.3.rc0 for changeset eb00d00a73c1

15 years agoEnable profile tests. 0.11.3.rc0
Robert Bradshaw [Fri, 25 Sep 2009 09:15:10 +0000 (02:15 -0700)]
Enable profile tests.

15 years agoTurn of profiling by default, rename macro.
Robert Bradshaw [Fri, 25 Sep 2009 09:12:53 +0000 (02:12 -0700)]
Turn of profiling by default, rename macro.

15 years agoBetter check for broken NumPy install
Dag Sverre Seljebotn [Fri, 25 Sep 2009 07:53:32 +0000 (09:53 +0200)]
Better check for broken NumPy install

15 years agonumpy.pxd: Old iteration method did not iterate dtype in order (fixes #371)
Dag Sverre Seljebotn [Fri, 25 Sep 2009 07:45:24 +0000 (09:45 +0200)]
numpy.pxd: Old iteration method did not iterate dtype in order (fixes #371)

15 years agoFix refnanny string literal
Dag Sverre Seljebotn [Fri, 25 Sep 2009 07:11:20 +0000 (09:11 +0200)]
Fix refnanny string literal

15 years agopyximport: parse distutils config files (except local setup.cfg)
Lisandro Dalcin [Thu, 24 Sep 2009 21:42:00 +0000 (18:42 -0300)]
pyximport: parse distutils config files (except local setup.cfg)

15 years agoFailing numpy.pxd dtype serialization testcase
Dag Sverre Seljebotn [Thu, 24 Sep 2009 19:50:25 +0000 (21:50 +0200)]
Failing numpy.pxd dtype serialization testcase

15 years ago0.11.3 beta
Robert Bradshaw [Tue, 22 Sep 2009 09:13:13 +0000 (02:13 -0700)]
0.11.3 beta

15 years agoSome fixes for OS X 10.6
Robert Bradshaw [Tue, 22 Sep 2009 09:12:13 +0000 (02:12 -0700)]
Some fixes for OS X 10.6

15 years agoString literal warning.
Robert Bradshaw [Tue, 22 Sep 2009 07:59:48 +0000 (00:59 -0700)]
String literal warning.

15 years agomake trace unlikely
Robert Bradshaw [Tue, 22 Sep 2009 07:05:42 +0000 (00:05 -0700)]
make trace unlikely

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

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

15 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

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 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 agomerge
Robert Bradshaw [Tue, 15 Sep 2009 01:56:23 +0000 (18:56 -0700)]
merge

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 agoPython 3 fixes
Robert Bradshaw [Sat, 12 Sep 2009 02:10:18 +0000 (19:10 -0700)]
Python 3 fixes

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