Stefan Behnel [Fri, 23 May 2008 09:11:52 +0000 (11:11 +0200)]
test output fix
Stefan Behnel [Thu, 22 May 2008 19:10:20 +0000 (21:10 +0200)]
Py2.6 test fixes
Stefan Behnel [Wed, 21 May 2008 17:25:02 +0000 (19:25 +0200)]
enabled most remaining tests from the 'broken' directory
--HG--
rename : tests/broken/arraytoptrarg.pyx => tests/compile/arraytoptrarg.pyx
rename : tests/broken/ass2longlong.pyx => tests/compile/ass2longlong.pyx
rename : tests/broken/builtinfuncs.pyx => tests/compile/builtinfuncs.pyx
rename : tests/broken/cascmp.pyx => tests/compile/cascmp.pyx
rename : tests/broken/cassign.pyx => tests/compile/cassign.pyx
rename : tests/broken/casttoexttype.pyx => tests/compile/casttoexttype.pyx
rename : tests/broken/cnamespec.pyx => tests/compile/cnamespec.pyx
rename : tests/broken/cnumop.pyx => tests/compile/cnumop.pyx
rename : tests/broken/cunsignedlong.pyx => tests/compile/cunsignedlong.pyx
rename : tests/broken/del.pyx => tests/compile/del.pyx
rename : tests/broken/delslice.pyx => tests/compile/delslice.pyx
rename : tests/broken/drake1.pyx => tests/compile/drake1.pyx
rename : tests/broken/eqcmp.pyx => tests/compile/eqcmp.pyx
rename : tests/broken/ewing1.pyx => tests/compile/ewing1.pyx
rename : tests/broken/ewing5.pyx => tests/compile/ewing5.pyx
rename : tests/broken/excvalcheck.pyx => tests/compile/excvalcheck.pyx
rename : tests/broken/excvalreturn.pyx => tests/compile/excvalreturn.pyx
rename : tests/broken/extcoerce.pyx => tests/compile/extcoerce.pyx
rename : tests/broken/extdescrdel.pyx => tests/compile/extdescrdel.pyx
rename : tests/broken/extdescrget.pyx => tests/compile/extdescrget.pyx
rename : tests/broken/extdescrset.pyx => tests/compile/extdescrset.pyx
rename : tests/broken/extexttype.pyx => tests/compile/extexttype.pyx
rename : tests/broken/extgetitem.pyx => tests/compile/extgetitem.pyx
rename : tests/broken/extinheritdel.pyx => tests/compile/extinheritdel.pyx
rename : tests/broken/extinheritset.pyx => tests/compile/extinheritset.pyx
rename : tests/broken/extpropertyall.pyx => tests/compile/extpropertyall.pyx
rename : tests/broken/extpymemberdef.pyx => tests/compile/extpymemberdef.pyx
rename : tests/broken/forfromelse.pyx => tests/compile/forfromelse.pyx
rename : tests/broken/gencall.pyx => tests/compile/gencall.pyx
rename : tests/broken/globalstmt.pyx => tests/compile/globalstmt.pyx
rename : tests/broken/gustafsson2.pyx => tests/compile/gustafsson2.pyx
rename : tests/broken/index.pyx => tests/compile/index.pyx
rename : tests/broken/jiba5.pyx => tests/compile/jiba5.pyx
rename : tests/broken/jiba6.pyx => tests/compile/jiba6.pyx
rename : tests/broken/johnson1.pyx => tests/compile/johnson1.pyx
rename : tests/broken/magcmp.pyx => tests/compile/magcmp.pyx
rename : tests/broken/none.pyx => tests/compile/none.pyx
rename : tests/broken/notnonearg.pyx => tests/compile/notnonearg.pyx
rename : tests/broken/r_pernici1.pyx => tests/compile/r_pernici1.pyx
rename : tests/broken/slicex.pyx => tests/compile/slicex.pyx
rename : tests/broken/traceback.pyx => tests/compile/traceback.pyx
rename : tests/broken/watts2.pyx => tests/compile/watts2.pyx
rename : tests/broken/anonymousenum.pyx => tests/run/anonymousenum.pyx
rename : tests/broken/ass2cglobal.pyx => tests/run/ass2cglobal.pyx
rename : tests/broken/cstringmeth.pyx => tests/run/cstringmeth.pyx
rename : tests/broken/extcmethod.pyx => tests/run/extcmethod.pyx
rename : tests/broken/extpropertyref.pyx => tests/run/extpropertyref.pyx
rename : tests/broken/filenames.pxi => tests/run/filenames.pxi
rename : tests/broken/filenames.pyx => tests/run/filenames.pyx
rename : tests/broken/inhcmethcall.pyx => tests/run/inhcmethcall.pyx
rename : tests/broken/king1.pyx => tests/run/king1.pyx
rename : tests/broken/menten1.pyx => tests/run/menten1.pyx
rename : tests/broken/nononetypecheck.pyx => tests/run/nononetypecheck.pyx
rename : tests/broken/tandemstats.pyx => tests/run/tandemstats.pyx
rename : tests/broken/watts1.pyx => tests/run/watts1.pyx
Stefan Behnel [Wed, 21 May 2008 17:23:23 +0000 (19:23 +0200)]
builtin names must be EncodedStrings as they get reused
Stefan Behnel [Wed, 21 May 2008 16:56:31 +0000 (18:56 +0200)]
fix intern() builtin in Py3
Stefan Behnel [Wed, 21 May 2008 14:49:51 +0000 (16:49 +0200)]
cleanup
Stefan Behnel [Wed, 21 May 2008 14:48:59 +0000 (16:48 +0200)]
fix method calls on Cython generated Python classes
Stefan Behnel [Tue, 20 May 2008 19:18:04 +0000 (21:18 +0200)]
cleanup
Stefan Behnel [Sun, 18 May 2008 23:05:36 +0000 (01:05 +0200)]
forgotten part of last commit
Stefan Behnel [Sun, 18 May 2008 23:04:48 +0000 (01:04 +0200)]
make imported names behave like identifiers, too
Stefan Behnel [Sun, 18 May 2008 17:28:28 +0000 (19:28 +0200)]
make imported names encoded strings to fix attribute access on them
Stefan Behnel [Sun, 18 May 2008 14:36:18 +0000 (16:36 +0200)]
rename type imports of 'unicode' and 'str' type according to Py version
Stefan Behnel [Sun, 18 May 2008 10:25:54 +0000 (12:25 +0200)]
test case fix
Stefan Behnel [Sun, 18 May 2008 06:59:16 +0000 (08:59 +0200)]
fix keyword arguments in function calls: must be unicode in Py3 and strings in Py2, just like identifiers
Stefan Behnel [Sun, 18 May 2008 06:54:06 +0000 (08:54 +0200)]
comment fix
Stefan Behnel [Sat, 17 May 2008 05:44:31 +0000 (07:44 +0200)]
extended test case on string literals
Stefan Behnel [Sat, 17 May 2008 05:33:41 +0000 (07:33 +0200)]
test case for various string literals
Stefan Behnel [Sat, 17 May 2008 04:37:25 +0000 (06:37 +0200)]
enable ur'abc' literals and b'abc'/br'abc' literals
Stefan Behnel [Fri, 16 May 2008 19:53:11 +0000 (21:53 +0200)]
moved tests out of the way that are broken in Py3
--HG--
rename : tests/compile/extinheritdel.pyx => tests/broken/extinheritdel.pyx
rename : tests/compile/extinheritset.pyx => tests/broken/extinheritset.pyx
Stefan Behnel [Fri, 16 May 2008 18:49:48 +0000 (20:49 +0200)]
merge
Stefan Behnel [Fri, 16 May 2008 18:49:12 +0000 (20:49 +0200)]
trunk merge
Stefan Behnel [Fri, 16 May 2008 18:47:57 +0000 (20:47 +0200)]
typo
Stefan Behnel [Fri, 16 May 2008 18:46:18 +0000 (20:46 +0200)]
keep tests from different directories separate to prevent overwriting files with the same name
Stefan Behnel [Fri, 16 May 2008 18:30:13 +0000 (20:30 +0200)]
'make test3' target to build with the default python version and run the tests against python3.0
Stefan Behnel [Fri, 16 May 2008 18:21:02 +0000 (20:21 +0200)]
more test fixes
Stefan Behnel [Fri, 16 May 2008 18:07:49 +0000 (20:07 +0200)]
more test fixes
Stefan Behnel [Fri, 16 May 2008 17:58:56 +0000 (19:58 +0200)]
class names are identifiers, too
Stefan Behnel [Fri, 16 May 2008 17:31:39 +0000 (19:31 +0200)]
cleanup
Stefan Behnel [Fri, 16 May 2008 16:40:25 +0000 (18:40 +0200)]
struct fields were generated in the wrong order
Stefan Behnel [Fri, 16 May 2008 15:58:46 +0000 (17:58 +0200)]
test fixes
Stefan Behnel [Fri, 16 May 2008 15:02:20 +0000 (17:02 +0200)]
fix for name declarations of interned string values in functions
Stefan Behnel [Fri, 16 May 2008 15:01:36 +0000 (17:01 +0200)]
big rewrite for the print statement in Py2 to provide the same interface in Py2 and Py3
Stefan Behnel [Fri, 16 May 2008 06:46:39 +0000 (08:46 +0200)]
let print statement use print() in Py3
Stefan Behnel [Fri, 16 May 2008 06:46:17 +0000 (08:46 +0200)]
__future__ import fix for older Python versions
Stefan Behnel [Thu, 15 May 2008 16:49:13 +0000 (18:49 +0200)]
enable __future__ imports
Stefan Behnel [Thu, 15 May 2008 15:45:10 +0000 (17:45 +0200)]
fix for slot descriptor
Stefan Behnel [Thu, 15 May 2008 09:36:04 +0000 (11:36 +0200)]
test fix
Stefan Behnel [Thu, 15 May 2008 09:35:28 +0000 (11:35 +0200)]
test fix
Stefan Behnel [Thu, 15 May 2008 09:19:23 +0000 (11:19 +0200)]
range optimisation fixes
Stefan Behnel [Thu, 15 May 2008 09:14:12 +0000 (11:14 +0200)]
cleanup and provisionary Py3 fix
Stefan Behnel [Thu, 15 May 2008 09:13:23 +0000 (11:13 +0200)]
byte encode docstrings correctly
Stefan Behnel [Thu, 15 May 2008 08:59:54 +0000 (10:59 +0200)]
test fix - that's how things work ...
Stefan Behnel [Thu, 15 May 2008 08:38:33 +0000 (10:38 +0200)]
work around Cython problem with parsing ur'abc' literals
Stefan Behnel [Thu, 15 May 2008 08:32:13 +0000 (10:32 +0200)]
simplify
Stefan Behnel [Thu, 15 May 2008 08:29:38 +0000 (10:29 +0200)]
empty tuple is used by traceback builder => must be created early
Stefan Behnel [Thu, 15 May 2008 07:44:11 +0000 (09:44 +0200)]
test fix
Stefan Behnel [Thu, 15 May 2008 07:38:35 +0000 (09:38 +0200)]
fixed PyMethod_New() call
Stefan Behnel [Thu, 15 May 2008 07:22:09 +0000 (09:22 +0200)]
cleanup
Stefan Behnel [Thu, 15 May 2008 06:05:19 +0000 (08:05 +0200)]
unsimplify :)
Stefan Behnel [Thu, 15 May 2008 06:00:59 +0000 (08:00 +0200)]
simplify
Stefan Behnel [Thu, 15 May 2008 06:00:29 +0000 (08:00 +0200)]
more test fixes for Py3
Stefan Behnel [Thu, 15 May 2008 05:19:37 +0000 (07:19 +0200)]
more test fixes for Py3
Stefan Behnel [Wed, 14 May 2008 23:10:24 +0000 (01:10 +0200)]
more test fixes for Py3
Stefan Behnel [Wed, 14 May 2008 23:10:13 +0000 (01:10 +0200)]
fixes for keyword arg checking
Stefan Behnel [Wed, 14 May 2008 22:49:08 +0000 (00:49 +0200)]
more test fixes for Py3
Stefan Behnel [Wed, 14 May 2008 22:45:39 +0000 (00:45 +0200)]
lots of test fixes for Py3
Stefan Behnel [Wed, 14 May 2008 22:30:45 +0000 (00:30 +0200)]
lots of test fixes for Py3
Stefan Behnel [Wed, 14 May 2008 22:09:18 +0000 (00:09 +0200)]
replace the now missing PyNumber_Divide() by PyNumber_TrueDivide()
Stefan Behnel [Wed, 14 May 2008 22:08:38 +0000 (00:08 +0200)]
disable broken 'print' statement for now (PyFile_* went missing)
Stefan Behnel [Wed, 14 May 2008 22:07:57 +0000 (00:07 +0200)]
test fix
Stefan Behnel [Wed, 14 May 2008 21:54:22 +0000 (23:54 +0200)]
tons of fixes for the test suite: docstrings must be unicode strings to run in Py3's doctest (obviously...)
--HG--
rename : tests/compile/withnogil.pyx => tests/run/withnogil.pyx
Stefan Behnel [Wed, 14 May 2008 21:54:07 +0000 (23:54 +0200)]
unicode re fix
Stefan Behnel [Wed, 14 May 2008 19:56:17 +0000 (21:56 +0200)]
skip off compiler error tests if we don't run the compiler
Stefan Behnel [Wed, 14 May 2008 19:39:24 +0000 (21:39 +0200)]
__setslice__ and __delslice__ were removed in Py3
Stefan Behnel [Wed, 14 May 2008 19:20:08 +0000 (21:20 +0200)]
make it explicit in the generated source code what is an identifier string constant and what is a normal string constant that just happens to get interned
Stefan Behnel [Wed, 14 May 2008 19:18:38 +0000 (21:18 +0200)]
docstrings can't have u'abc' literals in Py3
Stefan Behnel [Wed, 14 May 2008 19:16:45 +0000 (21:16 +0200)]
importing a module named by a unicode string seems to work equally well in Py2 and Py3
Stefan Behnel [Wed, 14 May 2008 16:19:04 +0000 (18:19 +0200)]
removed 'intern_names' Option - always intern identifier-like strings
Stefan Behnel [Tue, 13 May 2008 21:41:11 +0000 (23:41 +0200)]
support running tests without running Cython to test the generated code under different Python versions (including Py3)
Stefan Behnel [Tue, 13 May 2008 21:10:50 +0000 (23:10 +0200)]
merged trunk changes
Stefan Behnel [Tue, 13 May 2008 18:06:25 +0000 (20:06 +0200)]
cleanup
Stefan Behnel [Tue, 13 May 2008 17:59:36 +0000 (19:59 +0200)]
fixes: generate constant declarations before we access them, write cleanup code as before
Stefan Behnel [Tue, 13 May 2008 10:13:27 +0000 (12:13 +0200)]
merged intern table with general string table to support unicode string interning in Py3
Stefan Behnel [Tue, 13 May 2008 10:11:58 +0000 (12:11 +0200)]
whitespace
Stefan Behnel [Tue, 13 May 2008 09:32:00 +0000 (11:32 +0200)]
identifiers are encoded strings
Stefan Behnel [Sat, 10 May 2008 14:16:05 +0000 (16:16 +0200)]
hack to make __Pyx_InternStrings() work for now: switch string interning off in Py3
Stefan Behnel [Sat, 10 May 2008 14:15:26 +0000 (16:15 +0200)]
more #define's for stuff that's gone in Py3
Stefan Behnel [Sat, 10 May 2008 12:50:09 +0000 (14:50 +0200)]
unicode fixes
Stefan Behnel [Sat, 10 May 2008 12:46:37 +0000 (14:46 +0200)]
it's Cython, not Pyrex :)
Stefan Behnel [Fri, 9 May 2008 17:02:36 +0000 (19:02 +0200)]
original Py3 code generation patch by Lisandro Dalcin
Stefan Behnel [Fri, 9 May 2008 07:52:49 +0000 (09:52 +0200)]
test runner: pass '-a' to get an annotated source version of the tests
Stefan Behnel [Fri, 9 May 2008 07:28:36 +0000 (09:28 +0200)]
put the annotated .html file next to the .c file to fix annotation when the .c file is not in the same directory as the .pyx file
Stefan Behnel [Fri, 9 May 2008 06:57:37 +0000 (08:57 +0200)]
support enabling source annotation via CompilerOptions
Stefan Behnel [Fri, 9 May 2008 06:15:35 +0000 (08:15 +0200)]
fix code annotation for unicode source
Stefan Behnel [Fri, 9 May 2008 06:14:38 +0000 (08:14 +0200)]
moved code for filename encoding to Utils.py to make it reusable elsewhere
Stefan Behnel [Fri, 9 May 2008 05:39:21 +0000 (07:39 +0200)]
merge
Stefan Behnel [Fri, 9 May 2008 05:30:59 +0000 (07:30 +0200)]
fix for windows build
Robert Bradshaw [Thu, 8 May 2008 16:38:11 +0000 (09:38 -0700)]
...
Robert Bradshaw [Thu, 8 May 2008 16:37:32 +0000 (09:37 -0700)]
merge __getattribut__ code
Stefan Behnel [Thu, 8 May 2008 06:25:47 +0000 (08:25 +0200)]
fix for negative compile time int constants
Robert Bradshaw [Wed, 7 May 2008 20:07:34 +0000 (13:07 -0700)]
Temporary fix for annotation unicode incompatabilities.
Peter Todd [Mon, 5 May 2008 03:28:40 +0000 (23:28 -0400)]
__getattr(ibute)__ special methods now work with subclasses.
Stefan Behnel [Sun, 4 May 2008 15:32:59 +0000 (17:32 +0200)]
updated .hgignore
Kirill Smelkov [Sat, 3 May 2008 11:35:07 +0000 (15:35 +0400)]
Initial .hgignore
We ignore *.pyc, vim swap files, build results under BUILD/ and Lexicon.pickle
This is handy, because otherwise, say after runtest.py run, 'hg status' shows
lots of unrelated info, thus lowering signal-to-noise ratio.
Stefan Behnel [Sun, 4 May 2008 15:29:24 +0000 (17:29 +0200)]
set exec bits on scripts
Peter Todd [Fri, 2 May 2008 08:22:48 +0000 (04:22 -0400)]
First stage of __getattribute__ special method support.
Works with test cases for a single class, have not dealt with subclass issues
yet.
Stefan Behnel [Fri, 2 May 2008 08:22:20 +0000 (10:22 +0200)]
merge of release changes for Cython 0.9.6.14
Stefan Behnel [Fri, 2 May 2008 08:12:09 +0000 (10:12 +0200)]
fix test case and make it really test the expected exception type
Stefan Behnel [Fri, 2 May 2008 07:08:08 +0000 (09:08 +0200)]
make test for new style exceptions run on all Python versions by not actually testing for new style exceptions :)
Stefan Behnel [Fri, 2 May 2008 07:04:32 +0000 (09:04 +0200)]
do not test exception message as it differs between Python versions