cython.git
13 years agosupport HTML coverage reports
Stefan Behnel [Thu, 28 Apr 2011 11:45:39 +0000 (13:45 +0200)]
support HTML coverage reports

13 years agowork-around for ticket #691: look up unknown global names in builtins at runtime
Stefan Behnel [Wed, 27 Apr 2011 13:40:41 +0000 (15:40 +0200)]
work-around for ticket #691: look up unknown global names in builtins at runtime

13 years agofix compiler crash in FlattenInListTransform for non-trivial expressions
Stefan Behnel [Wed, 27 Apr 2011 11:35:55 +0000 (13:35 +0200)]
fix compiler crash in FlattenInListTransform for non-trivial expressions

13 years agoC++ const fix in test
Stefan Behnel [Wed, 27 Apr 2011 07:19:44 +0000 (09:19 +0200)]
C++ const fix in test

13 years agofix generators after raise-from merge
Stefan Behnel [Wed, 27 Apr 2011 06:57:34 +0000 (08:57 +0200)]
fix generators after raise-from merge

13 years agoMerged pull request #12 from bhy/T423.
robertwb [Tue, 26 Apr 2011 19:25:23 +0000 (12:25 -0700)]
Merged pull request #12 from bhy/T423.

T423 explicit execption chaining

13 years agoPy3 test fix
Stefan Behnel [Tue, 26 Apr 2011 07:25:56 +0000 (09:25 +0200)]
Py3 test fix

13 years agoPy3 test fix
Stefan Behnel [Tue, 26 Apr 2011 07:21:58 +0000 (09:21 +0200)]
Py3 test fix

13 years agofix non-forked testing
Stefan Behnel [Mon, 25 Apr 2011 18:42:34 +0000 (20:42 +0200)]
fix non-forked testing

13 years agoenable forked test runs for pyregr test suite
Stefan Behnel [Mon, 25 Apr 2011 15:08:26 +0000 (17:08 +0200)]
enable forked test runs for pyregr test suite

13 years agofix C++ function matching: Entry objects are not ordered
Stefan Behnel [Mon, 25 Apr 2011 07:39:31 +0000 (09:39 +0200)]
fix C++ function matching: Entry objects are not ordered

13 years agotest fix
Stefan Behnel [Mon, 25 Apr 2011 07:27:24 +0000 (09:27 +0200)]
test fix

13 years agofix function declarations inside of 'with' blocks
Stefan Behnel [Mon, 25 Apr 2011 05:34:49 +0000 (07:34 +0200)]
fix function declarations inside of 'with' blocks

13 years agomove 'with' statement implementation back into WithTransform to fix 'with' statement...
Stefan Behnel [Sun, 24 Apr 2011 23:09:26 +0000 (01:09 +0200)]
move 'with' statement implementation back into WithTransform to fix 'with' statement usage for compiler directives

13 years agoPy compatibility test fixes
Stefan Behnel [Sun, 24 Apr 2011 22:24:56 +0000 (00:24 +0200)]
Py compatibility test fixes

13 years agoreimplement 'with' statement using dedicated nodes, instead of a generic transform
Stefan Behnel [Sun, 24 Apr 2011 22:15:34 +0000 (00:15 +0200)]
reimplement 'with' statement using dedicated nodes, instead of a generic transform

--HG--
rename : tests/run/withstat.pyx => tests/run/withstat_py.py

13 years agoimproved test case
Stefan Behnel [Sat, 23 Apr 2011 19:15:46 +0000 (21:15 +0200)]
improved test case

13 years agoPy<2.5 test fix
Stefan Behnel [Sat, 23 Apr 2011 18:56:38 +0000 (20:56 +0200)]
Py<2.5 test fix

13 years agoPy3 test fix
Stefan Behnel [Sat, 23 Apr 2011 18:40:22 +0000 (20:40 +0200)]
Py3 test fix

13 years agofix test after 'with' statement change
Stefan Behnel [Sat, 23 Apr 2011 18:35:29 +0000 (20:35 +0200)]
fix test after 'with' statement change

13 years agofix 'with' statement at module scope by reactivating old temp code for it
Stefan Behnel [Sat, 23 Apr 2011 18:27:25 +0000 (20:27 +0200)]
fix 'with' statement at module scope by reactivating old temp code for it

