cython.git
15 years agoemulate original error for attributes on unconvertible types
Stefan Behnel [Thu, 3 Dec 2009 12:48:49 +0000 (13:48 +0100)]
emulate original error for attributes on unconvertible types

15 years agocleanup
Stefan Behnel [Thu, 3 Dec 2009 12:27:05 +0000 (13:27 +0100)]
cleanup

15 years agotypo in new test case
Stefan Behnel [Thu, 3 Dec 2009 12:23:21 +0000 (13:23 +0100)]
typo in new test case

15 years agotest for ticket 236
Stefan Behnel [Thu, 3 Dec 2009 12:21:00 +0000 (13:21 +0100)]
test for ticket 236

15 years agoenable Python methods on C types through coercion to Python objects
Stefan Behnel [Thu, 3 Dec 2009 12:17:39 +0000 (13:17 +0100)]
enable Python methods on C types through coercion to Python objects

15 years agosupport "c_string.decode(enc)" and "c_string[x:].decode(enc)" efficiently
Stefan Behnel [Sat, 28 Nov 2009 13:23:04 +0000 (14:23 +0100)]
support "c_string.decode(enc)" and "c_string[x:].decode(enc)" efficiently

15 years agolet char*->bytes conversion know that it returns bytes
Stefan Behnel [Sat, 28 Nov 2009 08:10:25 +0000 (09:10 +0100)]
let char*->bytes conversion know that it returns bytes

15 years agofix recursive use of LetNodeMixin
Stefan Behnel [Sat, 28 Nov 2009 08:05:53 +0000 (09:05 +0100)]
fix recursive use of LetNodeMixin

15 years agoPy3 test fix
Stefan Behnel [Fri, 27 Nov 2009 20:28:17 +0000 (21:28 +0100)]
Py3 test fix

15 years agomerge
Stefan Behnel [Fri, 27 Nov 2009 20:17:40 +0000 (21:17 +0100)]
merge

15 years agoTests for #258.
Robert Bradshaw [Fri, 27 Nov 2009 20:08:09 +0000 (12:08 -0800)]
Tests for #258.

15 years agoFix #258, extern builtin conflicts.
Robert Bradshaw [Fri, 27 Nov 2009 20:07:01 +0000 (12:07 -0800)]
Fix #258, extern builtin conflicts.

15 years agoFix typo.
Robert Bradshaw [Fri, 27 Nov 2009 19:07:59 +0000 (11:07 -0800)]
Fix typo.

(My fault applying patch.)

15 years agoWhen tests fail, runtests.py should exit with non-zero exit status.
Arfrever Frehtes Taifersar Arahesis [Fri, 27 Nov 2009 18:56:12 +0000 (10:56 -0800)]
When tests fail, runtests.py should exit with non-zero exit status.

15 years agofix #454: type of first parameter in classmethods
Stefan Behnel [Fri, 27 Nov 2009 16:51:44 +0000 (17:51 +0100)]
fix #454: type of first parameter in classmethods

15 years agotest case for #408
Stefan Behnel [Fri, 27 Nov 2009 15:18:44 +0000 (16:18 +0100)]
test case for #408

15 years agotiny cleanup
Stefan Behnel [Fri, 27 Nov 2009 11:21:16 +0000 (12:21 +0100)]
tiny cleanup

15 years agoextended test case
Stefan Behnel [Thu, 26 Nov 2009 20:42:37 +0000 (21:42 +0100)]
extended test case

15 years agomerge
Stefan Behnel [Thu, 26 Nov 2009 19:53:44 +0000 (20:53 +0100)]
merge

15 years agoa couple more tests on builtin names
Stefan Behnel [Thu, 26 Nov 2009 19:52:00 +0000 (20:52 +0100)]
a couple more tests on builtin names

15 years agocomment
Stefan Behnel [Thu, 26 Nov 2009 19:51:20 +0000 (20:51 +0100)]
comment

