cython.git
14 years agoremoved code redundancy: do not generate ParallelAssignmentNode in parser at all...
Stefan Behnel [Thu, 4 Mar 2010 21:56:20 +0000 (22:56 +0100)]
removed code redundancy: do not generate ParallelAssignmentNode in parser at all, only in PostParse transform

14 years agomoved code for flattening parallel assignments from parser into PostParse transform
Stefan Behnel [Thu, 4 Mar 2010 18:05:56 +0000 (19:05 +0100)]
moved code for flattening parallel assignments from parser into PostParse transform

14 years agodocstrings
Stefan Behnel [Thu, 4 Mar 2010 18:04:39 +0000 (19:04 +0100)]
docstrings

14 years agoextended test case
Stefan Behnel [Thu, 4 Mar 2010 18:04:00 +0000 (19:04 +0100)]
extended test case

14 years agofix for slice assignment
Lisandro Dalcin [Wed, 24 Feb 2010 20:21:15 +0000 (17:21 -0300)]
fix for slice assignment

14 years agosafety fix
Stefan Behnel [Thu, 25 Feb 2010 12:08:20 +0000 (13:08 +0100)]
safety fix

14 years agosupport for builtin iter(x, sentinel)
Stefan Behnel [Wed, 24 Feb 2010 13:23:58 +0000 (14:23 +0100)]
support for builtin iter(x, sentinel)

14 years agoAvoid extra function call for un-optimized __Pyx_PyDict_GetItem.
Robert Bradshaw [Wed, 24 Feb 2010 06:12:26 +0000 (22:12 -0800)]
Avoid extra function call for un-optimized __Pyx_PyDict_GetItem.

14 years agoRemove benchmark from tests.
Robert Bradshaw [Wed, 24 Feb 2010 06:10:00 +0000 (22:10 -0800)]
Remove benchmark from tests.

14 years agoremoved apparently dead comment
Stefan Behnel [Tue, 23 Feb 2010 17:22:04 +0000 (18:22 +0100)]
removed apparently dead comment

14 years agoremove 'inline' hint for lengthy dict.get() code
Stefan Behnel [Tue, 23 Feb 2010 15:34:35 +0000 (16:34 +0100)]
remove 'inline' hint for lengthy dict.get() code

14 years agoreverted PyDict_GetItem() implementation, replaced by selective optimisation in Py3
Stefan Behnel [Tue, 23 Feb 2010 14:59:59 +0000 (15:59 +0100)]
reverted PyDict_GetItem() implementation, replaced by selective optimisation in Py3

14 years agofix dict.get() fallback in Py2
Stefan Behnel [Tue, 23 Feb 2010 14:43:28 +0000 (15:43 +0100)]
fix dict.get() fallback in Py2

14 years agoextended test case
Stefan Behnel [Tue, 23 Feb 2010 14:37:40 +0000 (15:37 +0100)]
extended test case

14 years agomerge
Stefan Behnel [Tue, 23 Feb 2010 14:27:59 +0000 (15:27 +0100)]
merge

14 years agooptimise dict.get() in Py3 (and in Py2 when applicable)
Stefan Behnel [Tue, 23 Feb 2010 14:26:00 +0000 (15:26 +0100)]
optimise dict.get() in Py3 (and in Py2 when applicable)

14 years agorenamed test case
Stefan Behnel [Tue, 23 Feb 2010 12:47:32 +0000 (13:47 +0100)]
renamed test case

--HG--
rename : tests/run/dict_getitme.pyx => tests/run/dict_getitem.pyx

14 years agotypo
Robert Bradshaw [Tue, 23 Feb 2010 07:55:06 +0000 (23:55 -0800)]
typo

--HG--
rename : tests/run/dict_getitme.pyx => tests/run/dict_getitem.pyx

14 years agoNone dict getitem test.
Robert Bradshaw [Tue, 23 Feb 2010 07:46:17 +0000 (23:46 -0800)]
None dict getitem test.