13 years agoclean up exc_info handling in 'with' statement implementation
Stefan Behnel [Sat, 23 Apr 2011 14:28:40 +0000 (16:28 +0200)]
clean up exc_info handling in 'with' statement implementation

13 years agoBuildExecutable: use correct executable extension, build dynamically instead of stati...
Stefan Behnel [Sat, 23 Apr 2011 07:15:55 +0000 (09:15 +0200)]
BuildExecutable: use correct executable extension, build dynamically instead of statically when possible

13 years agolink statically against libpython in BuildExecutable (hack to make it work if libpyth...
Stefan Behnel [Fri, 22 Apr 2011 21:03:58 +0000 (23:03 +0200)]
link statically against libpython in BuildExecutable (hack to make it work if libpython is in a non-standard directory)

13 years agoremove trailing whitespace
Robert Bradshaw [Fri, 22 Apr 2011 19:28:00 +0000 (12:28 -0700)]
remove trailing whitespace

13 years agoconfig cleanup in BuildExecutable.py, make it executable
Stefan Behnel [Fri, 22 Apr 2011 17:39:41 +0000 (19:39 +0200)]
config cleanup in BuildExecutable.py, make it executable

13 years agoblacklist distutils sysconfig module in pyximport (needs to reside inside CPython)
Stefan Behnel [Fri, 22 Apr 2011 17:08:55 +0000 (19:08 +0200)]
blacklist distutils sysconfig module in pyximport (needs to reside inside CPython)

13 years agofix string constant declarations for non CPython-version-specific strings
Stefan Behnel [Thu, 21 Apr 2011 22:37:46 +0000 (00:37 +0200)]
fix string constant declarations for non CPython-version-specific strings

13 years agobuild fix
Stefan Behnel [Thu, 21 Apr 2011 22:10:41 +0000 (00:10 +0200)]
build fix

13 years agofix C warnings about unused string constants
Stefan Behnel [Thu, 21 Apr 2011 21:46:09 +0000 (23:46 +0200)]
fix C warnings about unused string constants

13 years agocleaned up lambda cname mangeling by moving it into the Scope class
Stefan Behnel [Thu, 21 Apr 2011 21:01:25 +0000 (23:01 +0200)]
cleaned up lambda cname mangeling by moving it into the Scope class

13 years agosupport for lambda inside of generator expressions
Stefan Behnel [Thu, 21 Apr 2011 20:23:19 +0000 (22:23 +0200)]
support for lambda inside of generator expressions

13 years agoenable pyregr test that no longer seems to break the test runs
Stefan Behnel [Thu, 21 Apr 2011 19:06:15 +0000 (21:06 +0200)]
enable pyregr test that no longer seems to break the test runs

13 years agodisable pyregr test for PEP 3131 (unicode identifiers)
Stefan Behnel [Thu, 21 Apr 2011 19:01:50 +0000 (21:01 +0200)]
disable pyregr test for PEP 3131 (unicode identifiers)

13 years agofix scanner level error reporting in Plex/Errors.py
Stefan Behnel [Thu, 21 Apr 2011 18:58:17 +0000 (20:58 +0200)]
fix scanner level error reporting in Plex/Errors.py

13 years agotest fix for narrow Py3 Unicode builds
Stefan Behnel [Thu, 21 Apr 2011 17:28:56 +0000 (19:28 +0200)]
test fix for narrow Py3 Unicode builds

13 years agofix unprefixed strings with non-UTF8 source code encoding in Py3
Stefan Behnel [Thu, 21 Apr 2011 17:25:21 +0000 (19:25 +0200)]
fix unprefixed strings with non-UTF8 source code encoding in Py3

13 years agobuild fix
Stefan Behnel [Thu, 21 Apr 2011 16:17:12 +0000 (18:17 +0200)]
build fix

13 years agowhen C compiling original Cython/Py2 sources in Py3, interpret unprefixed string...
Stefan Behnel [Thu, 21 Apr 2011 16:04:55 +0000 (18:04 +0200)]
when C compiling original Cython/Py2 sources in Py3, interpret unprefixed string literals as CPython's parser would

13 years ago__future__ imports syntax test
Stefan Behnel [Thu, 21 Apr 2011 08:30:40 +0000 (10:30 +0200)]
__future__ imports syntax test

13 years agoallow multiple __future__ imports in separate statements
Stefan Behnel [Thu, 21 Apr 2011 07:24:43 +0000 (09:24 +0200)]
allow multiple __future__ imports in separate statements

13 years agofix compiler crash on uncachable builtins
Stefan Behnel [Thu, 21 Apr 2011 06:18:13 +0000 (08:18 +0200)]
fix compiler crash on uncachable builtins

13 years agodisable unknown names check for pyregr tests
Stefan Behnel [Thu, 21 Apr 2011 05:13:14 +0000 (07:13 +0200)]
disable unknown names check for pyregr tests

13 years agoblacklist for uncachable builtins
Stefan Behnel [Thu, 21 Apr 2011 05:12:13 +0000 (07:12 +0200)]
blacklist for uncachable builtins

13 years agofix pyregr test language level at running CPython version
Stefan Behnel [Thu, 21 Apr 2011 04:56:22 +0000 (06:56 +0200)]
fix pyregr test language level at running CPython version

13 years agoprint sys pyregr directory in test runner
Stefan Behnel [Thu, 21 Apr 2011 04:45:07 +0000 (06:45 +0200)]
print sys pyregr directory in test runner

13 years agoPy3 fixes for stl string tests
Stefan Behnel [Wed, 20 Apr 2011 16:29:07 +0000 (18:29 +0200)]
Py3 fixes for stl string tests

13 years agomerge
Stefan Behnel [Wed, 20 Apr 2011 15:54:39 +0000 (17:54 +0200)]
merge

13 years agomerged exception localisation fix for generators
Stefan Behnel [Wed, 20 Apr 2011 14:38:11 +0000 (16:38 +0200)]
merged exception localisation fix for generators

13 years agoadd libcpp.string + tests.
Brent Pedersen (brentp) [Wed, 20 Apr 2011 14:24:36 +0000 (08:24 -0600)]
add libcpp.string + tests.

13 years agoAdd swap_exception_utility_code
Vitja Makarov [Wed, 20 Apr 2011 12:48:15 +0000 (16:48 +0400)]
Add swap_exception_utility_code

13 years agoSwap exception context inside generators
Vitja Makarov [Wed, 20 Apr 2011 12:47:55 +0000 (16:47 +0400)]
Swap exception context inside generators

13 years agomerged in Vitja's generators fix
Stefan Behnel [Tue, 19 Apr 2011 07:17:15 +0000 (09:17 +0200)]
merged in Vitja's generators fix

13 years agomerged in Vitja's generators fix
Stefan Behnel [Tue, 19 Apr 2011 07:17:15 +0000 (09:17 +0200)]
merged in Vitja's generators fix

13 years agocomment
Stefan Behnel [Tue, 19 Apr 2011 07:15:07 +0000 (09:15 +0200)]
comment

13 years agocomment
Stefan Behnel [Tue, 19 Apr 2011 07:15:07 +0000 (09:15 +0200)]
comment

13 years agokeep portability fix in generators.pyx to keep it working with older Python versions
Stefan Behnel [Tue, 19 Apr 2011 07:11:49 +0000 (09:11 +0200)]
keep portability fix in generators.pyx to keep it working with older Python versions

13 years agoFix yield inside lambda
Vitja Makarov [Sun, 17 Apr 2011 15:15:38 +0000 (19:15 +0400)]
Fix yield inside lambda

13 years agoGenerators tests are supported with python >=2.6
Vitja Makarov [Sun, 17 Apr 2011 15:15:03 +0000 (19:15 +0400)]
Generators tests are supported with python >=2.6

13 years agodisable Python generators testing in old Python versions
Stefan Behnel [Sun, 17 Apr 2011 10:00:03 +0000 (12:00 +0200)]
disable Python generators testing in old Python versions

13 years agodisable Python generators testing in old Python versions
Stefan Behnel [Sun, 17 Apr 2011 10:00:03 +0000 (12:00 +0200)]
disable Python generators testing in old Python versions

13 years agoadded failing exception test for generators
Stefan Behnel [Sun, 17 Apr 2011 09:45:14 +0000 (11:45 +0200)]
added failing exception test for generators

13 years agoadded failing exception test for generators
Stefan Behnel [Sun, 17 Apr 2011 09:45:14 +0000 (11:45 +0200)]
added failing exception test for generators

13 years agocopied generators tests into a .py file in order to compare their results with CPython
Stefan Behnel [Sun, 17 Apr 2011 09:43:36 +0000 (11:43 +0200)]
copied generators tests into a .py file in order to compare their results with CPython

--HG--
rename : tests/run/generators.pyx => tests/run/generators_py.py

13 years agocopied generators tests into a .py file in order to compare their results with CPython
Stefan Behnel [Sun, 17 Apr 2011 09:43:36 +0000 (11:43 +0200)]
copied generators tests into a .py file in order to compare their results with CPython

--HG--
rename : tests/run/generators.pyx => tests/run/generators_py.py

13 years agofix #688: optimised builtin functions/methods return 0 instead of None
Stefan Behnel [Sun, 17 Apr 2011 08:04:00 +0000 (10:04 +0200)]
fix #688: optimised builtin functions/methods return 0 instead of None

13 years agofix #688: optimised builtin functions/methods return 0 instead of None
Stefan Behnel [Sun, 17 Apr 2011 08:04:00 +0000 (10:04 +0200)]
fix #688: optimised builtin functions/methods return 0 instead of None

13 years agoMerge branch 'bug/3118-align'
Dag Sverre Seljebotn [Sat, 16 Apr 2011 16:17:57 +0000 (18:17 +0200)]
Merge branch 'bug/3118-align'

13 years agoMerge branch 'bug/3118-align'
Dag Sverre Seljebotn [Sat, 16 Apr 2011 16:17:57 +0000 (18:17 +0200)]
Merge branch 'bug/3118-align'

13 years agoTST: numpy_test: run some of the buffer tests only when a sufficiently new Numpy...
Pauli Virtanen [Mon, 4 Apr 2011 08:40:53 +0000 (10:40 +0200)]
TST: numpy_test: run some of the buffer tests only when a sufficiently new Numpy version is available

13 years agoTST: numpy_test: run some of the buffer tests only when a sufficiently new Numpy...
Pauli Virtanen [Mon, 4 Apr 2011 08:40:53 +0000 (10:40 +0200)]
TST: numpy_test: run some of the buffer tests only when a sufficiently new Numpy version is available

13 years agoTST: buffer: add additional buffer access tests for packed structs related to 3f599a8c
Pauli Virtanen [Sat, 2 Apr 2011 10:08:19 +0000 (12:08 +0200)]
TST: buffer: add additional buffer access tests for packed structs related to 3f599a8c

13 years agoTST: buffer: add additional buffer access tests for packed structs related to 3f599a8c
Pauli Virtanen [Sat, 2 Apr 2011 10:08:19 +0000 (12:08 +0200)]
TST: buffer: add additional buffer access tests for packed structs related to 3f599a8c

13 years agoBUG: buffer: allow alignment characters also in the middle of buffer format strings...
Pauli Virtanen [Fri, 1 Apr 2011 19:03:59 +0000 (21:03 +0200)]
BUG: buffer: allow alignment characters also in the middle of buffer format strings (#630)

Small fix was needed to make the buffer string parsing handle this case
correctly.

13 years agoBUG: buffer: allow alignment characters also in the middle of buffer format strings...
Pauli Virtanen [Fri, 1 Apr 2011 19:03:59 +0000 (21:03 +0200)]
BUG: buffer: allow alignment characters also in the middle of buffer format strings (#630)

Small fix was needed to make the buffer string parsing handle this case
correctly.

13 years agoPy2.3 fix
Stefan Behnel [Sat, 16 Apr 2011 10:32:23 +0000 (12:32 +0200)]
Py2.3 fix

13 years agoPy2.3 fix
Stefan Behnel [Sat, 16 Apr 2011 10:32:23 +0000 (12:32 +0200)]
Py2.3 fix

13 years agomerge
Stefan Behnel [Sat, 16 Apr 2011 10:06:58 +0000 (12:06 +0200)]
merge

13 years agomerge
Stefan Behnel [Sat, 16 Apr 2011 10:06:58 +0000 (12:06 +0200)]
merge

13 years agoclean up special casing of non-portable builtin types, add option for disabling error...
Stefan Behnel [Sat, 16 Apr 2011 10:05:10 +0000 (12:05 +0200)]
clean up special casing of non-portable builtin types, add option for disabling errors on unknown names

13 years agoclean up special casing of non-portable builtin types, add option for disabling error...
Stefan Behnel [Sat, 16 Apr 2011 10:05:10 +0000 (12:05 +0200)]
clean up special casing of non-portable builtin types, add option for disabling errors on unknown names

13 years agoMode tag for import compile only test.
Robert Bradshaw [Sat, 16 Apr 2011 07:38:44 +0000 (00:38 -0700)]
Mode tag for import compile only test.

13 years agoMode tag for import compile only test.
Robert Bradshaw [Sat, 16 Apr 2011 07:38:44 +0000 (00:38 -0700)]
Mode tag for import compile only test.

13 years agoexclude relativeimport_star_T542 test for py<2.5
Haoyu Bai [Sat, 2 Apr 2011 07:09:31 +0000 (15:09 +0800)]
exclude relativeimport_star_T542 test for py<2.5

13 years agoexclude relativeimport_star_T542 test for py<2.5
Haoyu Bai [Sat, 2 Apr 2011 07:09:31 +0000 (15:09 +0800)]
exclude relativeimport_star_T542 test for py<2.5

13 years agobetter way to fool Python in the tests (now works in 2.5)
Haoyu Bai [Sat, 2 Apr 2011 06:33:41 +0000 (14:33 +0800)]
better way to fool Python in the tests (now works in 2.5)

13 years agobetter way to fool Python in the tests (now works in 2.5)
Haoyu Bai [Sat, 2 Apr 2011 06:33:41 +0000 (14:33 +0800)]
better way to fool Python in the tests (now works in 2.5)

13 years agoset py2_import directive so imports in Cython source code not forced to absolute
Haoyu Bai [Sat, 2 Apr 2011 00:00:41 +0000 (08:00 +0800)]
set py2_import directive so imports in Cython source code not forced to absolute

13 years agoset py2_import directive so imports in Cython source code not forced to absolute
Haoyu Bai [Sat, 2 Apr 2011 00:00:41 +0000 (08:00 +0800)]
set py2_import directive so imports in Cython source code not forced to absolute

13 years agoadd py2_import directive to control import level
Haoyu Bai [Fri, 1 Apr 2011 17:02:00 +0000 (01:02 +0800)]
add py2_import directive to control import level

13 years agoadd py2_import directive to control import level
Haoyu Bai [Fri, 1 Apr 2011 17:02:00 +0000 (01:02 +0800)]
add py2_import directive to control import level

13 years agofix compatibility with python<=2.4
Haoyu Bai [Fri, 1 Apr 2011 15:53:46 +0000 (23:53 +0800)]
fix compatibility with python<=2.4

13 years agofix compatibility with python<=2.4
Haoyu Bai [Fri, 1 Apr 2011 15:53:46 +0000 (23:53 +0800)]
fix compatibility with python<=2.4

13 years agoT542 relative import
Haoyu Bai [Fri, 1 Apr 2011 08:05:31 +0000 (16:05 +0800)]
T542 relative import

13 years agoT542 relative import
Haoyu Bai [Fri, 1 Apr 2011 08:05:31 +0000 (16:05 +0800)]
T542 relative import

13 years agoMerge branch 'master' of https://github.com/gotgenes/cython into gotgenes-master
Robert Bradshaw [Sat, 16 Apr 2011 07:07:41 +0000 (00:07 -0700)]
Merge branch 'master' of https://github.com/gotgenes/cython into gotgenes-master

13 years agoMerge branch 'master' of https://github.com/gotgenes/cython into gotgenes-master
Robert Bradshaw [Sat, 16 Apr 2011 07:07:41 +0000 (00:07 -0700)]
Merge branch 'master' of https://github.com/gotgenes/cython into gotgenes-master

13 years agomerge
Stefan Behnel [Sat, 16 Apr 2011 06:28:46 +0000 (08:28 +0200)]
merge

--HG--
rename : bin/cythonrun => Cython/Build/BuildExecutable.py

13 years agomerge
Stefan Behnel [Sat, 16 Apr 2011 06:28:46 +0000 (08:28 +0200)]
merge

13 years agoFixes missing code in User's Guide Tutorial.
Chris Lasher [Thu, 14 Apr 2011 18:51:51 +0000 (14:51 -0400)]
Fixes missing code in User's Guide Tutorial.

Several ``literalinclude``s in the User's Guide Tutorial
(``tutorial.rst``) had incorrect paths (off by one parent directory),
causing a failure to include code examples in the built documentation.
This patch corrects those paths, so the code from the appropriate source
files now renders in the built documentation.