cython.git
18 years agomerge
Stefan Behnel [Sat, 26 Apr 2008 21:11:07 +0000 (23:11 +0200)]
merge

18 years agorewrite of type hierarchy sorting patch
Stefan Behnel [Sat, 26 Apr 2008 21:00:52 +0000 (23:00 +0200)]
rewrite of type hierarchy sorting patch

18 years agoMore merging
Robert Bradshaw [Sat, 26 Apr 2008 19:16:53 +0000 (12:16 -0700)]
More merging

18 years agoMerge circular imports stuff
Robert Bradshaw [Sat, 26 Apr 2008 18:59:05 +0000 (11:59 -0700)]
Merge circular imports stuff

18 years agoMore extendable Setup.py
Robert Bradshaw [Sat, 26 Apr 2008 18:28:35 +0000 (11:28 -0700)]
More extendable Setup.py

18 years agoFix weakref issue for classes inheriting from a pxd
Robert Bradshaw [Sat, 26 Apr 2008 18:19:15 +0000 (11:19 -0700)]
Fix weakref issue for classes inheriting from a pxd

18 years agoAllow predeclared __Pyx_CppExn2PyErr.
Robert Bradshaw [Sat, 26 Apr 2008 15:45:09 +0000 (08:45 -0700)]
Allow predeclared __Pyx_CppExn2PyErr.

18 years agomake test case actually do stuff
Stefan Behnel [Sat, 26 Apr 2008 12:44:44 +0000 (14:44 +0200)]
make test case actually do stuff

--HG--
rename : tests/compile/pylistsubtype.pyx => tests/run/pylistsubtype.pyx

18 years agosimpler test case for extern class subtyping
Stefan Behnel [Sat, 26 Apr 2008 12:38:56 +0000 (14:38 +0200)]
simpler test case for extern class subtyping

18 years agoCircular imports
Gary Furnish [Sat, 26 Apr 2008 10:45:33 +0000 (04:45 -0600)]
Circular imports

18 years agoCircular imports
Gary Furnish [Sat, 26 Apr 2008 10:45:33 +0000 (04:45 -0600)]
Circular imports

18 years agomore tests for source code encodings: test latin-1 and the UTF-8 default
Stefan Behnel [Sat, 26 Apr 2008 06:58:21 +0000 (08:58 +0200)]
more tests for source code encodings: test latin-1 and the UTF-8 default

--HG--
rename : tests/run/unicodeliterals.pyx => tests/run/unicodeliteralsdefault.pyx

18 years ago-w
Gary Furnish [Sat, 26 Apr 2008 01:36:52 +0000 (19:36 -0600)]
-w

18 years agono need to use yield for now
Stefan Behnel [Fri, 25 Apr 2008 22:06:19 +0000 (00:06 +0200)]
no need to use yield for now

18 years agowho needs lambda anyway ...
Stefan Behnel [Fri, 25 Apr 2008 21:39:42 +0000 (23:39 +0200)]
who needs lambda anyway ...

18 years agofixed loads of bugs found by pychecker
Stefan Behnel [Fri, 25 Apr 2008 19:58:17 +0000 (21:58 +0200)]
fixed loads of bugs found by pychecker

18 years agotypo
Stefan Behnel [Fri, 25 Apr 2008 18:17:20 +0000 (20:17 +0200)]
typo

18 years agoPython fixes
Stefan Behnel [Fri, 25 Apr 2008 18:14:17 +0000 (20:14 +0200)]
Python fixes

18 years agotrivial Python code fixes in Plex
Stefan Behnel [Fri, 25 Apr 2008 18:07:53 +0000 (20:07 +0200)]
trivial Python code fixes in Plex

18 years agomerge
Stefan Behnel [Fri, 25 Apr 2008 17:59:52 +0000 (19:59 +0200)]
merge

18 years agotreat .py files in distutils Extension() sources like .pyx files
Stefan Behnel [Fri, 25 Apr 2008 17:58:13 +0000 (19:58 +0200)]
treat .py files in distutils Extension() sources like .pyx files

18 years agotrivial merge
Robert Bradshaw [Fri, 25 Apr 2008 16:56:01 +0000 (09:56 -0700)]
trivial merge

18 years agoRename pxi includes to pxd
Robert Bradshaw [Fri, 25 Apr 2008 16:55:29 +0000 (09:55 -0700)]
Rename pxi includes to pxd

