cython.git
16 years agoAdded tag Version-0.9.8 for changeset 16a746d969e2
Robert Bradshaw [Thu, 12 Jun 2008 23:37:32 +0000 (16:37 -0700)]
Added tag Version-0.9.8 for changeset 16a746d969e2

16 years agoOnly make dep file for recursive 0.9.8
Robert Bradshaw [Thu, 12 Jun 2008 23:35:35 +0000 (16:35 -0700)]
Only make dep file for recursive

16 years agoFix cpdef, make corrupt c file older than pyx file.
Robert Bradshaw [Thu, 12 Jun 2008 03:31:34 +0000 (20:31 -0700)]
Fix cpdef, make corrupt c file older than pyx file.

16 years agoAdded tag 0.9.8rc1 for changeset 67ee5a34bfc6
Robert Bradshaw [Thu, 12 Jun 2008 00:22:07 +0000 (17:22 -0700)]
Added tag 0.9.8rc1 for changeset 67ee5a34bfc6

16 years agoFix e_declarations.pyx, e_nogilfunctype.pyx, e_tempcast.pyx. All tests pass. 0.9.8rc1
Robert Bradshaw [Thu, 12 Jun 2008 00:21:38 +0000 (17:21 -0700)]
Fix e_declarations.pyx, e_nogilfunctype.pyx, e_tempcast.pyx. All tests pass.

16 years agoTests e_powop, e_pyobinstruct, e_tempcast, e_while, nogilcmeth now pass.
Robert Bradshaw [Wed, 11 Jun 2008 22:31:13 +0000 (15:31 -0700)]
Tests e_powop, e_pyobinstruct, e_tempcast, e_while, nogilcmeth now pass.

16 years agoFix e_nogilcmeth
Robert Bradshaw [Wed, 11 Jun 2008 22:12:23 +0000 (15:12 -0700)]
Fix e_nogilcmeth

16 years agoWe do allow execution in cdef class bodies.
Robert Bradshaw [Wed, 11 Jun 2008 21:53:11 +0000 (14:53 -0700)]
We do allow execution in cdef class bodies.

--HG--
rename : tests/errors/e_exestmtinexttype.pyx => tests/run/classbody_exec.pyx

16 years agoFix e_ctypedefornot
Robert Bradshaw [Wed, 11 Jun 2008 21:47:03 +0000 (14:47 -0700)]
Fix e_ctypedefornot

16 years agoFix e_cstruct errors
Robert Bradshaw [Wed, 11 Jun 2008 21:41:11 +0000 (14:41 -0700)]
Fix e_cstruct errors

16 years agoFix crash for scope=None compilation error, more strict literal char* -> int
Robert Bradshaw [Wed, 11 Jun 2008 21:23:59 +0000 (14:23 -0700)]
Fix crash for scope=None compilation error, more strict literal char* -> int

16 years agomerge
Robert Bradshaw [Wed, 11 Jun 2008 20:16:06 +0000 (13:16 -0700)]
merge

16 years agoCleanup MANIFEST
Robert Bradshaw [Wed, 11 Jun 2008 20:15:15 +0000 (13:15 -0700)]
Cleanup MANIFEST

16 years agomore error tests, some failing
Stefan Behnel [Wed, 11 Jun 2008 20:01:29 +0000 (22:01 +0200)]
more error tests, some failing

16 years agonew test cases from Pyrex
Stefan Behnel [Wed, 11 Jun 2008 19:56:35 +0000 (21:56 +0200)]
new test cases from Pyrex

16 years agonew test cases from Pyrex
Stefan Behnel [Wed, 11 Jun 2008 19:55:24 +0000 (21:55 +0200)]
new test cases from Pyrex

16 years agonew test cases from Pyrex
Stefan Behnel [Wed, 11 Jun 2008 19:55:02 +0000 (21:55 +0200)]
new test cases from Pyrex

16 years agoscope isn't always set for new classes
Stefan Behnel [Wed, 11 Jun 2008 19:51:25 +0000 (21:51 +0200)]
scope isn't always set for new classes

16 years agoapplied pending fix by Greg
Stefan Behnel [Wed, 11 Jun 2008 19:36:26 +0000 (21:36 +0200)]
applied pending fix by Greg