14 years agoDict getitem test.
Robert Bradshaw [Tue, 23 Feb 2010 07:44:19 +0000 (23:44 -0800)]
Dict getitem test.

14 years agoFast GetItem for declared dicts.
Robert Bradshaw [Tue, 23 Feb 2010 07:43:58 +0000 (23:43 -0800)]
Fast GetItem for declared dicts.

14 years agodoctests for cpp wrapper
Stefan Behnel [Sun, 21 Feb 2010 13:46:16 +0000 (14:46 +0100)]
doctests for cpp wrapper

14 years agotest runner fix: apparently, source files must be in the same directory
Stefan Behnel [Sun, 21 Feb 2010 13:45:44 +0000 (14:45 +0100)]
test runner fix: apparently, source files must be in the same directory

14 years agofix wrapper tests, now that the compiler is fixed
Stefan Behnel [Sun, 21 Feb 2010 13:27:30 +0000 (14:27 +0100)]
fix wrapper tests, now that the compiler is fixed

14 years agofix wrapper tests, now that the compiler is fixed
Stefan Behnel [Sun, 21 Feb 2010 13:20:18 +0000 (14:20 +0100)]
fix wrapper tests, now that the compiler is fixed

14 years agomerge latest cython-devel
Robert Bradshaw [Sun, 21 Feb 2010 05:11:38 +0000 (21:11 -0800)]
merge latest cython-devel

14 years agoAnnotation fix.
Robert Bradshaw [Sun, 21 Feb 2010 05:06:12 +0000 (21:06 -0800)]
Annotation fix.

14 years agoC99 inline
Robert Bradshaw [Sun, 21 Feb 2010 04:48:56 +0000 (20:48 -0800)]
C99 inline

14 years agoNested classes example.
Robert Bradshaw [Sun, 21 Feb 2010 04:38:58 +0000 (20:38 -0800)]
Nested classes example.

14 years agoAllow nested C++ types.
Robert Bradshaw [Sun, 21 Feb 2010 04:17:58 +0000 (20:17 -0800)]
Allow nested C++ types.

14 years agomerge
Dag Sverre Seljebotn [Sat, 20 Feb 2010 12:36:43 +0000 (13:36 +0100)]
merge

14 years agoFix #508
Dag Sverre Seljebotn [Sat, 20 Feb 2010 12:36:10 +0000 (13:36 +0100)]
Fix #508

14 years agoUse string literals for namespace (rather than dotted names).
Robert Bradshaw [Sat, 20 Feb 2010 04:47:58 +0000 (20:47 -0800)]
Use string literals for namespace (rather than dotted names).

14 years agomerge
Robert Bradshaw [Sat, 20 Feb 2010 02:06:37 +0000 (18:06 -0800)]
merge

14 years agoCompiler crash on calling non-entry function.
Robert Bradshaw [Sat, 20 Feb 2010 02:04:56 +0000 (18:04 -0800)]
Compiler crash on calling non-entry function.

14 years agoFunction overloading fixes.
Robert Bradshaw [Fri, 19 Feb 2010 20:01:20 +0000 (12:01 -0800)]
Function overloading fixes.

14 years agoMore complicated template tests.
Robert Bradshaw [Fri, 19 Feb 2010 20:00:56 +0000 (12:00 -0800)]
More complicated template tests.

14 years agoMore cimported type fixes.
Robert Bradshaw [Fri, 19 Feb 2010 19:32:43 +0000 (11:32 -0800)]
More cimported type fixes.

14 years agoFix on constructor call from cimported C++ classes
daniloaf [Fri, 19 Feb 2010 17:39:44 +0000 (14:39 -0300)]
Fix on constructor call from cimported C++ classes

14 years agoterminology fix
Robert Bradshaw [Fri, 19 Feb 2010 02:06:38 +0000 (18:06 -0800)]
terminology fix

14 years agoC++ class constructor calls.
Robert Bradshaw [Fri, 19 Feb 2010 02:01:37 +0000 (18:01 -0800)]
C++ class constructor calls.

