cython.git
13 years agoDon't report error if position is not set
Vitja Makarov [Wed, 13 Apr 2011 15:01:33 +0000 (19:01 +0400)]
Don't report error if position is not set

13 years agoAdd command line flag --warning-errors and gcc compat alias -Werror
Vitja Makarov [Sat, 29 Jan 2011 06:49:18 +0000 (09:49 +0300)]
Add command line flag --warning-errors and gcc compat alias -Werror

13 years agofix dir(obj) after implementing dir()
Stefan Behnel [Thu, 14 Apr 2011 07:28:47 +0000 (09:28 +0200)]
fix dir(obj) after implementing dir()

13 years agoticket #685: implement no-arg dir()
Stefan Behnel [Wed, 13 Apr 2011 21:06:23 +0000 (23:06 +0200)]
ticket #685: implement no-arg dir()

13 years agofix #684: del in Python class scope
Stefan Behnel [Wed, 13 Apr 2011 20:27:13 +0000 (22:27 +0200)]
fix #684: del in Python class scope

13 years agotests for class scope behaviour
Stefan Behnel [Wed, 13 Apr 2011 20:06:49 +0000 (22:06 +0200)]
tests for class scope behaviour

13 years agofix #683: allow overriding C-API mapped builtin functions with (auto-)cpdef functions
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

13 years agosupport test_fail_if_path_exists() decorator in shadow module
Stefan Behnel [Wed, 13 Apr 2011 19:23:56 +0000 (21:23 +0200)]
support test_fail_if_path_exists() decorator in shadow module

13 years agomake builtin scope recognisable
Stefan Behnel [Wed, 13 Apr 2011 19:11:06 +0000 (21:11 +0200)]
make builtin scope recognisable

13 years agofix #682: compiler crash on auto_cpdef redefinition
Stefan Behnel [Wed, 13 Apr 2011 18:36:38 +0000 (20:36 +0200)]
fix #682: compiler crash on auto_cpdef redefinition

13 years agofix #675: make 'by' a non-keyword also in .pyx files
Stefan Behnel [Wed, 13 Apr 2011 17:58:56 +0000 (19:58 +0200)]
fix #675: make 'by' a non-keyword also in .pyx files

13 years agoDocumentation cleanup.
Robert Bradshaw [Tue, 12 Apr 2011 13:34:01 +0000 (06:34 -0700)]
Documentation cleanup.

13 years agoVarious doc typo and wording fixes.
jasongrout [Fri, 8 Apr 2011 02:05:59 +0000 (19:05 -0700)]
Various doc typo and wording fixes.

13 years agoUse tags for test deps.
Robert Bradshaw [Tue, 12 Apr 2011 13:07:46 +0000 (06:07 -0700)]
Use tags for test deps.

13 years agoUse tags for ticket number.
Robert Bradshaw [Tue, 12 Apr 2011 12:41:22 +0000 (05:41 -0700)]
Use tags for ticket number.

13 years agoblacklist distutils.extension in pyximport
Stefan Behnel [Mon, 11 Apr 2011 21:34:44 +0000 (23:34 +0200)]
blacklist distutils.extension in pyximport

13 years agofix py-importing in pyximport
Stefan Behnel [Mon, 11 Apr 2011 21:26:54 +0000 (23:26 +0200)]
fix py-importing in pyximport

13 years agosupport 'from __future__ import generators'
Stefan Behnel [Mon, 11 Apr 2011 20:44:33 +0000 (22:44 +0200)]
support 'from __future__ import generators'

13 years agomove NULL out of the way in .py compilation
Stefan Behnel [Mon, 11 Apr 2011 20:42:38 +0000 (22:42 +0200)]
move NULL out of the way in .py compilation

13 years agosupport passing options to the compiler in cythonrun
Stefan Behnel [Mon, 11 Apr 2011 20:07:52 +0000 (22:07 +0200)]
support passing options to the compiler in cythonrun

