cython.git
17 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

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

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

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

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

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

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

17 years agoOverloading operators
Danilo Freitas [Thu, 16 Jul 2009 23:23:52 +0000 (20:23 -0300)]
Overloading operators

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

17 years agogeneral best_match and analyse_cpp_operation
DaniloFreitas [Tue, 14 Jul 2009 23:32:53 +0000 (20:32 -0300)]
general best_match and analyse_cpp_operation

17 years agoMore on overloading operators (+ and -)
DaniloFreitas [Tue, 14 Jul 2009 23:14:27 +0000 (20:14 -0300)]
More on overloading operators (+ and -)

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

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

17 years agoSome work with operator
DaniloFreitas [Mon, 13 Jul 2009 21:25:03 +0000 (18:25 -0300)]
Some work with operator

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

17 years agomore function overloading
Robert Bradshaw [Thu, 9 Jul 2009 08:16:48 +0000 (01:16 -0700)]
more function overloading

17 years agomerge
Robert Bradshaw [Thu, 9 Jul 2009 08:11:10 +0000 (01:11 -0700)]
merge

17 years agosmall fixes
DaniloFreitas [Thu, 9 Jul 2009 08:10:38 +0000 (05:10 -0300)]
small fixes

17 years agoFix cpp class example (now that we have function overloading).
Robert Bradshaw [Thu, 9 Jul 2009 07:46:03 +0000 (00:46 -0700)]
Fix cpp class example (now that we have function overloading).

17 years agoFunction overloading (declaring and using)
DaniloFreitas [Thu, 9 Jul 2009 07:39:11 +0000 (04:39 -0300)]
Function overloading (declaring and using)

17 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

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

17 years agoFunction overloading
DaniloFreitas [Wed, 8 Jul 2009 08:44:31 +0000 (05:44 -0300)]
Function overloading

17 years agomake sure constructor/destructors are being called
Robert Bradshaw [Tue, 7 Jul 2009 09:19:08 +0000 (02:19 -0700)]
make sure constructor/destructors are being called

17 years agoMore cpp test, don't need cpp file.
Robert Bradshaw [Tue, 7 Jul 2009 09:13:38 +0000 (02:13 -0700)]
More cpp test, don't need cpp file.

17 years agoExpand and fix cpp tests
Robert Bradshaw [Tue, 7 Jul 2009 08:50:30 +0000 (01:50 -0700)]
Expand and fix cpp tests

17 years agoTest files for cpp classes.
Danilo Freitas [Tue, 7 Jul 2009 08:39:50 +0000 (01:39 -0700)]
Test files for cpp classes.

17 years agominor fix
Robert Bradshaw [Tue, 7 Jul 2009 08:38:24 +0000 (01:38 -0700)]
minor fix

17 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

17 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

17 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

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

17 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'...'<<)

17 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

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

17 years agoPy3 fixes
Stefan Behnel [Sun, 5 Jul 2009 20:07:20 +0000 (22:07 +0200)]
Py3 fixes

17 years agoPy3 fix
Stefan Behnel [Sun, 5 Jul 2009 19:33:36 +0000 (21:33 +0200)]
Py3 fix

17 years agoPy3 fix
Stefan Behnel [Sun, 5 Jul 2009 19:30:51 +0000 (21:30 +0200)]
Py3 fix

17 years agoPy3 fix
Stefan Behnel [Sun, 5 Jul 2009 19:30:32 +0000 (21:30 +0200)]
Py3 fix

17 years agoPy3 2to3 fix
Stefan Behnel [Sun, 5 Jul 2009 19:24:04 +0000 (21:24 +0200)]
Py3 2to3 fix

17 years agofix TreeFragment: parsing works on Unicode streams
Stefan Behnel [Sun, 5 Jul 2009 19:23:05 +0000 (21:23 +0200)]
fix TreeFragment: parsing works on Unicode streams

17 years agoPy3 fix
Stefan Behnel [Sun, 5 Jul 2009 19:08:58 +0000 (21:08 +0200)]
Py3 fix

17 years agoPy3 fixes
Stefan Behnel [Sun, 5 Jul 2009 16:36:10 +0000 (18:36 +0200)]
Py3 fixes

17 years agoPy3 fixes
Stefan Behnel [Sun, 5 Jul 2009 14:12:48 +0000 (16:12 +0200)]
Py3 fixes

17 years agofix constant folding: calculate float values but do not aggregate them into ConstNodes
Stefan Behnel [Sun, 5 Jul 2009 13:35:12 +0000 (15:35 +0200)]
fix constant folding: calculate float values but do not aggregate them into ConstNodes

17 years agorevert typing in Visitor.pxd because of obscure type test problem
Stefan Behnel [Sun, 5 Jul 2009 13:13:04 +0000 (15:13 +0200)]
revert typing in Visitor.pxd because of obscure type test problem

17 years agoenable cdivision switch for 0.12
Stefan Behnel [Sat, 4 Jul 2009 14:00:09 +0000 (16:00 +0200)]
enable cdivision switch for 0.12