15 years agosupport len(char*) efficiently by calling strlen() instead
Stefan Behnel [Thu, 26 Nov 2009 19:49:09 +0000 (20:49 +0100)]
support len(char*) efficiently by calling strlen() instead

15 years agomake sure we only optimise builtins and no user defined names, support further optimi...
Stefan Behnel [Thu, 26 Nov 2009 19:47:59 +0000 (20:47 +0100)]
make sure we only optimise builtins and no user defined names, support further optimisations on builtins that were already replaced with C functions

15 years agomake declared builtin types recognisable as such
Stefan Behnel [Thu, 26 Nov 2009 19:45:45 +0000 (20:45 +0100)]
make declared builtin types recognisable as such

15 years agorecognise when 'classmethod' gets overridden
Stefan Behnel [Thu, 26 Nov 2009 18:09:02 +0000 (19:09 +0100)]
recognise when 'classmethod' gets overridden

15 years agoLinking flags for embedded mode.
Robert Bradshaw [Tue, 24 Nov 2009 07:33:16 +0000 (23:33 -0800)]
Linking flags for embedded mode.

15 years agoAlso copy .hgignore
Robert Bradshaw [Mon, 23 Nov 2009 19:21:22 +0000 (11:21 -0800)]
Also copy .hgignore

15 years agomerge
Robert Bradshaw [Mon, 23 Nov 2009 19:16:14 +0000 (11:16 -0800)]
merge

15 years agoAdded tag 0.12 for changeset fae19937e494
Robert Bradshaw [Mon, 23 Nov 2009 18:32:41 +0000 (10:32 -0800)]
Added tag 0.12 for changeset fae19937e494

15 years agoBump version number. 0.12
Robert Bradshaw [Mon, 23 Nov 2009 18:32:12 +0000 (10:32 -0800)]
Bump version number.

15 years agoRemove repo from sdist, autogenerate .hgrev
Robert Bradshaw [Sun, 22 Nov 2009 10:29:16 +0000 (02:29 -0800)]
Remove repo from sdist, autogenerate .hgrev

15 years agoMakefile target for repo.
Robert Bradshaw [Sun, 22 Nov 2009 10:29:15 +0000 (02:29 -0800)]
Makefile target for repo.

15 years agoFix bug in handling of environment directives.
Robert Bradshaw [Sun, 22 Nov 2009 00:28:04 +0000 (16:28 -0800)]
Fix bug in handling of environment directives.

15 years agomerge
Robert Bradshaw [Sun, 22 Nov 2009 00:27:12 +0000 (16:27 -0800)]
merge

15 years agoRemove extra files in distribution tar.
Robert Bradshaw [Sat, 21 Nov 2009 05:30:39 +0000 (21:30 -0800)]
Remove extra files in distribution tar.

15 years agoBetter cmd line error message.
Robert Bradshaw [Sat, 21 Nov 2009 01:10:16 +0000 (17:10 -0800)]
Better cmd line error message.

15 years agoOne last precaution with temp files on Windows.
Robert Bradshaw [Tue, 17 Nov 2009 21:35:14 +0000 (13:35 -0800)]
One last precaution with temp files on Windows.

15 years agoBump version.
Robert Bradshaw [Tue, 17 Nov 2009 21:31:50 +0000 (13:31 -0800)]
Bump version.