13 years agofix copy&paste bug in cythonrun
Stefan Behnel [Mon, 11 Apr 2011 07:14:56 +0000 (09:14 +0200)]
fix copy&paste bug in cythonrun

13 years agodoc fix in .pxd file
Stefan Behnel [Mon, 11 Apr 2011 06:26:44 +0000 (08:26 +0200)]
doc fix in .pxd file

13 years agomerge
Stefan Behnel [Sun, 10 Apr 2011 20:52:06 +0000 (22:52 +0200)]
merge

13 years agonew script to compile+run Python files directly in Cython
Stefan Behnel [Sun, 10 Apr 2011 20:49:41 +0000 (22:49 +0200)]
new script to compile+run Python files directly in Cython

13 years agoFix GCC warnings with Python 2.3
Lisandro Dalcin [Sat, 9 Apr 2011 21:56:16 +0000 (18:56 -0300)]
Fix GCC warnings with Python 2.3

13 years agopyximport debug output fix
Stefan Behnel [Fri, 8 Apr 2011 23:00:03 +0000 (01:00 +0200)]
pyximport debug output fix

13 years agoBe a bit more liberal about top-of-the-file directives.
Robert Bradshaw [Fri, 8 Apr 2011 05:52:25 +0000 (22:52 -0700)]
Be a bit more liberal about top-of-the-file directives.

13 years agofix pŕevious commit mixing declarations and code
Lisandro Dalcin [Fri, 8 Apr 2011 04:06:17 +0000 (01:06 -0300)]
fix pÅ•evious commit mixing declarations and code

13 years agoMerge remote branch 'remotes/fransesc/compiler_directives'
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

13 years agoMerge branch 'docs'
Robert Bradshaw [Fri, 8 Apr 2011 00:18:02 +0000 (17:18 -0700)]
Merge branch 'docs'

13 years agoMove compilation block to before directives, add note about cython.inline.
Robert Bradshaw [Fri, 8 Apr 2011 00:16:59 +0000 (17:16 -0700)]
Move compilation block to before directives, add note about cython.inline.

13 years agominor directive edits
Robert Bradshaw [Fri, 8 Apr 2011 00:01:05 +0000 (17:01 -0700)]
minor directive edits

13 years agoAdded info on how to set directives.
Francesc Alted [Sat, 2 Apr 2011 21:11:38 +0000 (23:11 +0200)]
Added info on how to set directives.

13 years agoAdded compiler directives to the Compilation section.
Francesc Alted [Sat, 2 Apr 2011 19:25:07 +0000 (21:25 +0200)]
Added compiler directives to the Compilation section.

13 years agoA first restructuration of Compilation section.
Francesc Alted [Sat, 2 Apr 2011 16:40:04 +0000 (18:40 +0200)]
A first restructuration of Compilation section.

13 years agoPEP 3118: fix for NULL Py_buffer arg
Lisandro Dalcin [Thu, 7 Apr 2011 22:25:45 +0000 (19:25 -0300)]
PEP 3118: fix for NULL Py_buffer arg

13 years agoerror test fix
Stefan Behnel [Thu, 7 Apr 2011 18:54:35 +0000 (20:54 +0200)]
error test fix

13 years agofixes for I/O handling in test runner
Stefan Behnel [Thu, 7 Apr 2011 18:17:52 +0000 (20:17 +0200)]
fixes for I/O handling in test runner

13 years agoPy3 test runner fix
Stefan Behnel [Thu, 7 Apr 2011 14:33:17 +0000 (16:33 +0200)]
Py3 test runner fix

13 years agomore tests for #477
Lisandro Dalcin [Thu, 7 Apr 2011 13:47:10 +0000 (10:47 -0300)]
more tests for #477

13 years agoMerge branch 'T477-fix' of https://github.com/bhy/cython into bhy-T477-fix
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

13 years agofix nonlocal crashes
Stefan Behnel [Thu, 7 Apr 2011 13:30:07 +0000 (15:30 +0200)]
fix nonlocal crashes

