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

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

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

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

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

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

15 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

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

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

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

15 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

15 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

15 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

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

15 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

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

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

15 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

15 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

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

15 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

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

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

15 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

15 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

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

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

15 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

15 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

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

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

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

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

15 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

15 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

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

15 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

15 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

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

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

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

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

15 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

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

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

15 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

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

15 years agoStop compilation when Python headers are not present
Dag Sverre Seljebotn [Wed, 20 May 2009 18:11:13 +0000 (20:11 +0200)]
Stop compilation when Python headers are not present

15 years agoVersion update
Dag Sverre Seljebotn [Wed, 20 May 2009 15:34:48 +0000 (17:34 +0200)]
Version update

15 years agoDo not use C99 compound literals (enables compilation on g++ 4.2.4) 0.11.2
Dag Sverre Seljebotn [Wed, 20 May 2009 12:44:08 +0000 (14:44 +0200)]
Do not use C99 compound literals (enables compilation on g++ 4.2.4)

15 years agoStart replacing TempBlockNode with LetNode/EvalWithTempExprNode
Dag Sverre Seljebotn [Tue, 19 May 2009 20:01:32 +0000 (22:01 +0200)]
Start replacing TempBlockNode with LetNode/EvalWithTempExprNode

15 years agodebug_verbose_pipeline flag added
Dag Sverre Seljebotn [Tue, 19 May 2009 19:49:21 +0000 (21:49 +0200)]
debug_verbose_pipeline flag added

15 years agoFix for T203 testcase failure (new intern string api)
Dag Sverre Seljebotn [Tue, 19 May 2009 19:10:17 +0000 (21:10 +0200)]
Fix for T203 testcase failure (new intern string api)

15 years agomerge
Dag Sverre Seljebotn [Tue, 19 May 2009 16:57:59 +0000 (18:57 +0200)]
merge

15 years agoRedirect error output properly during unit testing
Dag Sverre Seljebotn [Tue, 19 May 2009 16:54:13 +0000 (18:54 +0200)]
Redirect error output properly during unit testing

15 years agoBig merge of -devel
Dag Sverre Seljebotn [Tue, 19 May 2009 16:05:29 +0000 (18:05 +0200)]
Big merge of -devel

15 years ago0.11.2.rc1
Dag Sverre Seljebotn [Sun, 17 May 2009 13:38:02 +0000 (15:38 +0200)]
0.11.2.rc1

15 years agoAdded tag 0.11.2.rc1 for changeset af6f1bed8cd4
Dag Sverre Seljebotn [Sun, 17 May 2009 13:37:54 +0000 (15:37 +0200)]
Added tag 0.11.2.rc1 for changeset af6f1bed8cd4

15 years agoPy3 testcase fixes 0.11.2.rc1
Dag Sverre Seljebotn [Sun, 17 May 2009 07:02:23 +0000 (00:02 -0700)]
Py3 testcase fixes

15 years agoFix bug in new buffmt code
Dag Sverre Seljebotn [Sun, 17 May 2009 06:01:24 +0000 (08:01 +0200)]
Fix bug in new buffmt code

15 years agofix some tests for Python 3
Lisandro Dalcin [Sun, 17 May 2009 02:07:14 +0000 (23:07 -0300)]
fix some tests for Python 3

15 years agorenaming in testcase, 'mutable' is a C++ keyword.
Lisandro Dalcin [Sat, 16 May 2009 23:28:44 +0000 (20:28 -0300)]
renaming in testcase, 'mutable' is a C++ keyword.

15 years agoadd compiler directive for user-defined function calling conventions
Lisandro Dalcin [Sat, 16 May 2009 23:10:35 +0000 (20:10 -0300)]
add compiler directive for user-defined function calling conventions

15 years agoenumerate fixes: single-statement bodies, avoid redundant deep recursion during loop...
Stefan Behnel [Sat, 16 May 2009 09:32:13 +0000 (11:32 +0200)]
enumerate fixes: single-statement bodies, avoid redundant deep recursion during loop optimisation

15 years agoextended test case
Stefan Behnel [Sat, 16 May 2009 08:53:13 +0000 (10:53 +0200)]
extended test case