--HG--
rename : Includes/python.pxi => Includes/python.pxd
rename : Includes/python2.5.pxi => Includes/python2.5.pxd
rename : Includes/python_bool.pxi => Includes/python_bool.pxd
rename : Includes/python_complex.pxi => Includes/python_complex.pxd
rename : Includes/python_dict.pxi => Includes/python_dict.pxd
rename : Includes/python_exc.pxi => Includes/python_exc.pxd
rename : Includes/python_float.pxi => Includes/python_float.pxd
rename : Includes/python_function.pxi => Includes/python_function.pxd
rename : Includes/python_instance.pxi => Includes/python_instance.pxd
rename : Includes/python_int.pxi => Includes/python_int.pxd
rename : Includes/python_iterator.pxi => Includes/python_iterator.pxd
rename : Includes/python_list.pxi => Includes/python_list.pxd
rename : Includes/python_long.pxi => Includes/python_long.pxd
rename : Includes/python_mapping.pxi => Includes/python_mapping.pxd
rename : Includes/python_mem.pxi => Includes/python_mem.pxd
rename : Includes/python_method.pxi => Includes/python_method.pxd
rename : Includes/python_module.pxi => Includes/python_module.pxd
rename : Includes/python_number.pxi => Includes/python_number.pxd
rename : Includes/python_object.pxi => Includes/python_object.pxd
rename : Includes/python_parse.pxi => Includes/python_parse.pxd
rename : Includes/python_ref.pxi => Includes/python_ref.pxd
rename : Includes/python_sequence.pxi => Includes/python_sequence.pxd
rename : Includes/python_set.pxi => Includes/python_set.pxd
rename : Includes/python_string.pxi => Includes/python_string.pxd
rename : Includes/python_tuple.pxi => Includes/python_tuple.pxd
rename : Includes/python_type.pxi => Includes/python_type.pxd
rename : Includes/stdio.pxi => Includes/stdio.pxd
rename : Includes/stdlib.pxi => Includes/stdlib.pxd

18 years agoextended test case
Stefan Behnel [Fri, 25 Apr 2008 16:34:18 +0000 (18:34 +0200)]
extended test case

18 years agoextended test case
Stefan Behnel [Fri, 25 Apr 2008 16:31:51 +0000 (18:31 +0200)]
extended test case

18 years agofixes for special float value constants (provided by Christian Heimes)
Stefan Behnel [Fri, 25 Apr 2008 16:20:05 +0000 (18:20 +0200)]
fixes for special float value constants (provided by Christian Heimes)

18 years agolet Cython compile .py files without complaining about their file extension
Stefan Behnel [Fri, 25 Apr 2008 16:05:33 +0000 (18:05 +0200)]
let Cython compile .py files without complaining about their file extension

18 years agotest fix
Stefan Behnel [Fri, 25 Apr 2008 15:58:12 +0000 (17:58 +0200)]
test fix

18 years agomoved special float tests into separate test
Stefan Behnel [Fri, 25 Apr 2008 15:54:35 +0000 (17:54 +0200)]
moved special float tests into separate test

--HG--
rename : tests/run/ct_DEF.pyx => tests/run/specialfloat.pyx

18 years agofixed source filename and Cython code embedding in C files, moved source file reading...
Stefan Behnel [Fri, 25 Apr 2008 12:02:03 +0000 (14:02 +0200)]
fixed source filename and Cython code embedding in C files, moved source file reading algorithm to Cython.Utils to make it available everywhere (and then use it everywhere)

18 years agofixed end marker in control flow engine
Stefan Behnel [Wed, 23 Apr 2008 04:28:02 +0000 (06:28 +0200)]
fixed end marker in control flow engine

18 years agostyle fixes
Stefan Behnel [Tue, 22 Apr 2008 20:11:38 +0000 (22:11 +0200)]
style fixes

18 years agoinclude test case
Stefan Behnel [Tue, 22 Apr 2008 19:55:46 +0000 (21:55 +0200)]
include test case

18 years agounused import
Stefan Behnel [Tue, 22 Apr 2008 19:11:39 +0000 (21:11 +0200)]
unused import

18 years agofix encoding in file includes
Stefan Behnel [Tue, 22 Apr 2008 17:04:44 +0000 (19:04 +0200)]
fix encoding in file includes

18 years agocomment fix
Stefan Behnel [Tue, 22 Apr 2008 17:01:32 +0000 (19:01 +0200)]
comment fix

