Robert Bradshaw [Thu, 15 Oct 2009 19:47:38 +0000 (12:47 -0700)]
Another blacklisted autotestdict method.
Dag Sverre Seljebotn [Thu, 15 Oct 2009 19:28:41 +0000 (21:28 +0200)]
Incomplete hack for autotestdict, see #387
Stefan Behnel [Thu, 15 Oct 2009 14:58:31 +0000 (16:58 +0200)]
cleanup
Stefan Behnel [Thu, 15 Oct 2009 14:34:13 +0000 (16:34 +0200)]
new ndarray.base setter/getter functions by Neal Becker
Stefan Behnel [Thu, 15 Oct 2009 14:26:14 +0000 (16:26 +0200)]
fix PyObject declaration
Stefan Behnel [Thu, 15 Oct 2009 14:24:09 +0000 (16:24 +0200)]
fix PyObject declaration
Stefan Behnel [Thu, 15 Oct 2009 14:11:01 +0000 (16:11 +0200)]
fix PyObject import in numpy.pxd, added ndarray.base attribute declaration
Stefan Behnel [Thu, 15 Oct 2009 14:08:52 +0000 (16:08 +0200)]
reenable test forking in test runner
Dag Sverre Seljebotn [Thu, 15 Oct 2009 11:36:27 +0000 (13:36 +0200)]
merge
Dag Sverre Seljebotn [Thu, 15 Oct 2009 11:36:04 +0000 (13:36 +0200)]
Remove use of TempNode in FromImportStatNode
Robert Bradshaw [Thu, 15 Oct 2009 11:05:14 +0000 (04:05 -0700)]
merge
Robert Bradshaw [Thu, 15 Oct 2009 11:04:26 +0000 (04:04 -0700)]
Only need simple, don't need to force temp for bool binop nodes.
Robert Bradshaw [Thu, 15 Oct 2009 10:58:28 +0000 (03:58 -0700)]
Fix short-circuit for and/or, preserve type.
Dag Sverre Seljebotn [Thu, 15 Oct 2009 10:56:57 +0000 (12:56 +0200)]
merge
Dag Sverre Seljebotn [Thu, 15 Oct 2009 10:54:48 +0000 (12:54 +0200)]
Remove TempNode from OverrideCheckNode (fixes #411)
Robert Bradshaw [Thu, 15 Oct 2009 10:39:59 +0000 (03:39 -0700)]
Fix typo in test.
Robert Bradshaw [Thu, 15 Oct 2009 10:01:39 +0000 (03:01 -0700)]
short circut bug test #404
Robert Bradshaw [Thu, 15 Oct 2009 09:43:58 +0000 (02:43 -0700)]
Allow explicit casts between object and void*/struct*.
Robert Bradshaw [Thu, 15 Oct 2009 09:00:28 +0000 (02:00 -0700)]
Fix #245, crash on cimported struct -> object.
Robert Bradshaw [Thu, 15 Oct 2009 08:42:39 +0000 (01:42 -0700)]
merge
Robert Bradshaw [Thu, 15 Oct 2009 08:42:28 +0000 (01:42 -0700)]
Testcase for #411, cpdef temps.
Robert Bradshaw [Thu, 15 Oct 2009 08:41:23 +0000 (01:41 -0700)]
Minor cleanup.
Dag Sverre Seljebotn [Thu, 15 Oct 2009 08:35:20 +0000 (10:35 +0200)]
complexvar.conjugate() support
Dag Sverre Seljebotn [Thu, 15 Oct 2009 08:07:37 +0000 (10:07 +0200)]
Adding reminders to self
Dag Sverre Seljebotn [Thu, 15 Oct 2009 08:01:27 +0000 (10:01 +0200)]
#412 testcase
Dag Sverre Seljebotn [Thu, 15 Oct 2009 07:18:37 +0000 (09:18 +0200)]
Testcase for 304
Dag Sverre Seljebotn [Thu, 15 Oct 2009 07:14:33 +0000 (09:14 +0200)]
Testcase for #373
Dag Sverre Seljebotn [Thu, 15 Oct 2009 07:05:08 +0000 (09:05 +0200)]
Testcase for #245
Dag Sverre Seljebotn [Thu, 15 Oct 2009 06:20:44 +0000 (08:20 +0200)]
merge
Dag Sverre Seljebotn [Thu, 15 Oct 2009 06:08:59 +0000 (08:08 +0200)]
numpy.pxd: Iterator macros
Robert Bradshaw [Thu, 15 Oct 2009 05:34:58 +0000 (22:34 -0700)]
Fix error in hashing partially-declared types.
Robert Bradshaw [Thu, 15 Oct 2009 05:19:15 +0000 (22:19 -0700)]
New test for #409
Robert Bradshaw [Thu, 15 Oct 2009 05:06:59 +0000 (22:06 -0700)]
Fix bug #409 with temps and sequence unpacking.
Lisandro Dalcin [Wed, 14 Oct 2009 23:12:10 +0000 (20:12 -0300)]
fix for changes in PyXXXDescrObject structures in upcoming Py3.2
Lisandro Dalcin [Wed, 14 Oct 2009 21:22:16 +0000 (18:22 -0300)]
fix testcase to silent compiler warnings
Lisandro Dalcin [Wed, 14 Oct 2009 21:11:17 +0000 (18:11 -0300)]
fix for distutils changes in upcoming Py2.7 and Py3.2
Lisandro Dalcin [Wed, 14 Oct 2009 20:40:05 +0000 (17:40 -0300)]
RefNanny: renaming of internal stuff and simpler import/export API
Lisandro Dalcin [Wed, 14 Oct 2009 18:57:48 +0000 (15:57 -0300)]
fix for unittest changes in upcoming Py2.7 and Py3.2
Stefan Behnel [Wed, 14 Oct 2009 14:03:10 +0000 (16:03 +0200)]
fix new .pxd file and cimport it in python.pxd
Stefan Behnel [Wed, 14 Oct 2009 13:59:18 +0000 (15:59 +0200)]
PyCObject C-API declarations
Stefan Behnel [Wed, 14 Oct 2009 11:49:18 +0000 (13:49 +0200)]
merge
Stefan Behnel [Wed, 14 Oct 2009 11:31:27 +0000 (13:31 +0200)]
safer way to initialise string constants: keep bytes/str/unicode separated also in corner cases
Stefan Behnel [Wed, 14 Oct 2009 09:48:27 +0000 (11:48 +0200)]
fix nice_identifier regex
Stefan Behnel [Wed, 14 Oct 2009 09:46:38 +0000 (11:46 +0200)]
fix identifier handling: must not use encoding
Stefan Behnel [Tue, 13 Oct 2009 18:05:21 +0000 (20:05 +0200)]
fix ticket #346
Lisandro Dalcin [Tue, 13 Oct 2009 14:20:37 +0000 (11:20 -0300)]
Seamless C99/C++ complex numbers support (ticket #398)
Stefan Behnel [Mon, 12 Oct 2009 11:48:15 +0000 (13:48 +0200)]
small refactoring and cleanup in try-except code generation
Stefan Behnel [Mon, 12 Oct 2009 11:30:49 +0000 (13:30 +0200)]
cleanup
Stefan Behnel [Mon, 12 Oct 2009 07:03:21 +0000 (09:03 +0200)]
fix PyString_CheckExact definition in Py3, minor cleanup
Stefan Behnel [Sun, 11 Oct 2009 08:38:53 +0000 (10:38 +0200)]
do not check identifiers for decodability
Stefan Behnel [Sun, 11 Oct 2009 08:32:16 +0000 (10:32 +0200)]
test fix after str changes
Stefan Behnel [Sun, 11 Oct 2009 08:26:56 +0000 (10:26 +0200)]
fix builtins after identifier changes
Stefan Behnel [Sun, 11 Oct 2009 08:23:28 +0000 (10:23 +0200)]
fix identifiers, simplify Python string cnames
Stefan Behnel [Sun, 11 Oct 2009 07:59:44 +0000 (09:59 +0200)]
safety fix
Stefan Behnel [Sun, 11 Oct 2009 07:28:43 +0000 (09:28 +0200)]
implement proper encoding support for new str literals
Stefan Behnel [Sat, 10 Oct 2009 19:45:42 +0000 (21:45 +0200)]
disable coercion from str->bytes, fix coercion from str->object
Stefan Behnel [Sat, 10 Oct 2009 16:34:19 +0000 (18:34 +0200)]
fix undefined symbol in Py<2.6 when assigning to bytes variables
Stefan Behnel [Sat, 10 Oct 2009 15:06:02 +0000 (17:06 +0200)]
test fixes
Stefan Behnel [Sat, 10 Oct 2009 15:05:42 +0000 (17:05 +0200)]
fix char* coercion to other C types (such as void*)
Stefan Behnel [Sat, 10 Oct 2009 14:50:31 +0000 (16:50 +0200)]
error reporting on string type coercion
Stefan Behnel [Sat, 10 Oct 2009 13:46:35 +0000 (15:46 +0200)]
provide 'str' type in Builtins.py
Stefan Behnel [Sat, 10 Oct 2009 11:32:02 +0000 (13:32 +0200)]
enable cleanup code generation in test runner
Stefan Behnel [Sat, 10 Oct 2009 11:28:30 +0000 (13:28 +0200)]
merge
Stefan Behnel [Sat, 10 Oct 2009 11:28:03 +0000 (13:28 +0200)]
disable forked testing in Py3, doesn't currently work due to stdlib differences
Stefan Behnel [Sat, 10 Oct 2009 10:13:26 +0000 (12:13 +0200)]
Py3 test fix
Stefan Behnel [Sat, 10 Oct 2009 10:01:40 +0000 (12:01 +0200)]
Py2.3 fix
Stefan Behnel [Sat, 10 Oct 2009 09:57:34 +0000 (11:57 +0200)]
support StringNode in compile time expressions
Stefan Behnel [Sat, 10 Oct 2009 09:46:54 +0000 (11:46 +0200)]
test fix
Stefan Behnel [Sat, 10 Oct 2009 09:39:28 +0000 (11:39 +0200)]
test fixes
Stefan Behnel [Sat, 10 Oct 2009 09:35:58 +0000 (11:35 +0200)]
test fix
Stefan Behnel [Sat, 10 Oct 2009 09:18:55 +0000 (11:18 +0200)]
let str() in Py3 represent the unicode type
Stefan Behnel [Sat, 10 Oct 2009 09:05:53 +0000 (11:05 +0200)]
split BytesNode, UnicodeNode and StringNode
Stefan Behnel [Sat, 10 Oct 2009 04:36:09 +0000 (06:36 +0200)]
removed unused function
Lisandro Dalcin [Fri, 9 Oct 2009 17:48:25 +0000 (14:48 -0300)]
fix globals cleanup code generation
--HG--
extra : rebase_source :
892238115e1b0c2f36411ee14110c2207230ca02
Stefan Behnel [Fri, 9 Oct 2009 15:13:14 +0000 (17:13 +0200)]
some more type inference tests
Stefan Behnel [Fri, 9 Oct 2009 15:04:58 +0000 (17:04 +0200)]
cleanup
Stefan Behnel [Fri, 9 Oct 2009 14:44:30 +0000 (16:44 +0200)]
merge
Stefan Behnel [Fri, 9 Oct 2009 14:40:47 +0000 (16:40 +0200)]
make ref-count function declarations in Includes/python_ref.pxd actually usable
Lisandro Dalcin [Thu, 8 Oct 2009 23:30:07 +0000 (20:30 -0300)]
a few Py3k fixes in runtests.py
Lisandro Dalcin [Thu, 8 Oct 2009 22:48:00 +0000 (19:48 -0300)]
fix failing testcase in Py2 because of long suffix
Robert Bradshaw [Thu, 8 Oct 2009 04:50:09 +0000 (21:50 -0700)]
Get rid of errors for typeof test.
Robert Bradshaw [Thu, 8 Oct 2009 04:47:14 +0000 (21:47 -0700)]
Fix for Python 2.3
Robert Bradshaw [Thu, 8 Oct 2009 04:40:48 +0000 (21:40 -0700)]
Remove string semantics change warning.
Stefan Behnel [Wed, 7 Oct 2009 18:23:55 +0000 (20:23 +0200)]
use os.fork() when running doctests to prevent tested modules from staying in sys.modules
Robert Bradshaw [Tue, 6 Oct 2009 11:09:22 +0000 (04:09 -0700)]
merge
Mark Lodato [Tue, 6 Oct 2009 08:57:48 +0000 (01:57 -0700)]
set module_is_main = 1 in main(), not globally
From
3ebc39282aa9a8379069df12b0c8cc86a2ac8a25 Mon Sep 17 00:00:00 2001
Date: Mon, 5 Oct 2009 21:17:04 -0400
For --embed mode, always initialize the global variable
__pyx_module_is_main_MODULE to zero, even with --embed, and only set it
to one in main(). This would allow the same code to still work if
compiled as a shared library (main would be ignored) and also make the
code cleaner since all of the --embed stuff would be in one place.
---
Cython/Compiler/ModuleNode.py | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
Mark Lodato [Tue, 6 Oct 2009 08:54:49 +0000 (01:54 -0700)]
fix -Wextra warning for empty `else' body
From
faba5d52ae82239f522c108b51fa18dbb1ae9a8b Mon Sep 17 00:00:00 2001
Date: Mon, 5 Oct 2009 22:49:07 -0400
The macros XDECREF, XGIVEREF, and XGOTREF used ";" to denote an empty if
and else body, but these raised the following warning when compiled with
"gcc -Wall -Wextra":
warning: suggest braces around empty body in an `else' statement
---
Cython/Compiler/ModuleNode.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Dag Sverre Seljebotn [Mon, 5 Oct 2009 13:22:38 +0000 (15:22 +0200)]
Blatant ommision
Dag Sverre Seljebotn [Mon, 5 Oct 2009 13:11:44 +0000 (15:11 +0200)]
merge
Dag Sverre Seljebotn [Mon, 5 Oct 2009 13:09:01 +0000 (15:09 +0200)]
Fix wrong ctypedef testcase via autotestdict
Dag Sverre Seljebotn [Mon, 5 Oct 2009 13:08:16 +0000 (15:08 +0200)]
Rename doctesthack -> autotestdict, and make it default
--HG--
rename : tests/errors/e_doctesthack.pyx => tests/errors/e_autotestdict.pyx
rename : tests/run/doctesthack.pyx => tests/run/autotestdict.pyx
rename : tests/run/doctesthack_skip.pyx => tests/run/autotestdict_skip.pyx
Dag Sverre Seljebotn [Mon, 5 Oct 2009 13:04:47 +0000 (15:04 +0200)]
Fix doctesthack for cdef functions
Mark Lodato [Sun, 4 Oct 2009 21:23:35 +0000 (17:23 -0400)]
make cython_freeze.py executable
Stefan Behnel [Tue, 6 Oct 2009 07:22:46 +0000 (09:22 +0200)]
support .py extension in cython_freeze
Stefan Behnel [Sun, 4 Oct 2009 19:44:03 +0000 (21:44 +0200)]
test for 'first assignment' algorithm
Stefan Behnel [Sun, 4 Oct 2009 19:11:22 +0000 (21:11 +0200)]
support 'and' operator and boolean attribute values in TreePath predicates
Stefan Behnel [Sun, 4 Oct 2009 16:56:10 +0000 (18:56 +0200)]
extended TreePath test case, fix predicate evaluation
Stefan Behnel [Sun, 4 Oct 2009 15:36:49 +0000 (17:36 +0200)]
fix left-over from earlier commit
Stefan Behnel [Sun, 4 Oct 2009 15:31:47 +0000 (17:31 +0200)]
PEP-8-ified the decorator names for parse tree assertions, added a test case
Stefan Behnel [Sun, 4 Oct 2009 14:42:16 +0000 (16:42 +0200)]
parse tree test assertions for optimisations on loops and comprehensions