Torsten Landschoff [Tue, 6 Aug 2013 15:27:58 +0000 (17:27 +0200)]
Cleanup unneeded cpdefs and public declarations.
Per Stefan's comment these are unneeded and actually the tests still pass.
Torsten Landschoff [Thu, 1 Aug 2013 23:48:31 +0000 (01:48 +0200)]
Fixed no_gc_clear test for Python 3.
Torsten Landschoff [Thu, 1 Aug 2013 23:47:08 +0000 (01:47 +0200)]
Renamed unit test to match decorator name.
Torsten Landschoff [Thu, 1 Aug 2013 22:45:15 +0000 (00:45 +0200)]
Add decorator @gc_no_clear to disable tp_clear slot.
This can be useful if some external objects have to be cleaned up when
the Python object dies. Otherwise the cyclic garbage collector may
drop the references before the cleanup has any chance to run.
Includes documentation and a simple unit test.
Discussion: http://article.gmane.org/gmane.comp.python.cython.devel/14986
Torsten Landschoff [Thu, 1 Aug 2013 21:37:30 +0000 (23:37 +0200)]
Change tp_clear generation to clear to NULL.
Better to crash early than to never know that the reference changed to
None. See discussion here:
http://article.gmane.org/gmane.comp.python.cython.devel/14833
Stefan Behnel [Sat, 27 Jul 2013 18:03:20 +0000 (20:03 +0200)]
disable report output in build log
Stefan Behnel [Sat, 27 Jul 2013 18:01:14 +0000 (20:01 +0200)]
loosen source line constraints in pylintrc
Stefan Behnel [Sat, 27 Jul 2013 17:57:43 +0000 (19:57 +0200)]
reformat code
Stefan Behnel [Sat, 27 Jul 2013 17:21:19 +0000 (19:21 +0200)]
add prliminary pylint configuration
Stefan Behnel [Sat, 27 Jul 2013 16:51:18 +0000 (18:51 +0200)]
fix unknown name error
Stefan Behnel [Sat, 27 Jul 2013 16:49:39 +0000 (18:49 +0200)]
fix NormalizeTree transform
Stefan Behnel [Sat, 27 Jul 2013 15:17:32 +0000 (17:17 +0200)]
fix type declaration in parser
Stefan Behnel [Sat, 27 Jul 2013 13:31:42 +0000 (15:31 +0200)]
properly handle expressions at the beginning of func/class/etc. blocks that start with a string literal but are not docstrings
Stefan Behnel [Sat, 27 Jul 2013 06:05:25 +0000 (08:05 +0200)]
changelog
Stefan Behnel [Sat, 27 Jul 2013 05:55:43 +0000 (07:55 +0200)]
changelog
Stefan Behnel [Sat, 27 Jul 2013 05:52:50 +0000 (07:52 +0200)]
avoid traversing/clearing exttype attributes with simple types during garbage collection
Stefan Behnel [Sat, 27 Jul 2013 05:27:46 +0000 (07:27 +0200)]
prevent simple builtin typed exttype attributes from triggering GC support
Stefan Behnel [Sat, 27 Jul 2013 04:50:34 +0000 (06:50 +0200)]
minor cleanup, use set for efficient name lookup
Stefan Behnel [Sat, 27 Jul 2013 04:14:44 +0000 (06:14 +0200)]
add test tag
Stefan Behnel [Fri, 26 Jul 2013 19:26:43 +0000 (21:26 +0200)]
always set __path__ for compiled packages and in Py3.3 actually implement finding the file path at module init time by rerunning the import lookup
Robert Bradshaw [Fri, 26 Jul 2013 17:54:18 +0000 (10:54 -0700)]
Implement warn.all (or any_directive.all).
Stefan Behnel [Fri, 26 Jul 2013 10:21:04 +0000 (12:21 +0200)]
undo translating Tempita package, apparently doesn't work in Py3.3+
Stefan Behnel [Fri, 26 Jul 2013 10:00:36 +0000 (12:00 +0200)]
fix imports in compiled Tempita for Py3
Stefan Behnel [Fri, 26 Jul 2013 09:20:22 +0000 (11:20 +0200)]
use absolute imports in Visitor.py
Stefan Behnel [Fri, 26 Jul 2013 09:02:07 +0000 (11:02 +0200)]
micro optimisation in globals()
Stefan Behnel [Fri, 26 Jul 2013 08:39:37 +0000 (10:39 +0200)]
use branch hint in getattr3()
Stefan Behnel [Fri, 26 Jul 2013 08:38:49 +0000 (10:38 +0200)]
move getattr() utility code from Builtins.c to ObjectHandling.c as it deals with object protocols and is not a required replacement
Stefan Behnel [Fri, 26 Jul 2013 08:14:07 +0000 (10:14 +0200)]
add comments to utility files
Stefan Behnel [Fri, 26 Jul 2013 08:05:46 +0000 (10:05 +0200)]
optimise list.extend()
Stefan Behnel [Fri, 26 Jul 2013 06:58:42 +0000 (08:58 +0200)]
compile Tempita
Stefan Behnel [Fri, 26 Jul 2013 06:50:24 +0000 (08:50 +0200)]
minor code cleanup in Tempita
Stefan Behnel [Fri, 26 Jul 2013 06:35:45 +0000 (08:35 +0200)]
speed up Tempita's parser a little
Stefan Behnel [Thu, 25 Jul 2013 20:40:09 +0000 (22:40 +0200)]
C-ify some internal globals in Parsing.py, convert in-test tuples to faster sets
Stefan Behnel [Thu, 25 Jul 2013 20:06:40 +0000 (22:06 +0200)]
support 'object' as type in cython.declare()
Stefan Behnel [Thu, 18 Jul 2013 04:35:32 +0000 (06:35 +0200)]
merge branch 0.19.x
Stefan Behnel [Thu, 18 Jul 2013 04:35:17 +0000 (06:35 +0200)]
fix some declarations in numpy.pxd
Stefan Behnel [Thu, 18 Jul 2013 04:11:17 +0000 (06:11 +0200)]
merge branch 0.19.x
Stefan Behnel [Thu, 18 Jul 2013 04:10:57 +0000 (06:10 +0200)]
Py3 fix
Stefan Behnel [Wed, 17 Jul 2013 19:24:37 +0000 (21:24 +0200)]
merge branch 0.19.x
Stefan Behnel [Wed, 17 Jul 2013 19:24:04 +0000 (21:24 +0200)]
support parsed directive values also inside of code, not only in the top-level module comment
Stefan Behnel [Sun, 14 Jul 2013 12:51:10 +0000 (14:51 +0200)]
use faster method call helper function in PyDict method helper functions
Stefan Behnel [Sun, 14 Jul 2013 12:39:29 +0000 (14:39 +0200)]
disable C compiler warning about unused helper function in Py2
Stefan Behnel [Sun, 14 Jul 2013 12:37:13 +0000 (14:37 +0200)]
revert last commit
Stefan Behnel [Sun, 14 Jul 2013 12:21:16 +0000 (14:21 +0200)]
disable C compiler warning about unused helper function in Py2
Stefan Behnel [Sun, 14 Jul 2013 11:58:24 +0000 (13:58 +0200)]
changelog
Stefan Behnel [Sun, 14 Jul 2013 11:49:35 +0000 (13:49 +0200)]
Merge branch '0.19.x'
Stefan Behnel [Sun, 14 Jul 2013 11:48:51 +0000 (13:48 +0200)]
Merge branch '0.19.x' of git+ssh://github.com/cython/cython into 0.19.x
Stefan Behnel [Sun, 14 Jul 2013 11:48:00 +0000 (13:48 +0200)]
Merge branch 'master' of git+ssh://github.com/cython/cython
Stefan Behnel [Sun, 14 Jul 2013 11:46:30 +0000 (13:46 +0200)]
fake merge branch '0.19.x'
Stefan Behnel [Mon, 8 Jul 2013 16:41:33 +0000 (18:41 +0200)]
whitespace
Stefan Behnel [Mon, 8 Jul 2013 15:57:54 +0000 (17:57 +0200)]
remove another reference to the old distutils build (in quickstart!) and clarify the description of the Sage notebook a bit
Stefan Behnel [Sat, 6 Jul 2013 05:30:27 +0000 (07:30 +0200)]
rst fix
Stefan Behnel [Sat, 6 Jul 2013 05:27:41 +0000 (07:27 +0200)]
update userguide to use cythonize() for building
Stefan Behnel [Tue, 4 Jun 2013 19:27:38 +0000 (21:27 +0200)]
fix sphinx markup
Stefan Behnel [Sun, 2 Jun 2013 13:50:33 +0000 (15:50 +0200)]
add hint on when C++ strings are useful
Stefan Behnel [Sun, 2 Jun 2013 13:48:01 +0000 (15:48 +0200)]
add explicit section on Cython's Python string types
Robert Bradshaw [Sat, 25 May 2013 05:12:44 +0000 (22:12 -0700)]
Even more clarification on cythonize().
Wichert Akkerman [Fri, 24 May 2013 22:07:24 +0000 (00:07 +0200)]
Update compilation instructions.
Wichert Akkerman [Fri, 24 May 2013 07:24:07 +0000 (09:24 +0200)]
Document cythonize accepts Extension arguments.
Stefan Behnel [Fri, 17 May 2013 08:26:48 +0000 (10:26 +0200)]
more visibly mark for-from loop as deprecated in the docs
--HG--
extra : rebase_source :
305a362b2f79e4b7982a188ff5912a6621ea56a7
scoder [Sun, 14 Jul 2013 11:26:46 +0000 (04:26 -0700)]
Merge pull request #230 from nnemkin/pxd_errors_fix
Do not abort .pxd processing due to previous unrelated errors.
Stefan Behnel [Sun, 14 Jul 2013 09:39:10 +0000 (11:39 +0200)]
merge branch 0.19.x
Stefan Behnel [Sun, 14 Jul 2013 09:38:48 +0000 (11:38 +0200)]
changelog
Stefan Behnel [Sun, 14 Jul 2013 09:37:50 +0000 (11:37 +0200)]
changelog
Stefan Behnel [Sun, 14 Jul 2013 09:33:08 +0000 (11:33 +0200)]
Merge branch '0.19.x'
Robert Bradshaw [Thu, 27 Jun 2013 05:23:07 +0000 (22:23 -0700)]
Dissallow bint type for memoryviews.
Robert Bradshaw [Sun, 16 Jun 2013 04:54:23 +0000 (21:54 -0700)]
Perform typecheck for (typechecking) builtin casts.
Robert David Grant [Thu, 13 Jun 2013 18:21:24 +0000 (14:21 -0400)]
PyArray_FROM_OTF and PyArray_FROM_OT should return type `object`
They were declared as returning type `bint`, but this appears to be incorrect.
http://docs.scipy.org/doc/numpy/reference/c-api.array.html#PyArray_FROM_OTF
http://docs.scipy.org/doc/numpy/reference/c-api.array.html#PyArray_FROM_OT
Vitja Makarov [Thu, 23 May 2013 15:56:19 +0000 (19:56 +0400)]
Fix external reference assignment
Josh Ayers [Sun, 26 May 2013 01:06:02 +0000 (18:06 -0700)]
Added tests for some stdio functions.
Josh Ayers [Sat, 25 May 2013 23:18:17 +0000 (16:18 -0700)]
Added some missing declarations to libc/stdio.pxd.
Christoph Gohlke [Sat, 11 May 2013 17:51:06 +0000 (10:51 -0700)]
Fix compatibility with msvc < 1400
Visual Studio .NET 2003, used by Python 2.5 32 bit, does not support the '__restrict' keyword.
Stefan Behnel [Sun, 14 Jul 2013 08:59:53 +0000 (10:59 +0200)]
clean up Pyrex comparison doc page
Stefan Behnel [Sun, 14 Jul 2013 07:24:59 +0000 (09:24 +0200)]
move Cython tutorial from user guide to tutorial part
--HG--
rename : docs/src/userguide/tutorial.rst => docs/src/tutorial/cython_tutorial.rst
Stefan Behnel [Sun, 14 Jul 2013 07:00:51 +0000 (09:00 +0200)]
merge overview page from user guide into quickstart and delete it
Stefan Behnel [Sun, 14 Jul 2013 06:39:54 +0000 (08:39 +0200)]
fix copyright year in docs
Robert Bradshaw [Mon, 8 Jul 2013 19:00:14 +0000 (12:00 -0700)]
Merge pull request #242 from gvol/master
Improvements to cython-mode.el
Stefan Behnel [Mon, 8 Jul 2013 16:42:18 +0000 (18:42 +0200)]
move some build docs from user guide to reference to reduce redundancy
Stefan Behnel [Mon, 8 Jul 2013 16:41:33 +0000 (18:41 +0200)]
whitespace
Stefan Behnel [Mon, 8 Jul 2013 15:57:54 +0000 (17:57 +0200)]
remove another reference to the old distutils build (in quickstart!) and clarify the description of the Sage notebook a bit
Stefan Behnel [Sat, 6 Jul 2013 19:54:58 +0000 (21:54 +0200)]
merge 0.19.x branch into master
Stefan Behnel [Sat, 6 Jul 2013 19:54:46 +0000 (21:54 +0200)]
yet another Py2.5 fix
Stefan Behnel [Sat, 6 Jul 2013 17:00:46 +0000 (19:00 +0200)]
merge 0.19.x branch into master
Stefan Behnel [Sat, 6 Jul 2013 15:52:27 +0000 (17:52 +0200)]
remove unused condition
Stefan Behnel [Sat, 6 Jul 2013 15:48:44 +0000 (17:48 +0200)]
whitespace
Stefan Behnel [Sat, 6 Jul 2013 15:33:48 +0000 (17:33 +0200)]
another Py2.5 test fix
--HG--
extra : transplant_source : %B0%FFOZ%A1%AE%0F%18%A1%D9N%15W%11%5C%60%5E%02%FD%E6
Stefan Behnel [Sat, 6 Jul 2013 15:33:48 +0000 (17:33 +0200)]
another Py2.5 test fix
Stefan Behnel [Sat, 6 Jul 2013 15:27:14 +0000 (17:27 +0200)]
avoid repeated substring replacing for PYIDENT() entries in utility code
Stefan Behnel [Sat, 6 Jul 2013 14:54:01 +0000 (16:54 +0200)]
prevent utility code C-#include externalisation when it contains PYIDENT() place holders
Stefan Behnel [Sat, 6 Jul 2013 14:09:01 +0000 (16:09 +0200)]
merge 0.19.x branch into master
Stefan Behnel [Sat, 6 Jul 2013 14:08:50 +0000 (16:08 +0200)]
Py2.5 test fix
Stefan Behnel [Sat, 6 Jul 2013 11:21:12 +0000 (13:21 +0200)]
merge 0.19.x branch into master
Stefan Behnel [Sat, 6 Jul 2013 11:18:25 +0000 (13:18 +0200)]
changelog
Stefan Behnel [Sat, 6 Jul 2013 11:11:38 +0000 (13:11 +0200)]
merge 0.19.x branch into master
Stefan Behnel [Sat, 6 Jul 2013 11:11:17 +0000 (13:11 +0200)]
fix glitch in dict.keys/values/items() optimisation for subtype calls under Python 3: called object method instead of supertype method
Stefan Behnel [Sat, 6 Jul 2013 05:30:27 +0000 (07:30 +0200)]
rst fix
Stefan Behnel [Sat, 6 Jul 2013 05:27:41 +0000 (07:27 +0200)]
update userguide to use cythonize() for building
Stefan Behnel [Fri, 5 Jul 2013 18:22:16 +0000 (20:22 +0200)]
merge 0.19.x branch into master
Stefan Behnel [Fri, 5 Jul 2013 18:22:02 +0000 (20:22 +0200)]
fix test
Stefan Behnel [Fri, 5 Jul 2013 18:05:51 +0000 (20:05 +0200)]
merge 0.19.x branch into master