17 years agomerge
Robert Bradshaw [Sat, 4 Jul 2009 07:59:03 +0000 (00:59 -0700)]
merge

17 years agoPy3 code fixes
Stefan Behnel [Sat, 4 Jul 2009 06:08:08 +0000 (08:08 +0200)]
Py3 code fixes

17 years agoonly regenerate Cython's own C sources when the .py files were updated
Stefan Behnel [Fri, 3 Jul 2009 21:49:16 +0000 (23:49 +0200)]
only regenerate Cython's own C sources when the .py files were updated

17 years agounused import
Stefan Behnel [Fri, 3 Jul 2009 20:38:47 +0000 (22:38 +0200)]
unused import

17 years agoPy3 fix
Stefan Behnel [Fri, 3 Jul 2009 20:38:31 +0000 (22:38 +0200)]
Py3 fix

17 years agoreduce code-gen time spent in builtins
Stefan Behnel [Fri, 3 Jul 2009 20:20:16 +0000 (22:20 +0200)]
reduce code-gen time spent in builtins

17 years agoclean up compiled code in Visitor.py
Stefan Behnel [Fri, 3 Jul 2009 19:30:55 +0000 (21:30 +0200)]
clean up compiled code in Visitor.py

17 years agofix declaration in Parsing.pxd
Stefan Behnel [Fri, 3 Jul 2009 19:21:51 +0000 (21:21 +0200)]
fix declaration in Parsing.pxd

17 years agocleanup in Shadow.py: Py_ssize_t is an int_type, nothing else
Stefan Behnel [Fri, 3 Jul 2009 18:57:33 +0000 (20:57 +0200)]
cleanup in Shadow.py: Py_ssize_t is an int_type, nothing else

17 years agofaster call to builtin type()
Stefan Behnel [Fri, 3 Jul 2009 18:31:40 +0000 (20:31 +0200)]
faster call to builtin type()

17 years agoSmall changes on DelStatNode
Danilo Freitas [Fri, 3 Jul 2009 06:49:11 +0000 (03:49 -0300)]
Small changes on DelStatNode

17 years agoMinor changes to del
Robert Bradshaw [Thu, 2 Jul 2009 07:05:24 +0000 (00:05 -0700)]
Minor changes to del

17 years agodel statement for C++ objects
Danilo Freitas [Thu, 2 Jul 2009 06:46:34 +0000 (03:46 -0300)]
del statement for C++ objects

17 years agomerge
Stefan Behnel [Thu, 2 Jul 2009 05:14:09 +0000 (07:14 +0200)]
merge

17 years agonew operator
Danilo Freitas [Thu, 2 Jul 2009 05:04:41 +0000 (02:04 -0300)]
new operator

17 years agonew operator
Robert Bradshaw [Thu, 2 Jul 2009 04:35:07 +0000 (21:35 -0700)]
new operator

17 years agosame work
Danilo Freitas [Thu, 2 Jul 2009 04:20:07 +0000 (01:20 -0300)]
same work

17 years agoWorking with 'new' operator
Danilo Freitas [Thu, 2 Jul 2009 02:43:21 +0000 (23:43 -0300)]
Working with 'new' operator

17 years agonogil check changes; fixes #338 and #329
Dag Sverre Seljebotn [Tue, 30 Jun 2009 09:08:27 +0000 (11:08 +0200)]
nogil check changes; fixes #338 and #329

17 years agoMake it easier to compare and debug error testcase failures
Dag Sverre Seljebotn [Tue, 30 Jun 2009 08:50:33 +0000 (10:50 +0200)]
Make it easier to compare and debug error testcase failures

17 years agoName numpy type enum
Robert Bradshaw [Sun, 28 Jun 2009 08:55:31 +0000 (01:55 -0700)]
Name numpy type enum

17 years agomerge
Dag Sverre Seljebotn [Sat, 27 Jun 2009 13:44:33 +0000 (15:44 +0200)]
merge

17 years agoRename pragma => directive in source
Dag Sverre Seljebotn [Sat, 27 Jun 2009 13:44:14 +0000 (15:44 +0200)]
Rename pragma => directive in source

17 years agofix extended iterable unpacking in Py3.1
Stefan Behnel [Sat, 27 Jun 2009 07:02:45 +0000 (09:02 +0200)]
fix extended iterable unpacking in Py3.1

17 years agoWorkint with 'new' operator
Danilo Freitas [Fri, 26 Jun 2009 22:37:07 +0000 (19:37 -0300)]
Workint with 'new' operator

17 years agotest case for class decorators
Stefan Behnel [Fri, 26 Jun 2009 20:33:20 +0000 (22:33 +0200)]
test case for class decorators

17 years agomerge
Stefan Behnel [Fri, 26 Jun 2009 20:32:49 +0000 (22:32 +0200)]
merge