15 years agofix warning on unused utility code after enumerate() optimisation
Stefan Behnel [Sat, 16 May 2009 08:28:19 +0000 (10:28 +0200)]
fix warning on unused utility code after enumerate() optimisation

15 years agoBuiltin type method
Robert Bradshaw [Sat, 16 May 2009 04:42:57 +0000 (21:42 -0700)]
Builtin type method

15 years agotest case for T316
Stefan Behnel [Fri, 15 May 2009 20:53:59 +0000 (22:53 +0200)]
test case for T316

15 years agoenumerate optimisation (#316)
Stefan Behnel [Fri, 15 May 2009 20:46:51 +0000 (22:46 +0200)]
enumerate optimisation (#316)

15 years agobuffer testcase fix again
Dag Sverre Seljebotn [Fri, 15 May 2009 20:17:23 +0000 (22:17 +0200)]
buffer testcase fix again

15 years agobuffer testcase fix
Dag Sverre Seljebotn [Fri, 15 May 2009 20:13:52 +0000 (22:13 +0200)]
buffer testcase fix

15 years agoremove unused ComprehensionTransform class (which doesn't work anyway)
Stefan Behnel [Fri, 15 May 2009 18:24:43 +0000 (20:24 +0200)]
remove unused ComprehensionTransform class (which doesn't work anyway)

15 years agoUpdate numpy.pxd with complex types and approximate type sizes
Dag Sverre Seljebotn [Fri, 15 May 2009 11:43:23 +0000 (13:43 +0200)]
Update numpy.pxd with complex types and approximate type sizes

15 years agomerge
Lisandro Dalcin [Thu, 14 May 2009 20:47:21 +0000 (17:47 -0300)]
merge

15 years agoDon't assume complex.h by default.
Robert Bradshaw [Thu, 14 May 2009 19:36:52 +0000 (12:36 -0700)]
Don't assume complex.h by default.

15 years agoreal and imag attributes for complex
Robert Bradshaw [Thu, 14 May 2009 19:36:16 +0000 (12:36 -0700)]
real and imag attributes for complex

15 years agoFix obscure bug w/ complex (only present when compiling many files in one run)
Dag Sverre Seljebotn [Thu, 14 May 2009 17:42:54 +0000 (19:42 +0200)]
Fix obscure bug w/ complex (only present when compiling many files in one run)

15 years agoTestcase fix, update error message
Dag Sverre Seljebotn [Thu, 14 May 2009 16:02:32 +0000 (18:02 +0200)]
Testcase fix, update error message

15 years agoAttempt to fix disappearence of conversion errors (introduced by b8850487f853)
Dag Sverre Seljebotn [Thu, 14 May 2009 15:46:40 +0000 (17:46 +0200)]
Attempt to fix disappearence of conversion errors (introduced by b8850487f853)

15 years agoIf we were using git I could more easily erase my embarrasing commit history...
Dag Sverre Seljebotn [Thu, 14 May 2009 15:34:02 +0000 (17:34 +0200)]
If we were using git I could more easily erase my embarrasing commit history...

15 years agoFixing up flawed fix for #303
Dag Sverre Seljebotn [Thu, 14 May 2009 15:28:50 +0000 (17:28 +0200)]
Fixing up flawed fix for #303

15 years agoAllow <MyStruct*>obj as well; as there is no canonical PyObject
Dag Sverre Seljebotn [Thu, 14 May 2009 15:09:39 +0000 (17:09 +0200)]
Allow <MyStruct*>obj as well; as there is no canonical PyObject

15 years agoFix #303 as per Lisandro's idea
Dag Sverre Seljebotn [Thu, 14 May 2009 14:49:54 +0000 (16:49 +0200)]
Fix #303 as per Lisandro's idea

15 years agoActually remove warning mentioned in last commit...
Dag Sverre Seljebotn [Thu, 14 May 2009 13:28:13 +0000 (15:28 +0200)]
Actually remove warning mentioned in last commit...

15 years agoDisallow <double*>obj (#313). Also removes warning for <void*>obj.
Dag Sverre Seljebotn [Thu, 14 May 2009 13:25:49 +0000 (15:25 +0200)]
Disallow <double*>obj (#313). Also removes warning for <void*>obj.