Stefan Behnel [Fri, 22 Apr 2011 17:39:41 +0000 (19:39 +0200)]
config cleanup in BuildExecutable.py, make it executable
Stefan Behnel [Fri, 22 Apr 2011 17:08:55 +0000 (19:08 +0200)]
blacklist distutils sysconfig module in pyximport (needs to reside inside CPython)
Stefan Behnel [Thu, 21 Apr 2011 22:37:46 +0000 (00:37 +0200)]
fix string constant declarations for non CPython-version-specific strings
Stefan Behnel [Thu, 21 Apr 2011 22:10:41 +0000 (00:10 +0200)]
build fix
Stefan Behnel [Thu, 21 Apr 2011 21:46:09 +0000 (23:46 +0200)]
fix C warnings about unused string constants
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
Stefan Behnel [Thu, 21 Apr 2011 20:23:19 +0000 (22:23 +0200)]
support for lambda inside of generator expressions
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
Stefan Behnel [Thu, 21 Apr 2011 19:01:50 +0000 (21:01 +0200)]
disable pyregr test for PEP 3131 (unicode identifiers)
Stefan Behnel [Thu, 21 Apr 2011 18:58:17 +0000 (20:58 +0200)]
fix scanner level error reporting in Plex/Errors.py
Stefan Behnel [Thu, 21 Apr 2011 17:28:56 +0000 (19:28 +0200)]
test fix for narrow Py3 Unicode builds
Stefan Behnel [Thu, 21 Apr 2011 17:25:21 +0000 (19:25 +0200)]
fix unprefixed strings with non-UTF8 source code encoding in Py3
Stefan Behnel [Thu, 21 Apr 2011 16:17:12 +0000 (18:17 +0200)]
build fix
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
Stefan Behnel [Thu, 21 Apr 2011 08:30:40 +0000 (10:30 +0200)]
__future__ imports syntax test
Stefan Behnel [Thu, 21 Apr 2011 07:24:43 +0000 (09:24 +0200)]
allow multiple __future__ imports in separate statements
Stefan Behnel [Thu, 21 Apr 2011 06:18:13 +0000 (08:18 +0200)]
fix compiler crash on uncachable builtins
Stefan Behnel [Thu, 21 Apr 2011 05:13:14 +0000 (07:13 +0200)]
disable unknown names check for pyregr tests
Stefan Behnel [Thu, 21 Apr 2011 05:12:13 +0000 (07:12 +0200)]
blacklist for uncachable builtins
Stefan Behnel [Thu, 21 Apr 2011 04:56:22 +0000 (06:56 +0200)]
fix pyregr test language level at running CPython version
Stefan Behnel [Thu, 21 Apr 2011 04:45:07 +0000 (06:45 +0200)]
print sys pyregr directory in test runner
Stefan Behnel [Wed, 20 Apr 2011 16:29:07 +0000 (18:29 +0200)]
Py3 fixes for stl string tests
Stefan Behnel [Wed, 20 Apr 2011 15:54:39 +0000 (17:54 +0200)]
merge
Stefan Behnel [Wed, 20 Apr 2011 14:38:11 +0000 (16:38 +0200)]
merged exception localisation fix for generators
Brent Pedersen (brentp) [Wed, 20 Apr 2011 14:24:36 +0000 (08:24 -0600)]
add libcpp.string + tests.
Vitja Makarov [Wed, 20 Apr 2011 12:48:15 +0000 (16:48 +0400)]
Add swap_exception_utility_code
Vitja Makarov [Wed, 20 Apr 2011 12:47:55 +0000 (16:47 +0400)]
Swap exception context inside generators
Stefan Behnel [Tue, 19 Apr 2011 07:17:15 +0000 (09:17 +0200)]
merged in Vitja's generators fix
Stefan Behnel [Tue, 19 Apr 2011 07:15:07 +0000 (09:15 +0200)]
comment
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
Vitja Makarov [Sun, 17 Apr 2011 15:15:38 +0000 (19:15 +0400)]
Fix yield inside lambda
Vitja Makarov [Sun, 17 Apr 2011 15:15:03 +0000 (19:15 +0400)]
Generators tests are supported with python >=2.6
Stefan Behnel [Sun, 17 Apr 2011 10:00:03 +0000 (12:00 +0200)]
disable Python generators testing in old Python versions
Stefan Behnel [Sun, 17 Apr 2011 09:45:14 +0000 (11:45 +0200)]
added failing exception test for generators
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
Stefan Behnel [Sun, 17 Apr 2011 08:04:00 +0000 (10:04 +0200)]
fix #688: optimised builtin functions/methods return 0 instead of None
Dag Sverre Seljebotn [Sat, 16 Apr 2011 16:17:57 +0000 (18:17 +0200)]
Merge branch 'bug/3118-align'
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
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
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.
Stefan Behnel [Sat, 16 Apr 2011 10:32:23 +0000 (12:32 +0200)]
Py2.3 fix
Stefan Behnel [Sat, 16 Apr 2011 10:06:58 +0000 (12:06 +0200)]
merge
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
Robert Bradshaw [Sat, 16 Apr 2011 07:38:44 +0000 (00:38 -0700)]
Mode tag for import compile only test.
Haoyu Bai [Sat, 2 Apr 2011 07:09:31 +0000 (15:09 +0800)]
exclude relativeimport_star_T542 test for py<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)
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
Haoyu Bai [Fri, 1 Apr 2011 17:02:00 +0000 (01:02 +0800)]
add py2_import directive to control import level
Haoyu Bai [Fri, 1 Apr 2011 15:53:46 +0000 (23:53 +0800)]
fix compatibility with python<=2.4
Haoyu Bai [Fri, 1 Apr 2011 08:05:31 +0000 (16:05 +0800)]
T542 relative import
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
Stefan Behnel [Sat, 16 Apr 2011 06:28:46 +0000 (08:28 +0200)]
merge
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.
Stefan Behnel [Thu, 14 Apr 2011 16:40:13 +0000 (18:40 +0200)]
divert cythonrun output to stderr
Stefan Behnel [Thu, 14 Apr 2011 16:37:34 +0000 (18:37 +0200)]
new test for auto_cpdef with closure functions
Vitja Makarov [Wed, 13 Apr 2011 15:03:42 +0000 (19:03 +0400)]
Add simple test for cdef override warning
Vitja Makarov [Wed, 13 Apr 2011 15:03:25 +0000 (19:03 +0400)]
runtests: add werror tag
Vitja Makarov [Wed, 13 Apr 2011 15:01:33 +0000 (19:01 +0400)]
Don't report error if position is not set
Vitja Makarov [Sat, 29 Jan 2011 06:49:18 +0000 (09:49 +0300)]
Add command line flag --warning-errors and gcc compat alias -Werror
Stefan Behnel [Thu, 14 Apr 2011 07:28:47 +0000 (09:28 +0200)]
fix dir(obj) after implementing dir()
Stefan Behnel [Wed, 13 Apr 2011 21:06:23 +0000 (23:06 +0200)]
ticket #685: implement no-arg dir()
Stefan Behnel [Wed, 13 Apr 2011 20:27:13 +0000 (22:27 +0200)]
fix #684: del in Python class scope
Stefan Behnel [Wed, 13 Apr 2011 20:06:49 +0000 (22:06 +0200)]
tests for class scope behaviour
Stefan Behnel [Wed, 13 Apr 2011 19:25:03 +0000 (21:25 +0200)]
fix #683: allow overriding C-API mapped builtin functions with (auto-)cpdef functions
Stefan Behnel [Wed, 13 Apr 2011 19:23:56 +0000 (21:23 +0200)]
support test_fail_if_path_exists() decorator in shadow module
Stefan Behnel [Wed, 13 Apr 2011 19:11:06 +0000 (21:11 +0200)]
make builtin scope recognisable
Stefan Behnel [Wed, 13 Apr 2011 18:36:38 +0000 (20:36 +0200)]
fix #682: compiler crash on auto_cpdef redefinition
Stefan Behnel [Wed, 13 Apr 2011 17:58:56 +0000 (19:58 +0200)]
fix #675: make 'by' a non-keyword also in .pyx files
Robert Bradshaw [Tue, 12 Apr 2011 13:34:01 +0000 (06:34 -0700)]
Documentation cleanup.
jasongrout [Fri, 8 Apr 2011 02:05:59 +0000 (19:05 -0700)]
Various doc typo and wording fixes.
Robert Bradshaw [Tue, 12 Apr 2011 13:07:46 +0000 (06:07 -0700)]
Use tags for test deps.
Robert Bradshaw [Tue, 12 Apr 2011 12:41:22 +0000 (05:41 -0700)]
Use tags for ticket number.
Stefan Behnel [Mon, 11 Apr 2011 21:34:44 +0000 (23:34 +0200)]
blacklist distutils.extension in pyximport
Stefan Behnel [Mon, 11 Apr 2011 21:26:54 +0000 (23:26 +0200)]
fix py-importing in pyximport
Stefan Behnel [Mon, 11 Apr 2011 20:44:33 +0000 (22:44 +0200)]
support 'from __future__ import generators'
Stefan Behnel [Mon, 11 Apr 2011 20:42:38 +0000 (22:42 +0200)]
move NULL out of the way in .py compilation
Stefan Behnel [Mon, 11 Apr 2011 20:07:52 +0000 (22:07 +0200)]
support passing options to the compiler in cythonrun
Stefan Behnel [Mon, 11 Apr 2011 07:14:56 +0000 (09:14 +0200)]
fix copy&paste bug in cythonrun
Stefan Behnel [Mon, 11 Apr 2011 06:26:44 +0000 (08:26 +0200)]
doc fix in .pxd file
Stefan Behnel [Sun, 10 Apr 2011 20:52:06 +0000 (22:52 +0200)]
merge
Stefan Behnel [Sun, 10 Apr 2011 20:49:41 +0000 (22:49 +0200)]
new script to compile+run Python files directly in Cython
Lisandro Dalcin [Sat, 9 Apr 2011 21:56:16 +0000 (18:56 -0300)]
Fix GCC warnings with Python 2.3
Stefan Behnel [Fri, 8 Apr 2011 23:00:03 +0000 (01:00 +0200)]
pyximport debug output fix
Robert Bradshaw [Fri, 8 Apr 2011 05:52:25 +0000 (22:52 -0700)]
Be a bit more liberal about top-of-the-file directives.
Lisandro Dalcin [Fri, 8 Apr 2011 04:06:17 +0000 (01:06 -0300)]
fix pŕevious commit mixing declarations and code
Robert Bradshaw [Fri, 8 Apr 2011 00:24:19 +0000 (17:24 -0700)]
Merge remote branch 'remotes/fransesc/compiler_directives'
Conflicts:
docs/src/reference/compilation.rst
Robert Bradshaw [Fri, 8 Apr 2011 00:18:02 +0000 (17:18 -0700)]
Merge branch 'docs'
Robert Bradshaw [Fri, 8 Apr 2011 00:16:59 +0000 (17:16 -0700)]
Move compilation block to before directives, add note about cython.inline.
Robert Bradshaw [Fri, 8 Apr 2011 00:01:05 +0000 (17:01 -0700)]
minor directive edits
Francesc Alted [Sat, 2 Apr 2011 21:11:38 +0000 (23:11 +0200)]
Added info on how to set directives.
Francesc Alted [Sat, 2 Apr 2011 19:25:07 +0000 (21:25 +0200)]
Added compiler directives to the Compilation section.
Francesc Alted [Sat, 2 Apr 2011 16:40:04 +0000 (18:40 +0200)]
A first restructuration of Compilation section.
Lisandro Dalcin [Thu, 7 Apr 2011 22:25:45 +0000 (19:25 -0300)]
PEP 3118: fix for NULL Py_buffer arg
Stefan Behnel [Thu, 7 Apr 2011 18:54:35 +0000 (20:54 +0200)]
error test fix
Stefan Behnel [Thu, 7 Apr 2011 18:17:52 +0000 (20:17 +0200)]
fixes for I/O handling in test runner
Stefan Behnel [Thu, 7 Apr 2011 14:33:17 +0000 (16:33 +0200)]
Py3 test runner fix
Lisandro Dalcin [Thu, 7 Apr 2011 13:47:10 +0000 (10:47 -0300)]
more tests for #477
Lisandro Dalcin [Thu, 7 Apr 2011 13:35:19 +0000 (10:35 -0300)]
Merge branch 'T477-fix' of https://github.com/bhy/cython into bhy-T477-fix
Stefan Behnel [Thu, 7 Apr 2011 13:30:07 +0000 (15:30 +0200)]
fix nonlocal crashes
Haoyu Bai [Thu, 7 Apr 2011 13:00:43 +0000 (21:00 +0800)]
more tests