platform/upstream/python-cython.git
11 years agoMerge branch '0.19.x'
Stefan Behnel [Sun, 14 Jul 2013 09:33:08 +0000 (11:33 +0200)]
Merge branch '0.19.x'

11 years agoDissallow bint type for memoryviews.
Robert Bradshaw [Thu, 27 Jun 2013 05:23:07 +0000 (22:23 -0700)]
Dissallow bint type for memoryviews.

11 years agoPerform typecheck for (typechecking) builtin casts.
Robert Bradshaw [Sun, 16 Jun 2013 04:54:23 +0000 (21:54 -0700)]
Perform typecheck for (typechecking) builtin casts.

11 years agoPyArray_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

11 years agoFix external reference assignment
Vitja Makarov [Thu, 23 May 2013 15:56:19 +0000 (19:56 +0400)]
Fix external reference assignment

11 years agoAdded tests for some stdio functions.
Josh Ayers [Sun, 26 May 2013 01:06:02 +0000 (18:06 -0700)]
Added tests for some stdio functions.

11 years agoAdded some missing declarations to libc/stdio.pxd.
Josh Ayers [Sat, 25 May 2013 23:18:17 +0000 (16:18 -0700)]
Added some missing declarations to libc/stdio.pxd.

11 years agoFix compatibility with msvc < 1400
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.

11 years agoclean up Pyrex comparison doc page
Stefan Behnel [Sun, 14 Jul 2013 08:59:53 +0000 (10:59 +0200)]
clean up Pyrex comparison doc page

11 years agomove Cython tutorial from user guide to tutorial part
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

11 years agomerge overview page from user guide into quickstart and delete it
Stefan Behnel [Sun, 14 Jul 2013 07:00:51 +0000 (09:00 +0200)]
merge overview page from user guide into quickstart and delete it

11 years agofix copyright year in docs
Stefan Behnel [Sun, 14 Jul 2013 06:39:54 +0000 (08:39 +0200)]
fix copyright year in docs

11 years agoMerge pull request #242 from gvol/master
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

11 years agomove some build docs from user guide to reference to reduce redundancy
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

11 years agowhitespace
Stefan Behnel [Mon, 8 Jul 2013 16:41:33 +0000 (18:41 +0200)]
whitespace

11 years agoremove another reference to the old distutils build (in quickstart!) and clarify...
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

11 years agomerge 0.19.x branch into master
Stefan Behnel [Sat, 6 Jul 2013 19:54:58 +0000 (21:54 +0200)]
merge 0.19.x branch into master

11 years agoyet another Py2.5 fix
Stefan Behnel [Sat, 6 Jul 2013 19:54:46 +0000 (21:54 +0200)]
yet another Py2.5 fix

11 years agomerge 0.19.x branch into master
Stefan Behnel [Sat, 6 Jul 2013 17:00:46 +0000 (19:00 +0200)]
merge 0.19.x branch into master

11 years agoremove unused condition
Stefan Behnel [Sat, 6 Jul 2013 15:52:27 +0000 (17:52 +0200)]
remove unused condition

11 years agowhitespace
Stefan Behnel [Sat, 6 Jul 2013 15:48:44 +0000 (17:48 +0200)]
whitespace

11 years agoanother Py2.5 test fix
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

11 years agoanother Py2.5 test fix
Stefan Behnel [Sat, 6 Jul 2013 15:33:48 +0000 (17:33 +0200)]
another Py2.5 test fix

11 years agoavoid repeated substring replacing for PYIDENT() entries in utility code
Stefan Behnel [Sat, 6 Jul 2013 15:27:14 +0000 (17:27 +0200)]
avoid repeated substring replacing for PYIDENT() entries in utility code

11 years agoprevent utility code C-#include externalisation when it contains PYIDENT() place...
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

11 years agomerge 0.19.x branch into master
Stefan Behnel [Sat, 6 Jul 2013 14:09:01 +0000 (16:09 +0200)]
merge 0.19.x branch into master

11 years agoPy2.5 test fix
Stefan Behnel [Sat, 6 Jul 2013 14:08:50 +0000 (16:08 +0200)]
Py2.5 test fix

11 years agomerge 0.19.x branch into master
Stefan Behnel [Sat, 6 Jul 2013 11:21:12 +0000 (13:21 +0200)]
merge 0.19.x branch into master

