Robert Bradshaw [Wed, 6 Jan 2010 18:45:13 +0000 (10:45 -0800)]
Merge 0.12 release.
Robert Bradshaw [Mon, 23 Nov 2009 18:32:41 +0000 (10:32 -0800)]
Added tag 0.12 for changeset
fae19937e494
Robert Bradshaw [Mon, 23 Nov 2009 18:32:12 +0000 (10:32 -0800)]
Bump version number.
Robert Bradshaw [Sun, 22 Nov 2009 00:28:04 +0000 (16:28 -0800)]
Fix bug in handling of environment directives.
Robert Bradshaw [Sun, 22 Nov 2009 00:27:12 +0000 (16:27 -0800)]
merge
Robert Bradshaw [Sat, 21 Nov 2009 05:30:39 +0000 (21:30 -0800)]
Remove extra files in distribution tar.
Robert Bradshaw [Sat, 21 Nov 2009 01:10:16 +0000 (17:10 -0800)]
Better cmd line error message.
Robert Bradshaw [Tue, 17 Nov 2009 21:35:14 +0000 (13:35 -0800)]
One last precaution with temp files on Windows.
Robert Bradshaw [Tue, 17 Nov 2009 21:31:50 +0000 (13:31 -0800)]
Bump version.
Robert Bradshaw [Tue, 17 Nov 2009 19:07:28 +0000 (11:07 -0800)]
Fix forking in runtests.py (ticket #449).
Robert Bradshaw [Tue, 17 Nov 2009 17:46:07 +0000 (09:46 -0800)]
Fix for setting real/imaginary parts for MSVC C++.
Stefan Behnel [Tue, 17 Nov 2009 08:13:18 +0000 (09:13 +0100)]
yield statement and expression support (dummy)
Lisandro Dalcin [Fri, 13 Nov 2009 20:50:34 +0000 (18:50 -0200)]
make CTypedefType.declaration_code() honor dll_linkage
Robert Bradshaw [Fri, 13 Nov 2009 05:34:27 +0000 (21:34 -0800)]
Bump version number.
Robert Bradshaw [Fri, 13 Nov 2009 05:34:17 +0000 (21:34 -0800)]
Added tag 0.12.rc0 for changeset
e77827f09af6
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
Robert Bradshaw [Wed, 11 Nov 2009 20:46:43 +0000 (12:46 -0800)]
merge
Robert Bradshaw [Wed, 11 Nov 2009 20:45:58 +0000 (12:45 -0800)]
Fix for in/not in cascading.
Lisandro Dalcin [Wed, 11 Nov 2009 15:11:31 +0000 (13:11 -0200)]
implementation of 'not in' is broken (ticket #455)
Stefan Behnel [Wed, 11 Nov 2009 07:35:37 +0000 (08:35 +0100)]
comment
Stefan Behnel [Wed, 11 Nov 2009 07:34:40 +0000 (08:34 +0100)]
test case for #454
Stefan Behnel [Wed, 11 Nov 2009 07:29:40 +0000 (08:29 +0100)]
comment
Robert Bradshaw [Wed, 11 Nov 2009 07:05:37 +0000 (23:05 -0800)]
Disable specialfloat for Windows + old Python. (ticket #450)
Robert Bradshaw [Wed, 11 Nov 2009 06:47:43 +0000 (22:47 -0800)]
Fix for different Windows float repr
David Cournapeau [Wed, 11 Nov 2009 06:41:07 +0000 (22:41 -0800)]
Optional setuptools-based cython build
Lisandro Dalcin [Tue, 10 Nov 2009 23:48:19 +0000 (21:48 -0200)]
fix mixed declarations and code in function code generation
Stefan Behnel [Sat, 7 Nov 2009 15:57:21 +0000 (16:57 +0100)]
merged in latest cython-devel
Robert Bradshaw [Fri, 6 Nov 2009 07:12:32 +0000 (23:12 -0800)]
Try-except around doctest tempfile deletion (for windows).
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.
Robert Bradshaw [Thu, 5 Nov 2009 18:51:12 +0000 (10:51 -0800)]
Include all of Tools.
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
Robert Bradshaw [Thu, 5 Nov 2009 18:27:40 +0000 (10:27 -0800)]
remove broken option
Robert Bradshaw [Thu, 5 Nov 2009 06:41:22 +0000 (22:41 -0800)]
Version number.
Robert Bradshaw [Thu, 5 Nov 2009 06:41:10 +0000 (22:41 -0800)]
Added tag 0.12.alpha0 for changeset
4208042ceeae
Robert Bradshaw [Thu, 5 Nov 2009 05:41:14 +0000 (21:41 -0800)]
Fix bug #252, mangle illegal optional c argument names.
Robert Bradshaw [Thu, 5 Nov 2009 05:02:09 +0000 (21:02 -0800)]
Tests for ticket #446.
Robert Bradshaw [Thu, 5 Nov 2009 05:01:27 +0000 (21:01 -0800)]
Fix ticket #446 (non-float complex regression).
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
Dag Sverre Seljebotn [Tue, 3 Nov 2009 15:35:19 +0000 (16:35 +0100)]
Fix #441
Robert Bradshaw [Tue, 3 Nov 2009 09:01:54 +0000 (01:01 -0800)]
Optimized list pop.
Robert Bradshaw [Tue, 3 Nov 2009 08:56:50 +0000 (00:56 -0800)]
Optional forking in runtests.py
Dag Sverre Seljebotn [Mon, 2 Nov 2009 19:50:02 +0000 (20:50 +0100)]
Temporary fix for #441
Dag Sverre Seljebotn [Mon, 2 Nov 2009 19:23:21 +0000 (20:23 +0100)]
merge
Dag Sverre Seljebotn [Mon, 2 Nov 2009 19:23:01 +0000 (20:23 +0100)]
Fix #444 (utility code not pulled in in corner case)
Stefan Behnel [Sun, 1 Nov 2009 15:58:44 +0000 (16:58 +0100)]
cleanup
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
Stefan Behnel [Sun, 1 Nov 2009 13:01:50 +0000 (14:01 +0100)]
test __new__() optimisation interaction with __cinit__()
Robert Bradshaw [Sat, 31 Oct 2009 20:52:55 +0000 (13:52 -0700)]
complex number coercion fix
Robert Bradshaw [Sat, 31 Oct 2009 20:42:53 +0000 (13:42 -0700)]
Fix complex zero division testing.
Stefan Behnel [Sat, 31 Oct 2009 15:46:48 +0000 (16:46 +0100)]
fix tp_new() function return type
Stefan Behnel [Sat, 31 Oct 2009 14:35:48 +0000 (15:35 +0100)]
fix C assignment issue for the typed target case
Stefan Behnel [Sat, 31 Oct 2009 13:17:41 +0000 (14:17 +0100)]
add a None check, except for plain extension type names
Stefan Behnel [Sat, 31 Oct 2009 13:01:34 +0000 (14:01 +0100)]
optimise MyType.__new__(MyType) into a tp_new() slot call
Stefan Behnel [Fri, 30 Oct 2009 12:51:28 +0000 (13:51 +0100)]
Py3 test fix
Stefan Behnel [Fri, 30 Oct 2009 12:26:34 +0000 (13:26 +0100)]
Py3 doctest fix
Stefan Behnel [Fri, 30 Oct 2009 12:07:57 +0000 (13:07 +0100)]
various Py3 test fixes after doctest refactoring
Stefan Behnel [Fri, 30 Oct 2009 09:51:33 +0000 (10:51 +0100)]
merged in latest cython-devel
Robert Bradshaw [Fri, 30 Oct 2009 06:23:27 +0000 (23:23 -0700)]
remove sage-specific and unused incref-local-binop option
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
Stefan Behnel [Thu, 29 Oct 2009 15:55:00 +0000 (16:55 +0100)]
extended test case
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
Robert Bradshaw [Thu, 29 Oct 2009 11:25:40 +0000 (04:25 -0700)]
Move some tests into function docstrings.
Stefan Behnel [Thu, 29 Oct 2009 10:32:06 +0000 (11:32 +0100)]
extended/fixed test case
Stefan Behnel [Thu, 29 Oct 2009 10:29:16 +0000 (11:29 +0100)]
optimise calls to int() and float() for casting purposes
Robert Bradshaw [Thu, 29 Oct 2009 08:30:02 +0000 (01:30 -0700)]
use plain malloc/free in freezing code
Robert Bradshaw [Thu, 29 Oct 2009 08:01:26 +0000 (01:01 -0700)]
T442, not T441.
Robert Bradshaw [Thu, 29 Oct 2009 07:59:28 +0000 (00:59 -0700)]
Test fixes for T441 enumerate bug.
Robert Bradshaw [Thu, 29 Oct 2009 07:59:03 +0000 (00:59 -0700)]
Workaround for T441, enumerate optimization bug.
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"
Robert Bradshaw [Thu, 29 Oct 2009 05:53:25 +0000 (22:53 -0700)]
Disable embedded testing for Py3 (can't run Cython).
Robert Bradshaw [Thu, 29 Oct 2009 05:49:36 +0000 (22:49 -0700)]
add embedding to the test suite
Robert Bradshaw [Thu, 29 Oct 2009 05:12:14 +0000 (22:12 -0700)]
Test for --embedded mode.
Dag Sverre Seljebotn [Wed, 28 Oct 2009 16:10:12 +0000 (17:10 +0100)]
Fix complex return values
Dag Sverre Seljebotn [Wed, 28 Oct 2009 15:26:04 +0000 (16:26 +0100)]
merge
Dag Sverre Seljebotn [Wed, 28 Oct 2009 15:25:32 +0000 (16:25 +0100)]
Testcase: Coercing typedef float to complex miscompiles
Stefan Behnel [Wed, 28 Oct 2009 13:29:21 +0000 (14:29 +0100)]
extended test case for ticket 252
--HG--
rename : tests/compile/bad_c_struct_T252.pyx => tests/run/bad_c_struct_T252.pyx
Sturla Molden [Wed, 28 Oct 2009 09:57:23 +0000 (02:57 -0700)]
Syntax highlighting for Cython and NumPy for KATE and KDevelop.
Robert Bradshaw [Wed, 28 Oct 2009 09:51:14 +0000 (02:51 -0700)]
merge
Stefan Behnel [Wed, 28 Oct 2009 07:57:12 +0000 (08:57 +0100)]
added doctest to compile test case
--HG--
rename : tests/compile/coercearraytoptr.pyx => tests/run/coercearraytoptr.pyx
Stefan Behnel [Wed, 28 Oct 2009 07:02:03 +0000 (08:02 +0100)]
extended test case to make sure the ref-count optimisation strikes
Stefan Behnel [Wed, 28 Oct 2009 06:23:17 +0000 (07:23 +0100)]
drop ref-counting on C attribute swaps
Stefan Behnel [Tue, 27 Oct 2009 22:04:32 +0000 (23:04 +0100)]
Py3 test fixes
Stefan Behnel [Tue, 27 Oct 2009 20:57:28 +0000 (21:57 +0100)]
test fixes for Py2.4
Dag Sverre Seljebotn [Tue, 27 Oct 2009 19:18:19 +0000 (20:18 +0100)]
merge
Dag Sverre Seljebotn [Tue, 27 Oct 2009 19:18:02 +0000 (20:18 +0100)]
numpy.pxd: Add intp_t and uintp_t
Stefan Behnel [Tue, 27 Oct 2009 11:51:12 +0000 (12:51 +0100)]
efficiently support for-in loops over char* arrays/pointers
Dag Sverre Seljebotn [Mon, 26 Oct 2009 11:56:23 +0000 (12:56 +0100)]
Nicer error message for undeclared[idx]
Stefan Behnel [Mon, 26 Oct 2009 08:49:46 +0000 (09:49 +0100)]
check for bytes.decode() optimisation in test case
Stefan Behnel [Mon, 26 Oct 2009 08:43:14 +0000 (09:43 +0100)]
extended test case
Stefan Behnel [Mon, 26 Oct 2009 08:42:20 +0000 (09:42 +0100)]
drop redundant specialisation code from for-in loop if we know it's not a list or tuple
Stefan Behnel [Mon, 26 Oct 2009 06:52:43 +0000 (07:52 +0100)]
cleanup, support unbound method calls to bytes.decode()
Stefan Behnel [Sun, 25 Oct 2009 20:28:56 +0000 (21:28 +0100)]
ticket 436: efficiently support char*.decode() through C-API calls
Lisandro Dalcin [Sun, 25 Oct 2009 19:28:03 +0000 (17:28 -0200)]
add missing slots 'tp_del' (Py>=2.3) and 'tp_version_tag' (Py>=2.6)
Stefan Behnel [Sun, 25 Oct 2009 08:17:08 +0000 (09:17 +0100)]
fix intern() test in Py3
Lisandro Dalcin [Sat, 24 Oct 2009 21:18:52 +0000 (19:18 -0200)]
fix testcase
Robert Bradshaw [Sat, 24 Oct 2009 20:44:36 +0000 (13:44 -0700)]
Better makefile clean.
Bug and fix reported by Mark Lodato.
Mark Lodato [Sat, 24 Oct 2009 20:17:23 +0000 (16:17 -0400)]
--embed mode: fix Py3, floating point on FreeBSD
Incorporate the changes of cython_freeze:
* fix when compiling on Python 3 (Issue #434)
* fix floating point issues on FreeBSD
Mark Lodato [Sat, 24 Oct 2009 19:37:28 +0000 (15:37 -0400)]
freeze: fix for compiling with Python3
To get the output of cython_freeze to compile with both Python 2 and
Python 3, I copied the contents of Python-3.1.1/Modules/python.c, with
some slight modifications. The main issue is that Python 3 uses
wchar_t, while Python 2 uses char. It also appears that the
Py_FlushLine/PyErr_Clear is not needed in Python 3.
Related to #434: "main() function generated by --embed doesn't compile
in Py3"
Mark Lodato [Sat, 24 Oct 2009 19:01:29 +0000 (15:01 -0400)]
freeze: exit(2) in examples, to test exit code
The cython_freeze-generated executable exits with code 1 if something
wrong happens, unless a SystemExit exception occurred, in which case it
returns the value passed to sys.exit(). In order to differentiate
between the two cases, change the two example Cython modules to exit(2).
Mark Lodato [Sat, 24 Oct 2009 18:40:41 +0000 (14:40 -0400)]
freeze: include FreeBSD fix from Python's main()
Copy the fix for floating point exceptions on FreeBSD from Python's
Module/python.c.