16 years agomerge
Robert Bradshaw [Wed, 11 Jun 2008 18:25:40 +0000 (11:25 -0700)]
merge

16 years agoadded test case from Pyrex rev 96
Stefan Behnel [Wed, 11 Jun 2008 18:14:35 +0000 (20:14 +0200)]
added test case from Pyrex rev 96

16 years agostream-lined Node.end_pos()
Stefan Behnel [Wed, 11 Jun 2008 15:19:08 +0000 (17:19 +0200)]
stream-lined Node.end_pos()

16 years agominor speed-ups in code writer
Stefan Behnel [Wed, 11 Jun 2008 15:05:19 +0000 (17:05 +0200)]
minor speed-ups in code writer

16 years agosome stream-lining in CCodeWriter.mark_pos()
Stefan Behnel [Wed, 11 Jun 2008 14:40:20 +0000 (16:40 +0200)]
some stream-lining in CCodeWriter.mark_pos()

16 years agodo not print error context that resulted from encoding errors (i.e. it's unprintable...
Stefan Behnel [Wed, 11 Jun 2008 14:38:01 +0000 (16:38 +0200)]
do not print error context that resulted from encoding errors (i.e. it's unprintable anyway)

16 years agoModule name sanity checking
Robert Bradshaw [Wed, 11 Jun 2008 02:21:56 +0000 (19:21 -0700)]
Module name sanity checking

16 years agoFix for cdef extern classes
Robert Bradshaw [Wed, 11 Jun 2008 02:11:59 +0000 (19:11 -0700)]
Fix for cdef extern classes

16 years agoremoved unused 'make version' target: there should be one place where the version...
Stefan Behnel [Tue, 10 Jun 2008 17:59:08 +0000 (19:59 +0200)]
removed unused 'make version' target: there should be one place where the version is updated

16 years agomore .hgignore's
Stefan Behnel [Tue, 10 Jun 2008 17:54:04 +0000 (19:54 +0200)]
more .hgignore's

16 years agoCommit rejected hunk for nogill compatability.
Robert Bradshaw [Tue, 10 Jun 2008 09:52:26 +0000 (02:52 -0700)]
Commit rejected hunk for nogill compatability.

16 years agofix error context output
Stefan Behnel [Mon, 9 Jun 2008 12:50:57 +0000 (14:50 +0200)]
fix error context output

16 years agocompile Cython.Plex.Scanners module on install to speed up compilation
Stefan Behnel [Sun, 8 Jun 2008 12:56:56 +0000 (14:56 +0200)]
compile Cython.Plex.Scanners module on install to speed up compilation

16 years agoRemove spurious const cast and warnings, niceident regex fix, all tests pass.
Robert Bradshaw [Sat, 7 Jun 2008 17:45:33 +0000 (10:45 -0700)]
Remove spurious const cast and warnings, niceident regex fix, all tests pass.

16 years agomerge
Robert Bradshaw [Sat, 7 Jun 2008 17:17:13 +0000 (10:17 -0700)]
merge

16 years agoPy3 test fixes
Stefan Behnel [Sat, 7 Jun 2008 13:40:21 +0000 (15:40 +0200)]
Py3 test fixes

16 years agoInitialize unassigned node child attributes to None, clean up ExprNode
Dag Sverre Seljebotn [Sat, 7 Jun 2008 10:32:52 +0000 (12:32 +0200)]
Initialize unassigned node child attributes to None, clean up ExprNode

16 years agoFix test case syntax error
Dag Sverre Seljebotn [Sat, 7 Jun 2008 09:58:04 +0000 (11:58 +0200)]
Fix test case syntax error

16 years ago64-bit testcase fix
Dag Sverre Seljebotn [Sat, 7 Jun 2008 09:38:26 +0000 (11:38 +0200)]
64-bit testcase fix

16 years agolast merge broke the compiler, here are some initial fixes
Stefan Behnel [Sat, 7 Jun 2008 07:44:25 +0000 (09:44 +0200)]
last merge broke the compiler, here are some initial fixes

16 years agoFixed trac-17, default values as class members.
Robert Bradshaw [Sat, 7 Jun 2008 06:03:29 +0000 (23:03 -0700)]
Fixed trac-17, default values as class members.

16 years agoMerge -dagss and -devel
Robert Bradshaw [Sat, 7 Jun 2008 00:46:37 +0000 (17:46 -0700)]
Merge -dagss and -devel

16 years agoSwitch statement omptimization
Robert Bradshaw [Sat, 7 Jun 2008 00:26:24 +0000 (17:26 -0700)]
Switch statement omptimization

16 years agocode comments
Stefan Behnel [Fri, 6 Jun 2008 19:39:23 +0000 (21:39 +0200)]
code comments

16 years agoPyrex merge: removed leaking declarations
Stefan Behnel [Fri, 6 Jun 2008 19:38:45 +0000 (21:38 +0200)]
Pyrex merge: removed leaking declarations

16 years agoPyrex merge: disable multiple compilation in one context, verbose mode to output...
Stefan Behnel [Fri, 6 Jun 2008 19:19:47 +0000 (21:19 +0200)]
Pyrex merge: disable multiple compilation in one context, verbose mode to output file names during compilation

16 years agoPyrex merge: parser context refactoring + nogil blocks
Stefan Behnel [Fri, 6 Jun 2008 19:14:54 +0000 (21:14 +0200)]
Pyrex merge: parser context refactoring + nogil blocks

16 years agoFinal cleanup of child accessor stuff
Robert Bradshaw [Fri, 6 Jun 2008 18:09:36 +0000 (11:09 -0700)]
Final cleanup of child accessor stuff

16 years agotab cleanup
Stefan Behnel [Fri, 6 Jun 2008 17:13:12 +0000 (19:13 +0200)]
tab cleanup

16 years agotest case cleanup, removes some gcc warnings
Stefan Behnel [Fri, 6 Jun 2008 17:09:20 +0000 (19:09 +0200)]
test case cleanup, removes some gcc warnings

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

16 years agocode cleanup after last change
Stefan Behnel [Fri, 6 Jun 2008 16:22:23 +0000 (18:22 +0200)]
code cleanup after last change

16 years agofix return value setting for 'except *' functions
Stefan Behnel [Fri, 6 Jun 2008 15:11:57 +0000 (17:11 +0200)]
fix return value setting for 'except *' functions

16 years agotest case for exception propagation across functions
Stefan Behnel [Fri, 6 Jun 2008 06:31:11 +0000 (08:31 +0200)]
test case for exception propagation across functions

16 years agoremoved redundant left-over code that broke FQ module name extraction
Stefan Behnel [Fri, 6 Jun 2008 05:46:43 +0000 (07:46 +0200)]
removed redundant left-over code that broke FQ module name extraction

16 years agosmall fix to actually use the module name extracting algo if no module name is provid...
Stefan Behnel [Thu, 5 Jun 2008 19:41:21 +0000 (21:41 +0200)]
small fix to actually use the module name extracting algo if no module name is provided by the user

16 years agoallow diverging nogil declaration, but only when assigning a nogil function to a...
Stefan Behnel [Thu, 5 Jun 2008 13:03:19 +0000 (15:03 +0200)]
allow diverging nogil declaration, but only when assigning a nogil function to a gil pointer

16 years agonew error test for method redeclaration
Stefan Behnel [Thu, 5 Jun 2008 12:36:30 +0000 (14:36 +0200)]
new error test for method redeclaration

16 years agotest output fix
Stefan Behnel [Thu, 5 Jun 2008 12:34:44 +0000 (14:34 +0200)]
test output fix

16 years agoPyrex merge: nogil declaration checking
Stefan Behnel [Thu, 5 Jun 2008 10:20:27 +0000 (12:20 +0200)]
Pyrex merge: nogil declaration checking

16 years agoanother little Pyrex merge that extracts FQ module names from source file names
Stefan Behnel [Wed, 4 Jun 2008 18:40:48 +0000 (20:40 +0200)]
another little Pyrex merge that extracts FQ module names from source file names

16 years agomerged (and partially rewrote) dependency tracking and package resolution changes...
Stefan Behnel [Wed, 4 Jun 2008 16:55:23 +0000 (18:55 +0200)]
merged (and partially rewrote) dependency tracking and package resolution changes from Pyrex 0.9.8

16 years agotest fix: provide the cimported package with an __init__.pyx file
Stefan Behnel [Wed, 4 Jun 2008 16:49:54 +0000 (18:49 +0200)]
test fix: provide the cimported package with an __init__.pyx file

16 years agocleanup
Stefan Behnel [Sun, 1 Jun 2008 14:52:22 +0000 (16:52 +0200)]
cleanup

16 years agocleanup
Stefan Behnel [Sun, 1 Jun 2008 12:27:03 +0000 (14:27 +0200)]
cleanup

16 years agouse PyBytes_Type instead of PyString_Type in the generated sources, PyBytes fix for...
Stefan Behnel [Fri, 30 May 2008 10:29:27 +0000 (12:29 +0200)]
use PyBytes_Type instead of PyString_Type in the generated sources, PyBytes fix for Py2.6, unicode fixes for star imports

16 years agoPy3 fix for PyNumberMethods cleanup
Stefan Behnel [Fri, 30 May 2008 10:08:22 +0000 (12:08 +0200)]
Py3 fix for PyNumberMethods cleanup

16 years agoPy3 test fixes
Stefan Behnel [Fri, 30 May 2008 10:07:36 +0000 (12:07 +0200)]
Py3 test fixes

16 years agoMerge
Dag Sverre Seljebotn [Fri, 30 May 2008 10:06:40 +0000 (12:06 +0200)]
Merge

16 years agoSourceDescriptor-related bug
Dag Sverre Seljebotn [Fri, 30 May 2008 10:06:21 +0000 (12:06 +0200)]
SourceDescriptor-related bug

16 years agoFixed bug related to embedding SourceDescriptor position in docstring
Dag Sverre Seljebotn [Fri, 30 May 2008 09:49:14 +0000 (11:49 +0200)]
Fixed bug related to embedding SourceDescriptor position in docstring

16 years agoMake TreeFragment.py more readable; copy substitution nodes and copy over pos attribu...
Dag Sverre Seljebotn [Fri, 30 May 2008 09:18:36 +0000 (11:18 +0200)]
Make TreeFragment.py more readable; copy substitution nodes and copy over pos attributes on substitutions

16 years agoAdded eq and hash to source descriptors
Dag Sverre Seljebotn [Fri, 30 May 2008 09:14:35 +0000 (11:14 +0200)]
Added eq and hash to source descriptors

16 years agoBugfix in __repr__ of SourceDescriptors
Dag Sverre Seljebotn [Fri, 30 May 2008 08:22:23 +0000 (10:22 +0200)]
Bugfix in __repr__ of SourceDescriptors

16 years agohispanic typos :)
Stefan Behnel [Fri, 30 May 2008 08:09:09 +0000 (10:09 +0200)]
hispanic typos :)