11 years agochangelog
Stefan Behnel [Sat, 6 Jul 2013 11:18:25 +0000 (13:18 +0200)]
changelog

11 years agomerge 0.19.x branch into master
Stefan Behnel [Sat, 6 Jul 2013 11:11:38 +0000 (13:11 +0200)]
merge 0.19.x branch into master

11 years agofix glitch in dict.keys/values/items() optimisation for subtype calls under Python...
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

11 years agorst fix
Stefan Behnel [Sat, 6 Jul 2013 05:30:27 +0000 (07:30 +0200)]
rst fix

11 years agoupdate userguide to use cythonize() for building
Stefan Behnel [Sat, 6 Jul 2013 05:27:41 +0000 (07:27 +0200)]
update userguide to use cythonize() for building

11 years agomerge 0.19.x branch into master
Stefan Behnel [Fri, 5 Jul 2013 18:22:16 +0000 (20:22 +0200)]
merge 0.19.x branch into master

11 years agofix test
Stefan Behnel [Fri, 5 Jul 2013 18:22:02 +0000 (20:22 +0200)]
fix test

11 years agomerge 0.19.x branch into master
Stefan Behnel [Fri, 5 Jul 2013 18:05:51 +0000 (20:05 +0200)]
merge 0.19.x branch into master

11 years agoenable support for yield in return expressions
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

11 years agoenable support for yield in return expressions
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

11 years agoAdded cython-current-defun for add-log-current-defun-function
Ivan Andrus [Sun, 30 Jun 2013 00:48:53 +0000 (18:48 -0600)]
Added cython-current-defun for add-log-current-defun-function

11 years agoAdded cython-beginning-of-defun and cython-end-of-defun
Ivan Andrus [Sun, 30 Jun 2013 00:46:43 +0000 (18:46 -0600)]
Added cython-beginning-of-defun and cython-end-of-defun

11 years agoAdded outline-regexp
Ivan Andrus [Sat, 29 Jun 2013 20:12:41 +0000 (14:12 -0600)]
Added outline-regexp

11 years agoMade compile-command customizable
Ivan Andrus [Sat, 29 Jun 2013 19:40:18 +0000 (13:40 -0600)]
Made compile-command customizable

11 years agoAdded autoload cookies
Ivan Andrus [Sat, 29 Jun 2013 16:37:11 +0000 (10:37 -0600)]
Added autoload cookies

11 years agoFixes from checkdoc
Ivan Andrus [Sun, 30 Jun 2013 03:34:10 +0000 (21:34 -0600)]
Fixes from checkdoc

11 years agoFixed byte-compilation warning
Ivan Andrus [Sat, 29 Jun 2013 19:47:11 +0000 (13:47 -0600)]
Fixed byte-compilation warning

11 years agoDissallow bint type for memoryviews.
Robert Bradshaw [Thu, 27 Jun 2013 05:23:07 +0000 (22:23 -0700)]
Dissallow bint type for memoryviews.

11 years agoMerge pull request #240 from xqat/patch-1
Robert Bradshaw [Mon, 17 Jun 2013 17:40:22 +0000 (10:40 -0700)]
Merge pull request #240 from xqat/patch-1

Update pyximport.py

11 years agoUpdate pyximport.py
xqat [Mon, 17 Jun 2013 16:13:18 +0000 (19:13 +0300)]
Update pyximport.py

this should be changed

11 years agoPython 3 fix.
Robert Bradshaw [Sun, 16 Jun 2013 08:21:51 +0000 (01:21 -0700)]
Python 3 fix.

11 years agoPerform typecheck for (typechecking) builtin casts.
Robert Bradshaw [Sun, 16 Jun 2013 04:54:23 +0000 (21:54 -0700)]
Perform typecheck for (typechecking) builtin casts.

11 years agoMerge remote-tracking branch 'origin'
Robert Bradshaw [Sun, 16 Jun 2013 04:44:11 +0000 (21:44 -0700)]
Merge remote-tracking branch 'origin'