17 years agoclass decorators for Python classes - disabled for cdef classes (see transform)
Stefan Behnel [Fri, 26 Jun 2009 20:30:11 +0000 (22:30 +0200)]
class decorators for Python classes - disabled for cdef classes (see transform)

17 years agomerge
Dag Sverre Seljebotn [Thu, 25 Jun 2009 18:16:32 +0000 (20:16 +0200)]
merge

17 years agoFurther code streams/code.globalstate/ModuleNode refactoring
Dag Sverre Seljebotn [Thu, 25 Jun 2009 18:04:29 +0000 (20:04 +0200)]
Further code streams/code.globalstate/ModuleNode refactoring

17 years agoRemove file which should never have been uploaded
Dag Sverre Seljebotn [Thu, 25 Jun 2009 17:38:56 +0000 (19:38 +0200)]
Remove file which should never have been uploaded

17 years agoFix #191
Dag Sverre Seljebotn [Thu, 25 Jun 2009 17:37:01 +0000 (19:37 +0200)]
Fix #191

17 years agoget rid of string comparisons in classmethod utility code
Lisandro Dalcin [Fri, 19 Jun 2009 17:13:14 +0000 (14:13 -0300)]
get rid of string comparisons in classmethod utility code

17 years agoRework namespaces into cname.
Robert Bradshaw [Fri, 19 Jun 2009 05:42:26 +0000 (22:42 -0700)]
Rework namespaces into cname.

Otherwise we have to trace namespace arguments all the way through all
declarators and types, only to mutate the cnames at the end.

17 years agoResolve subclass assignment
Robert Bradshaw [Fri, 19 Jun 2009 04:26:40 +0000 (21:26 -0700)]
Resolve subclass assignment

17 years agoDeclaring and using inherited attributes
Danilo Freitas [Wed, 17 Jun 2009 13:40:11 +0000 (10:40 -0300)]
Declaring and using inherited attributes

17 years agoIntNode() value set in tree transformations must be string, not plain int
Stefan Behnel [Thu, 11 Jun 2009 15:32:32 +0000 (17:32 +0200)]
IntNode() value set in tree transformations must be string, not plain int

17 years agofix DebugFlags
Stefan Behnel [Thu, 11 Jun 2009 14:56:32 +0000 (16:56 +0200)]
fix DebugFlags

17 years agoMore on cpp class declaration_code
Robert Bradshaw [Tue, 9 Jun 2009 04:17:53 +0000 (21:17 -0700)]
More on cpp class declaration_code

17 years agoMore work on cpp types.
Robert Bradshaw [Tue, 9 Jun 2009 04:07:55 +0000 (21:07 -0700)]
More work on cpp types.

17 years agoRemove windows line break characters.
Robert Bradshaw [Tue, 9 Jun 2009 04:04:18 +0000 (21:04 -0700)]
Remove windows line break characters.

17 years agoMerge in latest release.
Robert Bradshaw [Tue, 9 Jun 2009 02:57:42 +0000 (19:57 -0700)]
Merge in latest release.

17 years agoCpp class scope and type
DaniloFreitas [Tue, 9 Jun 2009 02:57:03 +0000 (19:57 -0700)]
Cpp class scope and type

17 years agoTicket #326, coerce -1 to -2 for __hash__
Robert Bradshaw [Wed, 3 Jun 2009 10:17:42 +0000 (03:17 -0700)]
Ticket #326, coerce -1 to -2 for __hash__

17 years agoCppClassScope
DaniloFreitas [Wed, 3 Jun 2009 00:37:27 +0000 (21:37 -0300)]
CppClassScope

17 years agomerge
Dag Sverre Seljebotn [Tue, 26 May 2009 20:54:46 +0000 (22:54 +0200)]
merge

17 years agoNew fix for #303
Dag Sverre Seljebotn [Tue, 26 May 2009 20:46:16 +0000 (22:46 +0200)]
New fix for #303

17 years agoRevert previous fix of #303
Dag Sverre Seljebotn [Tue, 26 May 2009 20:42:03 +0000 (22:42 +0200)]
Revert previous fix of #303

17 years agoFix for#257
Dag Sverre Seljebotn [Thu, 21 May 2009 20:33:33 +0000 (22:33 +0200)]
Fix for#257

17 years agoUtilityCode put_code protocol
Dag Sverre Seljebotn [Thu, 21 May 2009 19:39:47 +0000 (21:39 +0200)]
UtilityCode put_code protocol

17 years agoMove UtilityCode to Code.py
Dag Sverre Seljebotn [Thu, 21 May 2009 19:28:04 +0000 (21:28 +0200)]
Move UtilityCode to Code.py

17 years agomerge
Dag Sverre Seljebotn [Thu, 21 May 2009 19:13:29 +0000 (21:13 +0200)]
merge

17 years agonamespace allowed (cdef extern from "foo.h" namespace something:)
DaniloFreitas [Thu, 21 May 2009 00:21:23 +0000 (21:21 -0300)]
namespace allowed (cdef extern from "foo.h" namespace something:)