Gerald Dalley [Fri, 19 Jul 2013 17:50:00 +0000 (13:50 -0400)]
Fixed IndexNode.is_lvalue
In C/C++, almost all index operator expressions return lvalues. We now
allow anything that doesn't look like it resolves to assigning to a
whole array object to be considered an lvalue.
Before this commit, using the index operator on containers that return
references would crash the Cython compiler. run/tests/lvalue_refs.pyx
contains an example of code that previously crashed the compiler.
Author: Gerald Dalley
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
Stefan Behnel [Fri, 5 Jul 2013 18:00:49 +0000 (20:00 +0200)]
enable support for yield in return expressions
--HG--
extra : transplant_source : %94%87%D7e%B9%82%EF%926%26o%C0%8E%0DcY%C3%E3n%DB
Stefan Behnel [Fri, 5 Jul 2013 18:00:49 +0000 (20:00 +0200)]
enable support for yield in return expressions
--HG--
extra : rebase_source :
562b717b9c1e078b3f83e3febc8addc1a29d85fe
Ivan Andrus [Sun, 30 Jun 2013 00:48:53 +0000 (18:48 -0600)]
Added cython-current-defun for add-log-current-defun-function
Ivan Andrus [Sun, 30 Jun 2013 00:46:43 +0000 (18:46 -0600)]
Added cython-beginning-of-defun and cython-end-of-defun
Ivan Andrus [Sat, 29 Jun 2013 20:12:41 +0000 (14:12 -0600)]
Added outline-regexp
Ivan Andrus [Sat, 29 Jun 2013 19:40:18 +0000 (13:40 -0600)]
Made compile-command customizable
Ivan Andrus [Sat, 29 Jun 2013 16:37:11 +0000 (10:37 -0600)]
Added autoload cookies
Ivan Andrus [Sun, 30 Jun 2013 03:34:10 +0000 (21:34 -0600)]
Fixes from checkdoc
Ivan Andrus [Sat, 29 Jun 2013 19:47:11 +0000 (13:47 -0600)]
Fixed byte-compilation warning
Robert Bradshaw [Thu, 27 Jun 2013 05:23:07 +0000 (22:23 -0700)]
Dissallow bint type for memoryviews.
Robert Bradshaw [Mon, 17 Jun 2013 17:40:22 +0000 (10:40 -0700)]
Merge pull request #240 from xqat/patch-1
Update pyximport.py
xqat [Mon, 17 Jun 2013 16:13:18 +0000 (19:13 +0300)]
Update pyximport.py
this should be changed
Robert Bradshaw [Sun, 16 Jun 2013 08:21:51 +0000 (01:21 -0700)]
Python 3 fix.
Robert Bradshaw [Sun, 16 Jun 2013 04:54:23 +0000 (21:54 -0700)]
Perform typecheck for (typechecking) builtin casts.
Robert Bradshaw [Sun, 16 Jun 2013 04:44:11 +0000 (21:44 -0700)]
Merge remote-tracking branch 'origin'
Robert Bradshaw [Thu, 13 Jun 2013 19:05:51 +0000 (12:05 -0700)]
Merge pull request #239 from bgrant/patch-1
PyArray_FROM_OTF and PyArray_FROM_OT should return type `object`
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
Stefan Behnel [Wed, 12 Jun 2013 15:03:46 +0000 (17:03 +0200)]
minor changelog cleanups
--HG--
extra : rebase_source :
9ac699d2cd10ea7eef564c2790ad36c6474028f4
scoder [Sun, 9 Jun 2013 11:11:45 +0000 (04:11 -0700)]
Merge pull request #235 from vitek/_external_ref_assignment
external ref assignment
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
Vitja Makarov [Sun, 2 Jun 2013 09:07:28 +0000 (13:07 +0400)]
Fix error_on_uninitialized condition
Robert Bradshaw [Sat, 1 Jun 2013 21:13:27 +0000 (14:13 -0700)]
Merge pull request #238 from mindw/0.19.x
fix some typos
Gabi Davar [Fri, 31 May 2013 13:07:38 +0000 (16:07 +0300)]
fix some typos
Mark Florisson [Fri, 31 May 2013 12:58:54 +0000 (05:58 -0700)]
Merge pull request #229 from mindw/0.19.x
convert cygdb to a distribute entry point
Mark Florisson [Thu, 30 May 2013 22:18:18 +0000 (15:18 -0700)]
Merge pull request #237 from anotherthomas/master
added an option to set the gdb executable
Thomas Fenzl [Thu, 30 May 2013 18:10:21 +0000 (20:10 +0200)]
added an option to set the gdb executable. Useful to e.g. start cgdb (with a curses interface)
Robert Bradshaw [Mon, 27 May 2013 19:23:17 +0000 (12:23 -0700)]
Add common include dir to compilation options.
Robert Bradshaw [Mon, 27 May 2013 19:00:47 +0000 (12:00 -0700)]
Share utility code between modules.
Robert Bradshaw [Mon, 27 May 2013 17:43:22 +0000 (10:43 -0700)]
Remove broken recursive option.
Vitja Makarov [Sat, 25 May 2013 08:28:24 +0000 (12:28 +0400)]
Disallow deletion of C global variables
Robert Bradshaw [Sun, 26 May 2013 03:24:19 +0000 (20:24 -0700)]
Merge pull request #236 from joshayers/stdio_fix
Add missing declarations to libc/stdio.pxd.