16 years ago'#define PyString_Type PyBytes_Type' in Py3: 'str' is considered a builtin and intern...
Stefan Behnel [Fri, 30 May 2008 06:32:41 +0000 (08:32 +0200)]
'#define PyString_Type PyBytes_Type' in Py3: 'str' is considered a builtin and internally mapped to PyString_Type, which must also work in Py3

16 years agocleanup
Stefan Behnel [Fri, 30 May 2008 05:45:58 +0000 (07:45 +0200)]
cleanup

16 years agomerge
Stefan Behnel [Fri, 30 May 2008 05:36:06 +0000 (07:36 +0200)]
merge

16 years agouse PyBytes_*() functions instead of PyString_*() in Py3
Stefan Behnel [Fri, 30 May 2008 05:31:17 +0000 (07:31 +0200)]
use PyBytes_*() functions instead of PyString_*() in Py3

16 years agoMinor fix in indexing test
Robert Bradshaw [Thu, 29 May 2008 18:42:11 +0000 (11:42 -0700)]
Minor fix in indexing test

16 years agoincrease warning level of __(set|del)slice_ methods
Stefan Behnel [Thu, 29 May 2008 10:01:05 +0000 (12:01 +0200)]
increase warning level of __(set|del)slice_ methods

16 years agoenable warning output in tests (currently unused)
Stefan Behnel [Thu, 29 May 2008 09:59:54 +0000 (11:59 +0200)]
enable warning output in tests (currently unused)