11 years agoMerge pull request #239 from bgrant/patch-1
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`

11 years agoPyArray_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

11 years agominor changelog cleanups
Stefan Behnel [Wed, 12 Jun 2013 15:03:46 +0000 (17:03 +0200)]
minor changelog cleanups

--HG--
extra : rebase_source : 9ac699d2cd10ea7eef564c2790ad36c6474028f4

11 years agoMerge pull request #235 from vitek/_external_ref_assignment
scoder [Sun, 9 Jun 2013 11:11:45 +0000 (04:11 -0700)]
Merge pull request #235 from vitek/_external_ref_assignment

 external ref assignment

11 years agofix sphinx markup
Stefan Behnel [Tue, 4 Jun 2013 19:27:38 +0000 (21:27 +0200)]
fix sphinx markup

11 years agoadd hint on when C++ strings are useful
Stefan Behnel [Sun, 2 Jun 2013 13:50:33 +0000 (15:50 +0200)]
add hint on when C++ strings are useful

11 years agoadd explicit section on Cython's Python string types
Stefan Behnel [Sun, 2 Jun 2013 13:48:01 +0000 (15:48 +0200)]
add explicit section on Cython's Python string types

11 years agoFix error_on_uninitialized condition
Vitja Makarov [Sun, 2 Jun 2013 09:07:28 +0000 (13:07 +0400)]
Fix error_on_uninitialized condition

11 years agoMerge pull request #238 from mindw/0.19.x
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

11 years agofix some typos
Gabi Davar [Fri, 31 May 2013 13:07:38 +0000 (16:07 +0300)]
fix some typos

11 years agoMerge pull request #229 from mindw/0.19.x
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

11 years agoMerge pull request #237 from anotherthomas/master
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

11 years agoadded an option to set the gdb executable. Useful to e.g. start cgdb (with a curses...
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)

11 years agoAdd common include dir to compilation options.
Robert Bradshaw [Mon, 27 May 2013 19:23:17 +0000 (12:23 -0700)]
Add common include dir to compilation options.

11 years agoShare utility code between modules.
Robert Bradshaw [Mon, 27 May 2013 19:00:47 +0000 (12:00 -0700)]
Share utility code between modules.

11 years agoRemove broken recursive option.
Robert Bradshaw [Mon, 27 May 2013 17:43:22 +0000 (10:43 -0700)]
Remove broken recursive option.

11 years agoDisallow deletion of C global variables
Vitja Makarov [Sat, 25 May 2013 08:28:24 +0000 (12:28 +0400)]
Disallow deletion of C global variables

11 years agoMerge pull request #236 from joshayers/stdio_fix
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.

11 years agoAdded tests for some stdio functions.
Josh Ayers [Sun, 26 May 2013 01:06:02 +0000 (18:06 -0700)]
Added tests for some stdio functions.

11 years agoAdded some missing declarations to libc/stdio.pxd.
Josh Ayers [Sat, 25 May 2013 23:18:17 +0000 (16:18 -0700)]
Added some missing declarations to libc/stdio.pxd.

11 years agoEven more clarification on cythonize().
Robert Bradshaw [Sat, 25 May 2013 05:12:44 +0000 (22:12 -0700)]
Even more clarification on cythonize().

11 years agoMerge pull request #234 from wichert/doc-compilation
Robert Bradshaw [Sat, 25 May 2013 05:07:43 +0000 (22:07 -0700)]
Merge pull request #234 from wichert/doc-compilation

Document cythonize accepts Extension arguments.

11 years agoUpdate compilation instructions.
Wichert Akkerman [Fri, 24 May 2013 22:07:24 +0000 (00:07 +0200)]
Update compilation instructions.

11 years agoDocument cythonize accepts Extension arguments.
Wichert Akkerman [Fri, 24 May 2013 07:24:07 +0000 (09:24 +0200)]
Document cythonize accepts Extension arguments.

11 years agoFix external reference assignment
Vitja Makarov [Thu, 23 May 2013 15:56:19 +0000 (19:56 +0400)]
Fix external reference assignment

11 years agoAdd error_on_uninitialized option and disable it for pyregr testsuite
Vitja Makarov [Thu, 23 May 2013 05:44:19 +0000 (09:44 +0400)]
Add error_on_uninitialized option and disable it for pyregr testsuite

11 years agoMerge pull request #231 from joshayers/ms_compiler_warnings
Robert Bradshaw [Tue, 21 May 2013 16:41:02 +0000 (09:41 -0700)]
Merge pull request #231 from joshayers/ms_compiler_warnings

Fix several MS compiler warnings.

11 years agoptrdif_t test
Robert Bradshaw [Tue, 21 May 2013 16:36:25 +0000 (09:36 -0700)]
ptrdif_t test

11 years agoAdd ptrdiff_t type to Cython.
Robert Bradshaw [Tue, 21 May 2013 15:53:57 +0000 (08:53 -0700)]
Add ptrdiff_t type to Cython.

11 years agoMinor cleanup in dtypestring parsing.
Robert Bradshaw [Tue, 21 May 2013 05:38:19 +0000 (22:38 -0700)]
Minor cleanup in dtypestring parsing.

11 years agoFix several MS compiler warnings.
Josh Ayers [Tue, 21 May 2013 03:54:00 +0000 (20:54 -0700)]
Fix several MS compiler warnings.

11 years agoconvert cygdb to an distribute entry point
Gabi Davar [Sat, 18 May 2013 08:01:22 +0000 (11:01 +0300)]
convert cygdb to an distribute entry point

11 years agomore visibly mark for-from loop as deprecated in the docs
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

11 years agoMerge pull request #226 from ohanar/build_dir
Robert Bradshaw [Fri, 17 May 2013 04:57:31 +0000 (21:57 -0700)]
Merge pull request #226 from ohanar/build_dir

fix build_dir copying

11 years agoMerge pull request #227 from Infinidat/master
Robert Bradshaw [Thu, 16 May 2013 05:20:48 +0000 (22:20 -0700)]
Merge pull request #227 from Infinidat/master

Try using setuptools in setup.py

11 years agosplit some overly long code lines
Stefan Behnel [Wed, 15 May 2013 06:13:50 +0000 (08:13 +0200)]
split some overly long code lines

11 years agoadd fix for in-tree symlinks, with updated test
R. Andrew Ohana [Tue, 14 May 2013 01:49:12 +0000 (18:49 -0700)]
add fix for in-tree symlinks, with updated test

11 years agoMerge pull request #225 from cgohlke/patch-1
Robert Bradshaw [Tue, 14 May 2013 00:30:56 +0000 (17:30 -0700)]
Merge pull request #225 from cgohlke/patch-1

Fix compatibility with msvc < 1400

11 years agoTry using setuptools in setup.py, allow bdist_egg where possible
Guy Rozendorn [Mon, 13 May 2013 13:07:45 +0000 (16:07 +0300)]
Try using setuptools in setup.py, allow bdist_egg where possible

11 years agokeep constant_result when coercing BytesNode
Stefan Behnel [Sun, 12 May 2013 13:17:17 +0000 (15:17 +0200)]
keep constant_result when coercing BytesNode

11 years agochangelog
Stefan Behnel [Sun, 12 May 2013 13:11:46 +0000 (15:11 +0200)]
changelog

11 years agomake SwitchTransform always generate a 'default' clause to silence C compiler warning...
Stefan Behnel [Sun, 12 May 2013 13:11:39 +0000 (15:11 +0200)]
make SwitchTransform always generate a 'default' clause to silence C compiler warnings about unmatched enum values

11 years agoextend SwitchTransform tests
Stefan Behnel [Sun, 12 May 2013 12:48:02 +0000 (14:48 +0200)]
extend SwitchTransform tests

11 years agoextend SwitchTransform tests
Stefan Behnel [Sun, 12 May 2013 12:23:09 +0000 (14:23 +0200)]
extend SwitchTransform tests

11 years agosimplify search for duplicate values in SwitchTransform and make it safer for unexpec...
Stefan Behnel [Sun, 12 May 2013 12:22:16 +0000 (14:22 +0200)]
simplify search for duplicate values in SwitchTransform and make it safer for unexpected value nodes

11 years agokeep constant_result when coercing string to char
Stefan Behnel [Sun, 12 May 2013 12:07:03 +0000 (14:07 +0200)]
keep constant_result when coercing string to char

11 years agofix constant value check in switch statement generation
Stefan Behnel [Sun, 12 May 2013 06:33:36 +0000 (08:33 +0200)]
fix constant value check in switch statement generation

11 years agofully fix build_dir copying
R. Andrew Ohana [Sun, 12 May 2013 06:15:39 +0000 (23:15 -0700)]
fully fix build_dir copying

11 years agoFix compatibility with msvc < 1400
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.