18 years agofix string constants defined in extension classes
Stefan Behnel [Tue, 22 Apr 2008 16:45:31 +0000 (18:45 +0200)]
fix string constants defined in extension classes

18 years agosource code encoding support (PEP 263) and UTF-8 default source encoding (PEP 3120)
Stefan Behnel [Tue, 22 Apr 2008 14:37:33 +0000 (16:37 +0200)]
source code encoding support (PEP 263) and UTF-8 default source encoding (PEP 3120)

18 years agolet docstring test check string type (str/unicode)
Stefan Behnel [Tue, 22 Apr 2008 14:36:08 +0000 (16:36 +0200)]
let docstring test check string type (str/unicode)

18 years agofix inf/NaN float constants
Stefan Behnel [Mon, 21 Apr 2008 06:22:10 +0000 (08:22 +0200)]
fix inf/NaN float constants

18 years agotest case for DEF int constant assignment
Stefan Behnel [Mon, 21 Apr 2008 06:02:45 +0000 (08:02 +0200)]
test case for DEF int constant assignment

18 years agofixed DEF constant integer parsing (bug 220108)
Stefan Behnel [Mon, 21 Apr 2008 05:59:02 +0000 (07:59 +0200)]
fixed DEF constant integer parsing (bug 220108)

18 years agotypo (bug 220109)
Stefan Behnel [Mon, 21 Apr 2008 05:52:43 +0000 (07:52 +0200)]
typo (bug 220109)

18 years agoextended docstring test
Stefan Behnel [Thu, 10 Apr 2008 12:09:20 +0000 (14:09 +0200)]
extended docstring test

18 years agofix doubled docstrings for Python classes
Stefan Behnel [Thu, 10 Apr 2008 11:55:36 +0000 (13:55 +0200)]
fix doubled docstrings for Python classes

18 years agomake the test test something
Stefan Behnel [Wed, 9 Apr 2008 18:16:48 +0000 (20:16 +0200)]
make the test test something

18 years agomore unicode tests
Stefan Behnel [Wed, 9 Apr 2008 18:15:20 +0000 (20:15 +0200)]
more unicode tests

18 years agofix for broken int-op test case
Stefan Behnel [Wed, 9 Apr 2008 16:03:09 +0000 (18:03 +0200)]
fix for broken int-op test case

18 years agouse Extension class of Cython's Distutils package in tests
Stefan Behnel [Wed, 9 Apr 2008 15:55:32 +0000 (17:55 +0200)]
use Extension class of Cython's Distutils package in tests

18 years agoremove warning about unknown Extension option
Stefan Behnel [Wed, 9 Apr 2008 15:48:46 +0000 (17:48 +0200)]
remove warning about unknown Extension option

18 years agotest case for 'cdef extern class' definitions in .pxd files
Stefan Behnel [Wed, 9 Apr 2008 15:08:50 +0000 (17:08 +0200)]
test case for 'cdef extern class' definitions in .pxd files

18 years agofix include dirs in test runner
Stefan Behnel [Wed, 9 Apr 2008 15:03:24 +0000 (17:03 +0200)]
fix include dirs in test runner

18 years agoreverted 'circular cdef' patch, leaving unrelated changes intact
Stefan Behnel [Wed, 9 Apr 2008 09:14:48 +0000 (11:14 +0200)]
reverted 'circular cdef' patch, leaving unrelated changes intact

18 years agoFix cdef extern classes
Robert Bradshaw [Tue, 8 Apr 2008 08:25:09 +0000 (01:25 -0700)]
Fix cdef extern classes

18 years agoMinor packaging changes
Robert Bradshaw [Tue, 8 Apr 2008 08:20:51 +0000 (01:20 -0700)]
Minor packaging changes

18 years agoAdd untracked files to repo.
Robert Bradshaw [Fri, 4 Apr 2008 07:15:22 +0000 (00:15 -0700)]
Add untracked files to repo.

18 years agoCleanup unsused functions/labels
Robert Bradshaw [Fri, 4 Apr 2008 07:14:59 +0000 (00:14 -0700)]
Cleanup unsused functions/labels

18 years agoMerge package and compiler repositories.
Robert Bradshaw [Fri, 4 Apr 2008 06:44:29 +0000 (23:44 -0700)]
Merge package and compiler repositories.