16 years agomerge
Robert Bradshaw [Thu, 29 May 2008 07:15:13 +0000 (00:15 -0700)]
merge

16 years agoFix bug when indexing with large unsigned int
Robert Bradshaw [Thu, 29 May 2008 03:42:48 +0000 (20:42 -0700)]
Fix bug when indexing with large unsigned int

16 years agoImplement "from module [c]import *", some more work on sequence indexing.
Robert Bradshaw [Thu, 29 May 2008 01:09:49 +0000 (18:09 -0700)]
Implement "from module [c]import *", some more work on sequence indexing.

16 years agoPy3.0beta compatibility fixes
Stefan Behnel [Wed, 28 May 2008 09:11:24 +0000 (11:11 +0200)]
Py3.0beta compatibility fixes

16 years agoAccept new for-from syntax.
Robert Bradshaw [Wed, 28 May 2008 08:58:32 +0000 (01:58 -0700)]
Accept new for-from syntax.

16 years agoOptimized indexing into sequences (partially from Greg Ewing).
Robert Bradshaw [Wed, 28 May 2008 08:41:03 +0000 (01:41 -0700)]
Optimized indexing into sequences (partially from Greg Ewing).

16 years agoInplace operators <<= >>= //= **=
Robert Bradshaw [Wed, 28 May 2008 07:55:02 +0000 (00:55 -0700)]
Inplace operators <<= >>= //= **=