14 years agoFix empty multi-dimensional array declarations.
Robert Bradshaw [Fri, 19 Feb 2010 01:49:10 +0000 (17:49 -0800)]
Fix empty multi-dimensional array declarations.

14 years agoMore array declaration tests.
Robert Bradshaw [Fri, 19 Feb 2010 01:49:08 +0000 (17:49 -0800)]
More array declaration tests.

14 years agonew Emacs cython-mode by Georg Brandl
Stefan Behnel [Wed, 17 Feb 2010 21:00:30 +0000 (22:00 +0100)]
new Emacs cython-mode by Georg Brandl

14 years agomerge
Stefan Behnel [Wed, 17 Feb 2010 20:59:28 +0000 (21:59 +0100)]
merge

14 years agoremove extraneous file
Robert Bradshaw [Wed, 17 Feb 2010 17:49:17 +0000 (09:49 -0800)]
remove extraneous file

14 years agosomewhat ugly hack for Py3.1+ to get Cython modules compiled on installation
Stefan Behnel [Wed, 17 Feb 2010 16:17:33 +0000 (17:17 +0100)]
somewhat ugly hack for Py3.1+ to get Cython modules compiled on installation

14 years agodisable extern_builtins_T258 test in Py2.3 (not a meaningful test there)
Stefan Behnel [Wed, 17 Feb 2010 14:07:31 +0000 (15:07 +0100)]
disable extern_builtins_T258 test in Py2.3 (not a meaningful test there)

14 years agofix test case in Py3
Lisandro Dalcin [Wed, 17 Feb 2010 13:12:46 +0000 (10:12 -0300)]
fix test case in Py3

14 years agomerge
Robert Bradshaw [Wed, 17 Feb 2010 09:05:46 +0000 (01:05 -0800)]
merge

14 years agoFix pop optimization for 2.3.
Robert Bradshaw [Wed, 17 Feb 2010 09:05:21 +0000 (01:05 -0800)]
Fix pop optimization for 2.3.

14 years agofix test case in Py3
Stefan Behnel [Wed, 17 Feb 2010 08:33:40 +0000 (09:33 +0100)]
fix test case in Py3

14 years agofix str default values in embedded signatures in Py3
Stefan Behnel [Wed, 17 Feb 2010 08:15:53 +0000 (09:15 +0100)]
fix str default values in embedded signatures in Py3

14 years agoPy2.3 compatibility fix
Lisandro Dalcin [Wed, 17 Feb 2010 00:54:12 +0000 (21:54 -0300)]
Py2.3 compatibility fix

14 years agosmarter type analysis in BinopNode: propagate known Python result types
Stefan Behnel [Fri, 12 Feb 2010 18:04:24 +0000 (19:04 +0100)]
smarter type analysis in BinopNode: propagate known Python result types

14 years agoDon't split long literals at backslash.
Robert Bradshaw [Fri, 12 Feb 2010 11:20:54 +0000 (03:20 -0800)]
Don't split long literals at backslash.

14 years agoTestcase for long string literals.
Christoph Gohlke [Fri, 12 Feb 2010 11:08:33 +0000 (03:08 -0800)]
Testcase for long string literals.

14 years agoInfer common basetype for extension types.
Robert Bradshaw [Fri, 12 Feb 2010 10:31:57 +0000 (02:31 -0800)]
Infer common basetype for extension types.

14 years agoFix type inference tests for int types.
Robert Bradshaw [Fri, 12 Feb 2010 10:11:55 +0000 (02:11 -0800)]
Fix type inference tests for int types.

14 years agoInfer integer types when entries not used in arithmatic expressions.
Robert Bradshaw [Fri, 12 Feb 2010 09:56:08 +0000 (01:56 -0800)]
Infer integer types when entries not used in arithmatic expressions.

14 years agoFix on test 'cpp_classes'
daniloaf [Fri, 12 Feb 2010 08:56:19 +0000 (05:56 -0300)]
Fix on test 'cpp_classes'

