Stefan Behnel [Sat, 23 Nov 2013 07:50:14 +0000 (08:50 +0100)]
let CPython do the exception instantiation on 'raise' in Py3 to make sure we handle all special cases correctly
Stefan Behnel [Sun, 3 Nov 2013 17:18:02 +0000 (18:18 +0100)]
avoid useless lookup of unknown encoding (fixes compiler crash)
--HG--
extra : transplant_source : %D5%D9Izb%7F%E6%AF%91%9A2j%25%FC%27%85%7CFs5
Stefan Behnel [Sun, 3 Nov 2013 17:30:31 +0000 (18:30 +0100)]
add regression test for non-optimised unicode.encode() calls
Stefan Behnel [Fri, 1 Nov 2013 10:30:45 +0000 (11:30 +0100)]
fix ref-leak during Py2-style class instantiation
Robert Bradshaw [Fri, 25 Oct 2013 04:26:16 +0000 (21:26 -0700)]
Merge pull request #265 from msabramo/0.19.x_bdist_setuptools
setup.py: [0.19.x] Use setuptools when invoked with bdist_{egg,wheel}.
Marc Abramowitz [Tue, 22 Oct 2013 18:07:51 +0000 (11:07 -0700)]
setup.py: Use setuptools when invoked with bdist_{egg,wheel}.
This makes it easier to build eggs and wheels of 0.19.x releases; the
master branch already uses setuptools.
Stefan Behnel [Sun, 13 Oct 2013 07:54:48 +0000 (09:54 +0200)]
prepare release of 0.19.2
Stefan Behnel [Sat, 12 Oct 2013 08:19:06 +0000 (10:19 +0200)]
fix typos
Stefan Behnel [Sat, 12 Oct 2013 08:10:22 +0000 (10:10 +0200)]
improve error handling in malloc tutorial example
Stefan Behnel [Sat, 12 Oct 2013 07:48:41 +0000 (09:48 +0200)]
add minimal support for new tp_finalize type slot in Py3.4 to prevent C compiler warnings
Stefan Behnel [Sat, 12 Oct 2013 05:00:50 +0000 (07:00 +0200)]
fix some more exception handling in array.pxd
Yury V. Zaytsev [Tue, 8 Oct 2013 08:36:17 +0000 (10:36 +0200)]
Multiple fixes to array.extend()
* Fix self / other typecode compatibility check and add test
* In CPython, PyErr_BadArgument() C-API function always raises an
exception and returns zero
* It is needed to add the `except -2` clause, so that the exception
raised by PyErr_BadArgument() is not ignored
* Additionaly, the `return -1` statement in array.extend() will have
no effect, and hence is misleading, so it needs to be removed
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
--HG--
extra : transplant_source : e%BE%0A8%0D%B6%A4A%B4%9F%98bZ%ED%C5%CD%D9%AD%E0%7C
Stefan Behnel [Fri, 11 Oct 2013 18:39:08 +0000 (20:39 +0200)]
changelog
Stefan Behnel [Fri, 11 Oct 2013 16:04:06 +0000 (18:04 +0200)]
prepare release of 0.19.2
Stefan Behnel [Fri, 11 Oct 2013 16:02:45 +0000 (18:02 +0200)]
mention PyMem_*() C-API functions in memory allocation tutorial
Robert Bradshaw [Sat, 3 Aug 2013 06:30:02 +0000 (23:30 -0700)]
Added limitations from wiki.
--HG--
extra : transplant_source : %AE%AE%EB%26%11d%C3%C4%BD/e%F6%08%08%40z%DD%C4%D1%E0
Robert Bradshaw [Sat, 3 Aug 2013 08:04:04 +0000 (01:04 -0700)]
Add memory allocation from wiki.
--HG--
extra : transplant_source : %93%13%FC%AA%07x%7D%14%F7E%D8%C0%01%DC%40%1C%BF%0F%F6S
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
extra : transplant_source : %97%AD%B6%9D%2A%0F%11a-%9F%F2%C6%BBOe%95%CD%CAX9
Stefan Behnel [Sun, 14 Jul 2013 07:00:51 +0000 (09:00 +0200)]
merge overview page from user guide into quickstart and delete it
--HG--
extra : transplant_source : p%B5S%9517%99%11%94%06%B9j%FC%1BZt%F28_%D5
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
--HG--
extra : transplant_source : a%5D%AC%9A%18%7B%DD%94%7D%20%22%CC%CB%D39%AE%10%C0%8FC
Josh Ayers [Tue, 21 May 2013 03:54:00 +0000 (20:54 -0700)]
Fix several MS compiler warnings.
--HG--
extra : transplant_source : 1_%40L%92%DD%AC%FAM%9C%F5%92%80%D4%B3%BA%DEL%F2%D4
Robert Bradshaw [Thu, 26 Sep 2013 02:53:58 +0000 (19:53 -0700)]
Some math.h fixes, c99 isX macros.
--HG--
extra : transplant_source : %A2%F5%D0%5C%3B%7E%E9%BC%A3s%29%BBr%D7%06N%BC%88%F4%BB
Lars Buitinck [Thu, 5 Sep 2013 08:48:37 +0000 (10:48 +0200)]
some missing math.h functions and macros in math.pxd
--HG--
extra : transplant_source : %D8%3C%96Q%8A%23%1E%F4%FF%3E%DF%7D%18%17%5E%00%12%C8%FCk
Stefan Behnel [Fri, 11 Oct 2013 09:09:39 +0000 (11:09 +0200)]
move misplaced PyObject_Format() C-API declaration to right .pxd file
--HG--
extra : transplant_source : Zp%DC%BB8%03%B2%D6%A3%09q%13%25%17%AD6%17%25%1FU
Stefan Behnel [Thu, 10 Oct 2013 16:55:28 +0000 (18:55 +0200)]
fix declaration of PyBuffer_FillInfo()
--HG--
extra : transplant_source : %83%FAO%836%1Dw%5B%E3%94%E1%E6%7F%0C%EF%D9E%DE%D2%A2
Stefan Behnel [Sun, 1 Sep 2013 20:33:59 +0000 (22:33 +0200)]
minor code cleanup
--HG--
extra : transplant_source : %D7%EC%163%08%A9N%E1%94%95%97%3A.%E94%D0%7C%AE%F3%85
Stefan Behnel [Sun, 1 Sep 2013 20:29:34 +0000 (22:29 +0200)]
make code blocks open on first click instead of second
--HG--
extra : transplant_source : %C6%DAZ%C5%05%2A%ADhrA1%86X%84S%C2%17%23I-
Stefan Behnel [Sun, 1 Sep 2013 19:56:54 +0000 (21:56 +0200)]
fix some HTML issues in annotation file
--HG--
extra : transplant_source : gx%EB%08%DA%5D%B2-lzq%ED%3A%A9Xn%B3%EAX%01
Stefan Behnel [Tue, 13 Aug 2013 08:27:01 +0000 (10:27 +0200)]
minor doc fixes
--HG--
extra : transplant_source : %9E%DF%DFQ%18h%9D%1Ax%FAV%1F%28%E8%86%E4%91%21%EF%26
Robert Bradshaw [Tue, 13 Aug 2013 04:03:05 +0000 (21:03 -0700)]
Clarify cdef vs. def function arguments.
--HG--
extra : transplant_source : %86.-%DA%5C%B1%CE%B8%40%BD%BA%E2%F0%B6f%C40%EB%B0%08
Joonas Paalasmaa [Fri, 30 Aug 2013 09:32:33 +0000 (12:32 +0300)]
Fix typo
--HG--
extra : transplant_source : %A3%7E%9BWre%B4%86%A0%E5%B2Kk%B9%DEf%3F%FD3%0E
Robert Bradshaw [Thu, 12 Sep 2013 20:59:51 +0000 (13:59 -0700)]
Set correct baseclass for heap allocated type subclasses.
--HG--
extra : transplant_source : E%BEhL%948%C1%07%EC%BDx%7C%7E%C2%3Fq%1D%EFE%BC
Bryan Bishop [Sun, 8 Sep 2013 16:11:45 +0000 (11:11 -0500)]
fix grammar/typo in build docs
There was a word missing.
--HG--
extra : transplant_source : %B2%3E%E6%8CF%00%89%0E%AF%3A%C2%40%1E%D9%A7%E7S%E67A
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:10:57 +0000 (06:10 +0200)]
Py3 fix
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 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 [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
Stefan Behnel [Sun, 14 Jul 2013 09:37:50 +0000 (11:37 +0200)]
changelog
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 [Sat, 6 Jul 2013 19:54:46 +0000 (21:54 +0200)]
yet another Py2.5 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
Stefan Behnel [Sat, 6 Jul 2013 14:08:50 +0000 (16:08 +0200)]
Py2.5 test fix
Stefan Behnel [Sat, 6 Jul 2013 11:18:25 +0000 (13:18 +0200)]
changelog
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 [Fri, 5 Jul 2013 18:22:02 +0000 (20:22 +0200)]
fix test
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
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
Gabi Davar [Sat, 18 May 2013 08:01:22 +0000 (11:01 +0300)]
convert cygdb to an distribute entry point
Stefan Behnel [Sat, 11 May 2013 05:38:05 +0000 (07:38 +0200)]
fix release date
Stefan Behnel [Sat, 11 May 2013 05:33:37 +0000 (07:33 +0200)]
Merge branch 'master' into 0.19.x
Conflicts:
CHANGES.rst
Stefan Behnel [Sat, 11 May 2013 05:31:02 +0000 (07:31 +0200)]
use new Py3.x signature for PyUnicode_DecodeMBCSStateful() declaration
Robert Bradshaw [Sat, 11 May 2013 00:04:28 +0000 (17:04 -0700)]
More efficient find_root_package_dir.
Robert Bradshaw [Sat, 11 May 2013 00:03:30 +0000 (17:03 -0700)]
Fix build_dir extended test case.
Robert Bradshaw [Fri, 10 May 2013 21:56:25 +0000 (14:56 -0700)]
Merge pull request #224 from gandalf013/pyssize_t
int -> Py_ssize_t in cpython pxd files
Alok Singhal [Fri, 10 May 2013 21:25:48 +0000 (14:25 -0700)]
a bit too overzealous in converting int to Py_ssize_t
Stefan Behnel [Fri, 10 May 2013 21:09:43 +0000 (23:09 +0200)]
changelog
Stefan Behnel [Fri, 10 May 2013 21:07:19 +0000 (23:07 +0200)]
fix optimisation of isinstance(X, type)
Alok Singhal [Fri, 10 May 2013 20:34:28 +0000 (13:34 -0700)]
int -> Py_ssize_t in cpython pxd files
Stefan Behnel [Fri, 10 May 2013 17:25:47 +0000 (19:25 +0200)]
extend build_dir test in a way that I think should work but doesn't
Stefan Behnel [Fri, 10 May 2013 16:32:33 +0000 (18:32 +0200)]
more code cleanups
Stefan Behnel [Fri, 10 May 2013 16:27:14 +0000 (18:27 +0200)]
fix build_dir copying in Py2.[45]
Stefan Behnel [Fri, 10 May 2013 16:18:06 +0000 (18:18 +0200)]
minor code cleanup
Robert Bradshaw [Fri, 10 May 2013 09:04:56 +0000 (02:04 -0700)]
Update release notes.
Robert Bradshaw [Fri, 10 May 2013 07:57:49 +0000 (00:57 -0700)]
Fix build_dir test.
Robert Bradshaw [Fri, 10 May 2013 07:56:38 +0000 (00:56 -0700)]
Add relative extern files to dependencies.
Stefan Behnel [Fri, 10 May 2013 07:23:24 +0000 (09:23 +0200)]
prepare release of 0.19.1
Stefan Behnel [Thu, 9 May 2013 06:56:03 +0000 (08:56 +0200)]
update setup.py script to use cythonize()
--HG--
extra : rebase_source :
6494c60e7f79a9cc85fe72a7adf325557f6de2be
Stefan Behnel [Fri, 10 May 2013 05:31:36 +0000 (07:31 +0200)]
remove 'from datetime cimport *' line from cpython/__init__.pxd as it refers to a separate module, not the core C-API
--HG--
extra : rebase_source :
bafa0a661abe97868fe254b3ce2b5e63b8654990
Stefan Behnel [Fri, 10 May 2013 05:31:36 +0000 (07:31 +0200)]
remove 'from datetime cimport *' line from cpython/__init__.pxd as it refers to a separate module, not the core C-API
--HG--
extra : rebase_source :
bafa0a661abe97868fe254b3ce2b5e63b8654990
Robert Bradshaw [Thu, 9 May 2013 18:18:54 +0000 (11:18 -0700)]
Merge branch 'build_dir'
Robert Bradshaw [Thu, 9 May 2013 18:18:25 +0000 (11:18 -0700)]
Add build_dir test.
Stefan Behnel [Thu, 9 May 2013 06:56:03 +0000 (08:56 +0200)]
update setup.py script to use cythonize()
--HG--
extra : rebase_source :
6494c60e7f79a9cc85fe72a7adf325557f6de2be
Stefan Behnel [Wed, 8 May 2013 19:09:32 +0000 (21:09 +0200)]
Merge branch 'master' into 0.19.x
Stefan Behnel [Wed, 8 May 2013 14:10:50 +0000 (16:10 +0200)]
changelog
Robert Bradshaw [Wed, 8 May 2013 06:20:54 +0000 (23:20 -0700)]
Fix typo in dependency checking.
Stefan Behnel [Tue, 7 May 2013 19:17:42 +0000 (21:17 +0200)]
update version to 0.19.1rc1
Robert Bradshaw [Tue, 7 May 2013 18:15:37 +0000 (11:15 -0700)]
Revert "Undo sorting types by inheritance until we figure out what's up with Sage."
This reverts commit
12d7dbb301851508af7950fbb4307a1d5b2af615.
Robert Bradshaw [Tue, 7 May 2013 15:01:21 +0000 (08:01 -0700)]
Undo sorting types by inheritance until we figure out what's up with Sage.
Stefan Behnel [Mon, 6 May 2013 19:15:37 +0000 (21:15 +0200)]
add assertion, just in case
Stefan Behnel [Mon, 6 May 2013 19:03:22 +0000 (21:03 +0200)]
use unique 'objstruct_cname' instead of 'name' when sorting extension types
Robert Bradshaw [Mon, 6 May 2013 15:20:26 +0000 (08:20 -0700)]
Merge pull request #223 from nnemkin/cdef_class_order
Order cdef classes by inheritance before generating the code.