18 years agobump version number
Robert Bradshaw [Fri, 4 Apr 2008 05:28:40 +0000 (22:28 -0700)]
bump version number

18 years agoMisc little fixes. Sage now builds and passes all tests.
Robert Bradshaw [Fri, 4 Apr 2008 05:07:13 +0000 (22:07 -0700)]
Misc little fixes. Sage now builds and passes all tests.

18 years agominor fixes
Robert Bradshaw [Thu, 3 Apr 2008 07:47:04 +0000 (00:47 -0700)]
minor fixes

18 years agoTransformation fixes
Robert Bradshaw [Thu, 3 Apr 2008 07:23:51 +0000 (00:23 -0700)]
Transformation fixes

18 years agoAllow ctypedef my_struct_s my_struct_t[1] trick, can access members of my_struct_t...
Robert Bradshaw [Thu, 3 Apr 2008 03:55:29 +0000 (20:55 -0700)]
Allow ctypedef my_struct_s my_struct_t[1] trick, can access members of my_struct_t as if it were a pointer.

18 years agoC++ error handling
Robert Bradshaw [Thu, 3 Apr 2008 02:55:50 +0000 (19:55 -0700)]
C++ error handling

18 years agoCython and C++ exceptions
"Felix Wu" [Mon, 31 Mar 2008 17:57:40 +0000 (10:57 -0700)]
Cython and C++ exceptions

18 years agoc line numbers optional
Robert Bradshaw [Sun, 30 Mar 2008 11:04:13 +0000 (04:04 -0700)]
c line numbers optional

18 years agoCircular cdef's
Gary Furnish [Sun, 23 Mar 2008 16:02:06 +0000 (10:02 -0600)]
Circular cdef's