14 years agoFixing bug on contructors for inherited classes.
daniloaf [Fri, 12 Feb 2010 08:28:01 +0000 (05:28 -0300)]
Fixing bug on contructors for inherited classes.

14 years agoextended test case
Stefan Behnel [Thu, 11 Feb 2010 22:49:42 +0000 (23:49 +0100)]
extended test case

14 years agoextended test case
Stefan Behnel [Thu, 11 Feb 2010 22:46:59 +0000 (23:46 +0100)]
extended test case

14 years agominor fix and extension to type inference for builtin type operations
Stefan Behnel [Thu, 11 Feb 2010 22:42:14 +0000 (23:42 +0100)]
minor fix and extension to type inference for builtin type operations

14 years agotype inference for some common operations between builtin types
Stefan Behnel [Thu, 11 Feb 2010 22:31:20 +0000 (23:31 +0100)]
type inference for some common operations between builtin types

14 years agofix doctest
Stefan Behnel [Thu, 11 Feb 2010 22:10:05 +0000 (23:10 +0100)]
fix doctest

14 years agoextended test case
Stefan Behnel [Thu, 11 Feb 2010 21:21:27 +0000 (22:21 +0100)]
extended test case

14 years agoFix subclass specialization.
Robert Bradshaw [Thu, 11 Feb 2010 19:53:39 +0000 (11:53 -0800)]
Fix subclass specialization.

14 years agoenable for-in iteration also for C arrays of known size
Stefan Behnel [Thu, 11 Feb 2010 19:42:35 +0000 (20:42 +0100)]
enable for-in iteration also for C arrays of known size

14 years agoMake tests cleaner.
Robert Bradshaw [Wed, 10 Feb 2010 23:59:36 +0000 (15:59 -0800)]
Make tests cleaner.

14 years agoGet rid of __Pyx_Name unused warning.
Robert Bradshaw [Wed, 10 Feb 2010 23:32:17 +0000 (15:32 -0800)]
Get rid of __Pyx_Name unused warning.

14 years agoMore safe types to infer.
Robert Bradshaw [Wed, 10 Feb 2010 23:31:55 +0000 (15:31 -0800)]
More safe types to infer.

14 years agomerge latest cython-devel
Robert Bradshaw [Wed, 10 Feb 2010 10:31:55 +0000 (02:31 -0800)]
merge latest cython-devel

14 years agoBacked out changeset 7a5f638711bd, redundant with cython-devel.
Robert Bradshaw [Wed, 10 Feb 2010 10:31:32 +0000 (02:31 -0800)]
Backed out changeset 7a5f638711bd, redundant with cython-devel.

14 years agoFixes for nested templates.
Robert Bradshaw [Wed, 10 Feb 2010 10:11:52 +0000 (02:11 -0800)]
Fixes for nested templates.

14 years agoMore buffer type analysis deferment.
Robert Bradshaw [Wed, 10 Feb 2010 09:27:24 +0000 (01:27 -0800)]
More buffer type analysis deferment.

14 years agoSimplify p_positional_and_keyword_args with s.peek()
Robert Bradshaw [Wed, 10 Feb 2010 07:47:24 +0000 (23:47 -0800)]
Simplify p_positional_and_keyword_args with s.peek()

14 years agoEnable non expression-like types for templates.
Robert Bradshaw [Wed, 10 Feb 2010 07:42:32 +0000 (23:42 -0800)]
Enable non expression-like types for templates.

14 years agoFix for #505 mistakenly treated things like "cimport cythontools" as a cython import.
Craig Citro [Wed, 10 Feb 2010 06:01:34 +0000 (22:01 -0800)]
Fix for #505 mistakenly treated things like "cimport cythontools" as a cython import.

14 years agoFix trac #505: problem with cimport cython
Craig Citro [Tue, 9 Feb 2010 23:56:33 +0000 (15:56 -0800)]
Fix trac #505: problem with cimport cython

14 years agoWhoops, forgot to test after previous patch.
Craig Citro [Tue, 9 Feb 2010 18:19:08 +0000 (10:19 -0800)]
Whoops, forgot to test after previous patch.