15 years agoFix forking in runtests.py (ticket #449).
Robert Bradshaw [Tue, 17 Nov 2009 19:07:28 +0000 (11:07 -0800)]
Fix forking in runtests.py (ticket #449).

15 years agoFix for setting real/imaginary parts for MSVC C++.
Robert Bradshaw [Tue, 17 Nov 2009 17:46:07 +0000 (09:46 -0800)]
Fix for setting real/imaginary parts for MSVC C++.

15 years agomake CTypedefType.declaration_code() honor dll_linkage
Lisandro Dalcin [Fri, 13 Nov 2009 20:50:34 +0000 (18:50 -0200)]
make CTypedefType.declaration_code() honor dll_linkage

15 years agoBump version number.
Robert Bradshaw [Fri, 13 Nov 2009 05:34:27 +0000 (21:34 -0800)]
Bump version number.

15 years agoAdded tag 0.12.rc0 for changeset e77827f09af6
Robert Bradshaw [Fri, 13 Nov 2009 05:34:17 +0000 (21:34 -0800)]
Added tag 0.12.rc0 for changeset e77827f09af6

15 years agogroup definition of Py2/Py3 bytes/str compatibility macros in generated C code 0.12.rc0
Lisandro Dalcin [Thu, 12 Nov 2009 13:53:46 +0000 (11:53 -0200)]
group definition of Py2/Py3 bytes/str compatibility macros in generated C code

15 years agomerge
Robert Bradshaw [Wed, 11 Nov 2009 20:46:43 +0000 (12:46 -0800)]
merge

15 years agoFix for in/not in cascading.
Robert Bradshaw [Wed, 11 Nov 2009 20:45:58 +0000 (12:45 -0800)]
Fix for in/not in cascading.

15 years agoimplementation of 'not in' is broken (ticket #455)
Lisandro Dalcin [Wed, 11 Nov 2009 15:11:31 +0000 (13:11 -0200)]
implementation of 'not in' is broken (ticket #455)

15 years agocomment
Stefan Behnel [Wed, 11 Nov 2009 07:35:37 +0000 (08:35 +0100)]
comment

15 years agotest case for #454
Stefan Behnel [Wed, 11 Nov 2009 07:34:40 +0000 (08:34 +0100)]
test case for #454

15 years agocomment
Stefan Behnel [Wed, 11 Nov 2009 07:29:40 +0000 (08:29 +0100)]
comment

15 years agoDisable specialfloat for Windows + old Python. (ticket #450)
Robert Bradshaw [Wed, 11 Nov 2009 07:05:37 +0000 (23:05 -0800)]
Disable specialfloat for Windows + old Python. (ticket #450)

15 years agoFix for different Windows float repr
Robert Bradshaw [Wed, 11 Nov 2009 06:47:43 +0000 (22:47 -0800)]
Fix for different Windows float repr

15 years agoOptional setuptools-based cython build
David Cournapeau [Wed, 11 Nov 2009 06:41:07 +0000 (22:41 -0800)]
Optional setuptools-based cython build

15 years agofix mixed declarations and code in function code generation
Lisandro Dalcin [Tue, 10 Nov 2009 23:48:19 +0000 (21:48 -0200)]
fix mixed declarations and code in function code generation

15 years agoTry-except around doctest tempfile deletion (for windows).
Robert Bradshaw [Fri, 6 Nov 2009 07:12:32 +0000 (23:12 -0800)]
Try-except around doctest tempfile deletion (for windows).

15 years agoRemove unneeded cpp_exception compile test.
Robert Bradshaw [Fri, 6 Nov 2009 05:09:47 +0000 (21:09 -0800)]
Remove unneeded cpp_exception compile test.

It's 100% redundant with the test in the run directory, and fails on Windows.

15 years agoInclude all of Tools.
Robert Bradshaw [Thu, 5 Nov 2009 18:51:12 +0000 (10:51 -0800)]
Include all of Tools.

15 years agoMove cpp_exceptions_helper.cpp to cpp_exceptions_helper.h so it is picked up by sdist.
Robert Bradshaw [Thu, 5 Nov 2009 18:48:43 +0000 (10:48 -0800)]
Move cpp_exceptions_helper.cpp to cpp_exceptions_helper.h so it is picked up by sdist.

--HG--
rename : tests/run/cpp_exceptions_helper.cpp => tests/run/cpp_exceptions_helper.h

15 years agoremove broken option
Robert Bradshaw [Thu, 5 Nov 2009 18:27:40 +0000 (10:27 -0800)]
remove broken option

15 years agoVersion number.
Robert Bradshaw [Thu, 5 Nov 2009 06:41:22 +0000 (22:41 -0800)]
Version number.

15 years agoAdded tag 0.12.alpha0 for changeset 4208042ceeae
Robert Bradshaw [Thu, 5 Nov 2009 06:41:10 +0000 (22:41 -0800)]
Added tag 0.12.alpha0 for changeset 4208042ceeae

15 years agoFix bug #252, mangle illegal optional c argument names. 0.12.alpha0
Robert Bradshaw [Thu, 5 Nov 2009 05:41:14 +0000 (21:41 -0800)]
Fix bug #252, mangle illegal optional c argument names.

15 years agoTests for ticket #446.
Robert Bradshaw [Thu, 5 Nov 2009 05:02:09 +0000 (21:02 -0800)]
Tests for ticket #446.

15 years agoFix ticket #446 (non-float complex regression).
Robert Bradshaw [Thu, 5 Nov 2009 05:01:27 +0000 (21:01 -0800)]
Fix ticket #446 (non-float complex regression).

15 years agorun gc after running a test, prevent the test runner from dead-locking on broken...
Stefan Behnel [Tue, 3 Nov 2009 20:14:10 +0000 (21:14 +0100)]
run gc after running a test, prevent the test runner from dead-locking on broken tests

15 years agoFix #441
Dag Sverre Seljebotn [Tue, 3 Nov 2009 15:35:19 +0000 (16:35 +0100)]
Fix #441

15 years agoOptimized list pop.
Robert Bradshaw [Tue, 3 Nov 2009 09:01:54 +0000 (01:01 -0800)]
Optimized list pop.

15 years agoOptional forking in runtests.py
Robert Bradshaw [Tue, 3 Nov 2009 08:56:50 +0000 (00:56 -0800)]
Optional forking in runtests.py

15 years agoTemporary fix for #441
Dag Sverre Seljebotn [Mon, 2 Nov 2009 19:50:02 +0000 (20:50 +0100)]
Temporary fix for #441

15 years agomerge
Dag Sverre Seljebotn [Mon, 2 Nov 2009 19:23:21 +0000 (20:23 +0100)]
merge

15 years agoFix #444 (utility code not pulled in in corner case)
Dag Sverre Seljebotn [Mon, 2 Nov 2009 19:23:01 +0000 (20:23 +0100)]
Fix #444 (utility code not pulled in in corner case)

15 years agocleanup
Stefan Behnel [Sun, 1 Nov 2009 15:58:44 +0000 (16:58 +0100)]
cleanup

15 years agodisable compile time error in favour of a runtime error as it might be too strict...
Stefan Behnel [Sun, 1 Nov 2009 14:16:58 +0000 (15:16 +0100)]
disable compile time error in favour of a runtime error as it might be too strict and break working code

15 years agotest __new__() optimisation interaction with __cinit__()
Stefan Behnel [Sun, 1 Nov 2009 13:01:50 +0000 (14:01 +0100)]
test __new__() optimisation interaction with __cinit__()

15 years agocomplex number coercion fix
Robert Bradshaw [Sat, 31 Oct 2009 20:52:55 +0000 (13:52 -0700)]
complex number coercion fix

15 years agoFix complex zero division testing.
Robert Bradshaw [Sat, 31 Oct 2009 20:42:53 +0000 (13:42 -0700)]
Fix complex zero division testing.

15 years agofix tp_new() function return type
Stefan Behnel [Sat, 31 Oct 2009 15:46:48 +0000 (16:46 +0100)]
fix tp_new() function return type

15 years agofix C assignment issue for the typed target case
Stefan Behnel [Sat, 31 Oct 2009 14:35:48 +0000 (15:35 +0100)]
fix C assignment issue for the typed target case

15 years agoadd a None check, except for plain extension type names
Stefan Behnel [Sat, 31 Oct 2009 13:17:41 +0000 (14:17 +0100)]
add a None check, except for plain extension type names

15 years agooptimise MyType.__new__(MyType) into a tp_new() slot call
Stefan Behnel [Sat, 31 Oct 2009 13:01:34 +0000 (14:01 +0100)]
optimise MyType.__new__(MyType) into a tp_new() slot call

15 years agoPy3 test fix
Stefan Behnel [Fri, 30 Oct 2009 12:51:28 +0000 (13:51 +0100)]
Py3 test fix

15 years agoPy3 doctest fix
Stefan Behnel [Fri, 30 Oct 2009 12:26:34 +0000 (13:26 +0100)]
Py3 doctest fix

15 years agovarious Py3 test fixes after doctest refactoring
Stefan Behnel [Fri, 30 Oct 2009 12:07:57 +0000 (13:07 +0100)]
various Py3 test fixes after doctest refactoring

15 years agoremove sage-specific and unused incref-local-binop option
Robert Bradshaw [Fri, 30 Oct 2009 06:23:27 +0000 (23:23 -0700)]
remove sage-specific and unused incref-local-binop option

15 years agorewrite of C array iteration support to iterate directly over pointers instead of...
Stefan Behnel [Thu, 29 Oct 2009 16:00:34 +0000 (17:00 +0100)]
rewrite of C array iteration support to iterate directly over pointers instead of ints

15 years agoextended test case
Stefan Behnel [Thu, 29 Oct 2009 15:55:00 +0000 (16:55 +0100)]
extended test case

15 years agofix #442: non-pyobject for-in-loop targets failed with enumerate() optimisation
Stefan Behnel [Thu, 29 Oct 2009 11:59:58 +0000 (12:59 +0100)]
fix #442: non-pyobject for-in-loop targets failed with enumerate() optimisation

15 years agoMove some tests into function docstrings.
Robert Bradshaw [Thu, 29 Oct 2009 11:25:40 +0000 (04:25 -0700)]
Move some tests into function docstrings.

15 years agoextended/fixed test case
Stefan Behnel [Thu, 29 Oct 2009 10:32:06 +0000 (11:32 +0100)]
extended/fixed test case

15 years agooptimise calls to int() and float() for casting purposes
Stefan Behnel [Thu, 29 Oct 2009 10:29:16 +0000 (11:29 +0100)]
optimise calls to int() and float() for casting purposes

15 years agouse plain malloc/free in freezing code
Robert Bradshaw [Thu, 29 Oct 2009 08:30:02 +0000 (01:30 -0700)]
use plain malloc/free in freezing code

15 years agoT442, not T441.
Robert Bradshaw [Thu, 29 Oct 2009 08:01:26 +0000 (01:01 -0700)]
T442, not T441.

15 years agoTest fixes for T441 enumerate bug.
Robert Bradshaw [Thu, 29 Oct 2009 07:59:28 +0000 (00:59 -0700)]
Test fixes for T441 enumerate bug.

15 years agoWorkaround for T441, enumerate optimization bug.
Robert Bradshaw [Thu, 29 Oct 2009 07:59:03 +0000 (00:59 -0700)]
Workaround for T441, enumerate optimization bug.

15 years agoFix to compile sage.
Robert Bradshaw [Thu, 29 Oct 2009 06:36:46 +0000 (23:36 -0700)]
Fix to compile sage.

Was giving a gcc error for a local named "zero"

15 years agoDisable embedded testing for Py3 (can't run Cython).
Robert Bradshaw [Thu, 29 Oct 2009 05:53:25 +0000 (22:53 -0700)]
Disable embedded testing for Py3 (can't run Cython).

15 years agoadd embedding to the test suite
Robert Bradshaw [Thu, 29 Oct 2009 05:49:36 +0000 (22:49 -0700)]
add embedding to the test suite

15 years agoTest for --embedded mode.
Robert Bradshaw [Thu, 29 Oct 2009 05:12:14 +0000 (22:12 -0700)]
Test for --embedded mode.

15 years agoFix complex return values
Dag Sverre Seljebotn [Wed, 28 Oct 2009 16:10:12 +0000 (17:10 +0100)]
Fix complex return values

15 years agomerge
Dag Sverre Seljebotn [Wed, 28 Oct 2009 15:26:04 +0000 (16:26 +0100)]
merge