13 years agomore tests
Haoyu Bai [Thu, 7 Apr 2011 13:00:43 +0000 (21:00 +0800)]
more tests

13 years agofix cdef @locals with default arguments
Haoyu Bai [Thu, 7 Apr 2011 12:55:35 +0000 (20:55 +0800)]
fix cdef @locals with default arguments

13 years agofix locals directive in pxd files
Haoyu Bai [Thu, 7 Apr 2011 12:08:23 +0000 (20:08 +0800)]
fix locals directive in pxd files

13 years agoextended test cases for type inference in generators
Stefan Behnel [Thu, 7 Apr 2011 12:18:47 +0000 (14:18 +0200)]
extended test cases for type inference in generators

13 years agotest runner fix
Stefan Behnel [Thu, 7 Apr 2011 11:30:52 +0000 (13:30 +0200)]
test runner fix

13 years agowhitespace
Stefan Behnel [Thu, 7 Apr 2011 11:26:26 +0000 (13:26 +0200)]
whitespace

13 years agoenable type inference in generators (but keep it disabled for variables in other...
Stefan Behnel [Thu, 7 Apr 2011 11:26:11 +0000 (13:26 +0200)]
enable type inference in generators (but keep it disabled for variables in other closures)

13 years agoadded tags to test files
Stefan Behnel [Thu, 7 Apr 2011 10:58:24 +0000 (12:58 +0200)]
added tags to test files

13 years agoadded tags to test files
Stefan Behnel [Thu, 7 Apr 2011 10:52:50 +0000 (12:52 +0200)]
added tags to test files

13 years agoMake cython.py executable and add Unix shebang
Dag Sverre Seljebotn [Wed, 6 Apr 2011 18:50:44 +0000 (20:50 +0200)]
Make cython.py executable and add Unix shebang

13 years agocython.py: Always put Cython in sys.path
Dag Sverre Seljebotn [Wed, 6 Apr 2011 18:50:26 +0000 (20:50 +0200)]
cython.py: Always put Cython in sys.path

13 years agoRevert "BUG Make sure bin/cython imports the right Cython module"
Dag Sverre Seljebotn [Wed, 6 Apr 2011 18:45:51 +0000 (20:45 +0200)]
Revert "BUG Make sure bin/cython imports the right Cython module"

This reverts commit af902b506b2162d6d8bff345be4d060398c8a45b.

As I was told: Please remember that 'bin/cython' is the script that
gets installed in '/usr/bin'. Why should '/usr' git injected in
sys.path?

13 years agounop typo fix
Robert Bradshaw [Wed, 6 Apr 2011 07:45:28 +0000 (00:45 -0700)]
unop typo fix

13 years agoSkip broken directory by default.
Robert Bradshaw [Wed, 6 Apr 2011 07:16:07 +0000 (00:16 -0700)]
Skip broken directory by default.

13 years agoAdd missing c++ tags.
Robert Bradshaw [Wed, 6 Apr 2011 07:12:07 +0000 (00:12 -0700)]
Add missing c++ tags.

13 years agocleanup refnanny utility code
Lisandro Dalcin [Wed, 6 Apr 2011 00:45:20 +0000 (21:45 -0300)]
cleanup refnanny utility code

13 years agofix typo numeic -> numeric
Lisandro Dalcin [Tue, 5 Apr 2011 22:26:28 +0000 (19:26 -0300)]
fix typo numeic -> numeric

13 years agoadditional fix and test for ticket #650
Lisandro Dalcin [Tue, 5 Apr 2011 17:29:36 +0000 (14:29 -0300)]
additional fix and test for ticket #650

13 years agofix MANIFEST.in and force MANIFEST generation in sdist command
Lisandro Dalcin [Tue, 5 Apr 2011 14:13:02 +0000 (11:13 -0300)]
fix MANIFEST.in and force MANIFEST generation in sdist command

13 years agocleanup
Robert Bradshaw [Sun, 3 Apr 2011 01:56:02 +0000 (18:56 -0700)]
cleanup

13 years agoTests for arithmetic promotion.
Robert Bradshaw [Sun, 3 Apr 2011 01:51:41 +0000 (18:51 -0700)]
Tests for arithmetic promotion.

13 years agoTrac 676 - arithmetic is always at least an int
Robert Bradshaw [Sat, 2 Apr 2011 21:14:27 +0000 (14:14 -0700)]
Trac 676 - arithmetic is always at least an int

13 years agoTest selection by tag.
Robert Bradshaw [Sun, 3 Apr 2011 01:36:58 +0000 (18:36 -0700)]
Test selection by tag.

13 years agoUse tags rather than directories for test types.
Robert Bradshaw [Sun, 3 Apr 2011 00:59:18 +0000 (17:59 -0700)]
Use tags rather than directories for test types.

13 years agoFix test.
Robert Bradshaw [Sat, 2 Apr 2011 21:35:07 +0000 (14:35 -0700)]
Fix test.

13 years agobetter bint type printing, tests
Robert Bradshaw [Sat, 2 Apr 2011 21:33:02 +0000 (14:33 -0700)]
better bint type printing, tests

13 years agoAdded info on how to set directives.
Francesc Alted [Sat, 2 Apr 2011 21:11:38 +0000 (23:11 +0200)]
Added info on how to set directives.

13 years agoWrong test tag
Dag Sverre Seljebotn [Sat, 2 Apr 2011 19:39:41 +0000 (21:39 +0200)]
Wrong test tag

13 years agoFix #677
Dag Sverre Seljebotn [Sat, 2 Apr 2011 19:35:11 +0000 (21:35 +0200)]
Fix #677

13 years agoAdded compiler directives to the Compilation section.
Francesc Alted [Sat, 2 Apr 2011 19:25:07 +0000 (21:25 +0200)]
Added compiler directives to the Compilation section.

13 years agoFix error line numbers (due to tag additions).
Robert Bradshaw [Sat, 2 Apr 2011 17:50:18 +0000 (10:50 -0700)]
Fix error line numbers (due to tag additions).

13 years agoA first restructuration of Compilation section.
Francesc Alted [Sat, 2 Apr 2011 16:40:04 +0000 (18:40 +0200)]
A first restructuration of Compilation section.

13 years agoMerge branch 'docs'
Dag Sverre Seljebotn [Sat, 2 Apr 2011 15:37:43 +0000 (17:37 +0200)]
Merge branch 'docs'

13 years agoSome final cleanup for numpy tutorial
Francesc Alted [Sat, 2 Apr 2011 11:17:47 +0000 (13:17 +0200)]
Some final cleanup for numpy tutorial

13 years agoRemoved int_max and int_min because int and max are already optimal.
Francesc Alted [Sat, 2 Apr 2011 10:42:04 +0000 (12:42 +0200)]
Removed int_max and int_min because int and max are already optimal.

13 years agoNumPy tutorial moved from user's guide to tutorials section.
Francesc Alted [Sat, 2 Apr 2011 10:37:38 +0000 (12:37 +0200)]
NumPy tutorial moved from user's guide to tutorials section.

Removed the original (and pretty sort) tutorial on the tutorials section.

13 years agoBUG Make sure bin/cython imports the right Cython module
Dag Sverre Seljebotn [Sat, 2 Apr 2011 10:56:46 +0000 (12:56 +0200)]
BUG Make sure bin/cython imports the right Cython module

13 years agoMerge branch 'master' of github.com:cython/cython
Robert Bradshaw [Sat, 2 Apr 2011 10:23:59 +0000 (03:23 -0700)]
Merge branch 'master' of github.com:cython/cython

13 years agoMerge branch 'purepy-shadow'
Robert Bradshaw [Sat, 2 Apr 2011 10:23:23 +0000 (03:23 -0700)]
Merge branch 'purepy-shadow'

13 years agoUnique NULL.
Robert Bradshaw [Sat, 2 Apr 2011 10:22:58 +0000 (03:22 -0700)]
Unique NULL.

13 years agomerged in Vitek's generators branch
Stefan Behnel [Sat, 2 Apr 2011 10:11:01 +0000 (12:11 +0200)]
merged in Vitek's generators branch

13 years agoadded disabled test case for type inference in generators
Stefan Behnel [Sat, 2 Apr 2011 09:58:08 +0000 (11:58 +0200)]
added disabled test case for type inference in generators

13 years agoMerge https://github.com/RafeKettler/cython
Robert Bradshaw [Sat, 2 Apr 2011 08:56:24 +0000 (01:56 -0700)]
Merge https://github.com/RafeKettler/cython

13 years agotags parsing
Robert Bradshaw [Sat, 2 Apr 2011 08:55:44 +0000 (01:55 -0700)]
tags parsing

13 years agocomment
Stefan Behnel [Sat, 2 Apr 2011 08:51:50 +0000 (10:51 +0200)]
comment

13 years agoa couple more test tags
Robert Bradshaw [Fri, 1 Apr 2011 20:21:40 +0000 (13:21 -0700)]
a couple more test tags

13 years agoAdd tags to test files.
Robert Bradshaw [Fri, 1 Apr 2011 19:48:57 +0000 (12:48 -0700)]
Add tags to test files.

13 years agoMerge branch 'master' of github.com:cython/cython
Robert Bradshaw [Fri, 1 Apr 2011 18:45:44 +0000 (11:45 -0700)]
Merge branch 'master' of github.com:cython/cython

13 years agoMerge docs repo
Robert Bradshaw [Fri, 1 Apr 2011 18:44:51 +0000 (11:44 -0700)]
Merge docs repo

--HG--
extra : rebase_source : a14f3b57bc8404efb772183f14d9c3f58eec4e14

13 years agoMerge docs repo
Robert Bradshaw [Fri, 1 Apr 2011 18:44:51 +0000 (11:44 -0700)]
Merge docs repo

13 years agominor code cleanup
Stefan Behnel [Fri, 1 Apr 2011 18:31:54 +0000 (20:31 +0200)]
minor code cleanup

13 years agominor code cleanup
Stefan Behnel [Fri, 1 Apr 2011 18:31:46 +0000 (20:31 +0200)]
minor code cleanup

13 years agofix many empty __init__ files
Lisandro Dalcin [Fri, 1 Apr 2011 17:51:15 +0000 (14:51 -0300)]
fix many empty __init__ files

13 years agoremove outdated comments
Lisandro Dalcin [Fri, 1 Apr 2011 17:50:19 +0000 (14:50 -0300)]
remove outdated comments

13 years agomerged Haoyu's T477 branch into mainline
Stefan Behnel [Fri, 1 Apr 2011 15:14:05 +0000 (17:14 +0200)]
merged Haoyu's T477 branch into mainline

--HG--
extra : rebase_source : 3dd5c4c8787ab6fcc372345c336a2a69af75e21e

13 years agoimplement #686: turn 'undeclared builtin' error into a visible warning, look up unkno...
Stefan Behnel [Sat, 16 Apr 2011 05:56:15 +0000 (07:56 +0200)]
implement #686: turn 'undeclared builtin' error into a visible warning, look up unknown builtins at runtime when (and if) they are needed

13 years agomoved cythonrun implementation into Cython/Build/BuildExecutable.py to make it genera...
Stefan Behnel [Fri, 15 Apr 2011 16:22:59 +0000 (18:22 +0200)]
moved cythonrun implementation into Cython/Build/BuildExecutable.py to make it generally available

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

13 years agomake auto_cpdef play nicely with stararg functions
Stefan Behnel [Fri, 15 Apr 2011 14:14:28 +0000 (16:14 +0200)]
make auto_cpdef play nicely with stararg functions