14 years agomerge
Craig Citro [Tue, 9 Feb 2010 18:04:11 +0000 (10:04 -0800)]
merge

14 years agoFix trac #506 -- error with overloading, pops up in cpp_classes
Craig Citro [Tue, 9 Feb 2010 18:03:52 +0000 (10:03 -0800)]
Fix trac #506 -- error with overloading, pops up in cpp_classes

14 years agorenaming, renaming ...
Stefan Behnel [Tue, 9 Feb 2010 10:39:39 +0000 (11:39 +0100)]
renaming, renaming ...

14 years agodisabled broken CPP wrapper tests
Stefan Behnel [Tue, 9 Feb 2010 09:15:01 +0000 (10:15 +0100)]
disabled broken CPP wrapper tests

14 years agoremoved cast from test case that should normally be redundant
Stefan Behnel [Tue, 9 Feb 2010 09:14:28 +0000 (10:14 +0100)]
removed cast from test case that should normally be redundant

14 years agonew test directory for test modules that wrap C/C++ source files
Stefan Behnel [Tue, 9 Feb 2010 09:06:03 +0000 (10:06 +0100)]
new test directory for test modules that wrap C/C++ source files
naming convention in test runner to search for related source files in the test directory
tests for wrapping C++ code

14 years agoFix overloaded functions for C++ classes.
Robert Bradshaw [Mon, 8 Feb 2010 19:18:52 +0000 (11:18 -0800)]
Fix overloaded functions for C++ classes.

14 years agonew test case for ticket #505 (cimport cython)
Stefan Behnel [Mon, 8 Feb 2010 10:08:37 +0000 (11:08 +0100)]
new test case for ticket #505 (cimport cython)

14 years agoSplit long string literals at 2000 chars.
Robert Bradshaw [Fri, 5 Feb 2010 19:28:37 +0000 (11:28 -0800)]
Split long string literals at 2000 chars.

(There may not be enough line breaks...)

14 years agoGenerate shorter string literals
Christoph Gohlke [Fri, 5 Feb 2010 19:19:08 +0000 (11:19 -0800)]
Generate shorter string literals

This is related to <http://trac.cython.org/cython_trac/ticket/50>.

Cython 0.12.1 still generates string literals that can be too long for MSVC*
compilers. Please consider the following patch.

14 years agofix outdated Parsing.pxd after merging gsoc-danilo
Lisandro Dalcin [Fri, 5 Feb 2010 19:00:31 +0000 (16:00 -0300)]
fix outdated Parsing.pxd after merging gsoc-danilo

14 years agoFixing Parsing.pxd
daniloaf@daniloaf-PC [Fri, 5 Feb 2010 15:11:43 +0000 (12:11 -0300)]
Fixing Parsing.pxd

14 years agoFix unop_extras test.
Robert Bradshaw [Thu, 4 Feb 2010 23:05:49 +0000 (15:05 -0800)]
Fix unop_extras test.

14 years agoMerge gsoc-danilo C++ code into main branch.
Robert Bradshaw [Thu, 4 Feb 2010 22:49:57 +0000 (14:49 -0800)]
Merge gsoc-danilo C++ code into main branch.

14 years agoMore restrictions on stack allocated C++ objects.
Robert Bradshaw [Thu, 4 Feb 2010 22:44:21 +0000 (14:44 -0800)]
More restrictions on stack allocated C++ objects.

14 years agoNote about best_match function.
Robert Bradshaw [Thu, 4 Feb 2010 22:24:17 +0000 (14:24 -0800)]
Note about best_match function.

14 years agoFix assignable_from for cpp classes.
Robert Bradshaw [Thu, 4 Feb 2010 21:58:00 +0000 (13:58 -0800)]
Fix assignable_from for cpp classes.

14 years agoFix class in template specialization.
Robert Bradshaw [Thu, 4 Feb 2010 21:57:58 +0000 (13:57 -0800)]
Fix class in template specialization.