18 years agoFix enum bug (values weren't forced to ints)
Robert Bradshaw [Sun, 30 Mar 2008 10:26:32 +0000 (03:26 -0700)]
Fix enum bug (values weren't forced to ints)

18 years ago[Cython] Small patch for __stdcall
Jim Kleckner [Sun, 30 Mar 2008 09:25:39 +0000 (02:25 -0700)]
[Cython] Small patch for __stdcall
The following small patch gets rid of some warnings on the cygwin
platform (it it not WIN32 but does have definitions of __stdcall
resulting in warnings).

Please let me know if it will or won't get into the upstream release.

Thanks.

18 years agoFix cpdef functions with pointer return parameters, make cpdef functions coercable...
Robert Bradshaw [Sun, 30 Mar 2008 09:18:18 +0000 (02:18 -0700)]
Fix cpdef functions with pointer return parameters, make cpdef functions coercable into objects.

18 years agofix bug 206821 (incorrect ref count when single-arg converion failed)
Robert Bradshaw [Sun, 30 Mar 2008 08:31:03 +0000 (01:31 -0700)]
fix bug 206821 (incorrect ref count when single-arg converion failed)

18 years agoAdded optimize_simple_methods to make it possible to accept keywords in 1-arg functions
Robert Bradshaw [Sat, 29 Mar 2008 22:09:01 +0000 (15:09 -0700)]
Added optimize_simple_methods to make it possible to accept keywords in 1-arg functions

18 years agoFix bug 208262 for files with odd characters in them
ChrisPerkins [Sat, 29 Mar 2008 20:58:40 +0000 (13:58 -0700)]
Fix bug 208262 for files with odd characters in them

18 years ago...
Robert Bradshaw [Sat, 29 Mar 2008 20:05:00 +0000 (13:05 -0700)]
...

18 years agoFix comparison bug for longs and doubles #208053
Robert Bradshaw [Sat, 29 Mar 2008 20:03:23 +0000 (13:03 -0700)]
Fix comparison bug for longs and doubles #208053

18 years agomore comments on control flow
Robert Bradshaw [Sat, 29 Mar 2008 18:41:46 +0000 (11:41 -0700)]
more comments on control flow

18 years agoMore control flow work
Robert Bradshaw [Tue, 25 Mar 2008 23:26:22 +0000 (16:26 -0700)]
More control flow work

18 years agoBasic control flow state processing
Robert Bradshaw [Tue, 25 Mar 2008 09:19:38 +0000 (02:19 -0700)]
Basic control flow state processing

18 years agosupport adding pxd/pxi dependencies to Extension sources and force rebuild on depende...
Stefan Behnel [Fri, 14 Mar 2008 09:34:53 +0000 (10:34 +0100)]
support adding pxd/pxi dependencies to Extension sources and force rebuild on dependency updates

18 years agoSome fixes to get it to run on 2.3
Robert Bradshaw [Sun, 9 Mar 2008 08:40:34 +0000 (00:40 -0800)]
Some fixes to get it to run on 2.3

18 years agoSupport for parse tree transformations.
"Dag Sverre Seljebotn" [Sun, 9 Mar 2008 08:14:12 +0000 (00:14 -0800)]
Support for parse tree transformations.

18 years agomerge
Robert Bradshaw [Sun, 9 Mar 2008 08:12:06 +0000 (00:12 -0800)]
merge

18 years agofixes for escape sequences in unicode literals
Stefan Behnel [Thu, 6 Mar 2008 10:39:10 +0000 (11:39 +0100)]
fixes for escape sequences in unicode literals

18 years agoprevent unicode strings from being interned
Stefan Behnel [Wed, 5 Mar 2008 17:05:27 +0000 (18:05 +0100)]
prevent unicode strings from being interned

18 years agofix for unicode escapes (\u1234)
Stefan Behnel [Wed, 5 Mar 2008 15:12:53 +0000 (16:12 +0100)]
fix for unicode escapes (\u1234)

18 years agopre-Py3k fixes
Stefan Behnel [Sun, 2 Mar 2008 11:29:08 +0000 (12:29 +0100)]
pre-Py3k fixes

18 years agoAllow single-character ascii strings to be treated as c character literals.
Robert Bradshaw [Thu, 28 Feb 2008 20:43:28 +0000 (12:43 -0800)]
Allow single-character ascii strings to be treated as c character literals.

18 years agomerge
Stefan Behnel [Tue, 26 Feb 2008 20:59:27 +0000 (21:59 +0100)]
merge

18 years agoerror on local cimport (rather than traceback)
Robert Bradshaw [Mon, 25 Feb 2008 20:47:30 +0000 (12:47 -0800)]
error on local cimport (rather than traceback)

18 years agomerge
Stefan Behnel [Mon, 25 Feb 2008 05:54:57 +0000 (06:54 +0100)]
merge

18 years agonum -> int for int constants
Robert Bradshaw [Sat, 23 Feb 2008 07:11:38 +0000 (23:11 -0800)]
num -> int for int constants

18 years agofix exception string formatting for Py_ssize_t values: needs %zd instead of %d on...
Stefan Behnel [Sat, 16 Feb 2008 18:15:52 +0000 (19:15 +0100)]
fix exception string formatting for Py_ssize_t values: needs %zd instead of %d on Python >= 2.5

18 years agomake unpacking exception strings look like those generated by Python itself
Stefan Behnel [Sat, 16 Feb 2008 18:12:50 +0000 (19:12 +0100)]
make unpacking exception strings look like those generated by Python itself

18 years agofixes for True/False in compile time expressions; make sure True/False pass as object...
Stefan Behnel [Sat, 16 Feb 2008 17:37:23 +0000 (18:37 +0100)]
fixes for True/False in compile time expressions; make sure True/False pass as objects (not just ints) where possible

18 years agoremoved 'builtin_functions' dict: broke referring to 'unicode' function by name
Stefan Behnel [Sat, 16 Feb 2008 17:27:34 +0000 (18:27 +0100)]
removed 'builtin_functions' dict: broke referring to 'unicode' function by name

18 years agofix for 'raise' decref bug unter Python <= 2.4 in error case
Stefan Behnel [Sat, 16 Feb 2008 12:21:36 +0000 (13:21 +0100)]
fix for 'raise' decref bug unter Python <= 2.4 in error case

18 years agoBump version
Robert Bradshaw [Thu, 14 Feb 2008 01:27:31 +0000 (17:27 -0800)]
Bump version

18 years agoWarning when overriding cdef method with def method. (Perhaps this should be an error?)
Robert Bradshaw [Thu, 14 Feb 2008 01:09:26 +0000 (17:09 -0800)]
Warning when overriding cdef method with def method. (Perhaps this should be an error?)

18 years agoModule-level cpdef functions
Robert Bradshaw [Wed, 13 Feb 2008 12:13:44 +0000 (04:13 -0800)]
Module-level cpdef functions

18 years agoUndo botched api -> pxd
Robert Bradshaw [Wed, 13 Feb 2008 10:58:13 +0000 (02:58 -0800)]
Undo botched api -> pxd