16 years agoCasting from C pointer to object does not incref
Robert Bradshaw [Wed, 28 May 2008 07:18:34 +0000 (00:18 -0700)]
Casting from C pointer to object does not incref

Casting a non-Python pointer type to a Python type no longer
generates an incref, unless one is required for other reasons.
    [Arc Riley]

16 years agoFix typo for IF statement.
Robert Bradshaw [Wed, 28 May 2008 06:13:29 +0000 (23:13 -0700)]
Fix typo for IF statement.

16 years agoremove superfluous cast
Stefan Behnel [Tue, 27 May 2008 15:05:51 +0000 (17:05 +0200)]
remove superfluous cast

16 years agoMerge
Dag Sverre Seljebotn [Tue, 27 May 2008 11:41:55 +0000 (13:41 +0200)]
Merge

16 years agoTreeFragment fix: Replace enclosing ExprStatNode if statement is substituted
Dag Sverre Seljebotn [Tue, 27 May 2008 11:33:58 +0000 (13:33 +0200)]
TreeFragment fix: Replace enclosing ExprStatNode if statement is substituted

16 years agoRemoved str conversion from SourceDescriptors in order to be more explicit.
Dag Sverre Seljebotn [Tue, 27 May 2008 11:25:28 +0000 (13:25 +0200)]
Removed str conversion from SourceDescriptors in order to be more explicit.

16 years agoFocus on visitors rather than transforms; Transform.py renamed to Visitor.py
Dag Sverre Seljebotn [Tue, 27 May 2008 11:15:50 +0000 (13:15 +0200)]
Focus on visitors rather than transforms; Transform.py renamed to Visitor.py

Some changes in class hierarchies etc.; transforms no longer has a common
base class and VisitorTransform is a subclass of TreeVisitor rather than
the reverse. Also removed visitor use of get_child_accessors;
child_attrs is accessed directly (because of claims of overengineering :-) ).

--HG--
rename : Cython/Compiler/Transform.py => Cython/Compiler/Visitor.py

16 years agoinvalidate the cache of all subtypes when updating a type's tp_dict (algorithm copied...
Stefan Behnel [Mon, 26 May 2008 22:12:36 +0000 (00:12 +0200)]
invalidate the cache of all subtypes when updating a type's tp_dict (algorithm copied from typeobject.c in Py3)

16 years agoextended test case
Stefan Behnel [Mon, 26 May 2008 21:18:31 +0000 (23:18 +0200)]
extended test case

16 years agocomment
Stefan Behnel [Mon, 26 May 2008 19:34:55 +0000 (21:34 +0200)]
comment

16 years agomoved method cache invalidation next to dict update, as proposed by Lisandro
Stefan Behnel [Mon, 26 May 2008 19:34:41 +0000 (21:34 +0200)]
moved method cache invalidation next to dict update, as proposed by Lisandro

16 years agosimple test for extension class body
Stefan Behnel [Mon, 26 May 2008 16:58:03 +0000 (18:58 +0200)]
simple test for extension class body

16 years agodocument test runner options
Stefan Behnel [Mon, 26 May 2008 15:36:15 +0000 (17:36 +0200)]
document test runner options