Stefan Behnel [Sun, 13 Oct 2013 12:21:24 +0000 (14:21 +0200)]
doc cleanup and some Sphinx fixes
Stefan Behnel [Sun, 13 Oct 2013 07:56:33 +0000 (09:56 +0200)]
merge 0.19.x branch into master
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 18:04:55 +0000 (20:04 +0200)]
extend .hgignore
scoder [Sat, 12 Oct 2013 18:03:35 +0000 (11:03 -0700)]
Merge pull request #260 from msabramo/gitignore_egg_stuff
.gitignore: Ignore *.egg and *.egg-info
Marc Abramowitz [Sat, 12 Oct 2013 16:05:55 +0000 (09:05 -0700)]
.gitignore: Ignore *.egg and *.egg-info
Stefan Behnel [Sat, 12 Oct 2013 14:17:29 +0000 (16:17 +0200)]
fix warnings in refnanny module
Stefan Behnel [Sat, 12 Oct 2013 08:19:18 +0000 (10:19 +0200)]
merge 0.19.x branch into master
Stefan Behnel [Sat, 12 Oct 2013 08:19:06 +0000 (10:19 +0200)]
fix typos
Stefan Behnel [Sat, 12 Oct 2013 08:10:37 +0000 (10:10 +0200)]
merge 0.19.x branch into master
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:52:12 +0000 (09:52 +0200)]
merge 0.19.x branch into master
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 07:19:19 +0000 (09:19 +0200)]
some more cleanup in array.pxd
Stefan Behnel [Sat, 12 Oct 2013 05:46:34 +0000 (07:46 +0200)]
clean up getbuffer code in array.pxd
Stefan Behnel [Sat, 12 Oct 2013 05:14:14 +0000 (07:14 +0200)]
minor cleanup
Stefan Behnel [Sat, 12 Oct 2013 05:09:07 +0000 (07:09 +0200)]
merge 0.19.x branch into master
Stefan Behnel [Sat, 12 Oct 2013 05:00:50 +0000 (07:00 +0200)]
fix some more exception handling in array.pxd
scoder [Sat, 12 Oct 2013 04:52:48 +0000 (21:52 -0700)]
Merge pull request #258 from zyv/fix_array_extend
Multiple fixes to array.extend()
Stefan Behnel [Fri, 11 Oct 2013 16:03:18 +0000 (18:03 +0200)]
merge branch 0.19.x into master
Stefan Behnel [Fri, 11 Oct 2013 16:02:45 +0000 (18:02 +0200)]
mention PyMem_*() C-API functions in memory allocation tutorial
Stefan Behnel [Fri, 11 Oct 2013 12:36:04 +0000 (14:36 +0200)]
reduce Unicode iteration over Latin-1 literals to bytes iteration
Stefan Behnel [Fri, 11 Oct 2013 09:09:39 +0000 (11:09 +0200)]
move misplaced PyObject_Format() C-API declaration to right .pxd file
Stefan Behnel [Thu, 10 Oct 2013 16:55:28 +0000 (18:55 +0200)]
fix declaration of PyBuffer_FillInfo()
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>
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 [Sun, 6 Oct 2013 12:36:57 +0000 (14:36 +0200)]
minor changelog fix
Stefan Behnel [Sun, 6 Oct 2013 12:29:40 +0000 (14:29 +0200)]
explain basestring type in string tutorial
Stefan Behnel [Sun, 6 Oct 2013 11:52:03 +0000 (13:52 +0200)]
prevent assignment from basestring->bytes, provide better error messages, extend string assignment failures test
Stefan Behnel [Sun, 6 Oct 2013 11:26:26 +0000 (13:26 +0200)]
changelog
Stefan Behnel [Sun, 6 Oct 2013 11:20:55 +0000 (13:20 +0200)]
remove incorrect test assumption
Stefan Behnel [Sun, 6 Oct 2013 10:23:35 +0000 (12:23 +0200)]
disallow assignment from bytes to basestring (only allow str/unicode)
Stefan Behnel [Sun, 6 Oct 2013 09:58:23 +0000 (11:58 +0200)]
reduce number of distinct error format strings a bit
Stefan Behnel [Sun, 6 Oct 2013 09:52:53 +0000 (11:52 +0200)]
extend semantics of 'basestring' typed variables to represent exactly bytes/str/unicode but no subtypes
Robert Bradshaw [Fri, 4 Oct 2013 04:43:48 +0000 (21:43 -0700)]
Warn for non-trivial type declarators in shared declarations.
Stefan Behnel [Tue, 1 Oct 2013 07:02:38 +0000 (09:02 +0200)]
disable test in Py2.4
Stefan Behnel [Mon, 30 Sep 2013 20:50:08 +0000 (22:50 +0200)]
ignore UTF-8 BOMs at the beginning of source files
Stefan Behnel [Mon, 30 Sep 2013 17:38:33 +0000 (19:38 +0200)]
Py2.4 fix
Stefan Behnel [Sun, 29 Sep 2013 13:25:48 +0000 (15:25 +0200)]
(try to) fix buffer overflow in test
Stefan Behnel [Sun, 29 Sep 2013 13:08:27 +0000 (15:08 +0200)]
clean up distutils argument handling in cythonize script, avoid unnecessary cwd changing, move intermediate compiler artifacts into temp directory and delete them afterwards
Stefan Behnel [Sun, 29 Sep 2013 12:24:24 +0000 (14:24 +0200)]
add test for cythonize excludes
Stefan Behnel [Sun, 29 Sep 2013 12:17:01 +0000 (14:17 +0200)]
use iglob instead of glob since we're iterating anyway
Stefan Behnel [Sun, 29 Sep 2013 11:45:24 +0000 (13:45 +0200)]
fix typo
Stefan Behnel [Sun, 29 Sep 2013 11:44:25 +0000 (13:44 +0200)]
fix abspath/relpath issues when excluding paths from cythonize() build
Stefan Behnel [Sun, 29 Sep 2013 11:07:10 +0000 (13:07 +0200)]
remove unused import
Robert Bradshaw [Thu, 26 Sep 2013 02:53:58 +0000 (19:53 -0700)]
Some math.h fixes, c99 isX macros.
Robert Bradshaw [Wed, 25 Sep 2013 06:02:13 +0000 (23:02 -0700)]
Merge pull request #157 from dnmiller/master
Allow relative path names for cython freeze.
Robert Bradshaw [Wed, 25 Sep 2013 05:27:29 +0000 (22:27 -0700)]
Merge pull request #246 from dalleyg/dalleyg-lvalue1
Fixed IndexNode.is_lvalue
Robert Bradshaw [Wed, 25 Sep 2013 05:06:16 +0000 (22:06 -0700)]
Merge branch 'gdbout' of github.com:felix-salfelder/cython
Conflicts:
Cython/Compiler/CmdLine.py
Robert Bradshaw [Wed, 25 Sep 2013 05:02:21 +0000 (22:02 -0700)]
Merge pull request #250 from larsmans/opaque-fpos
make fpos_t an opaque type
Robert Bradshaw [Wed, 25 Sep 2013 05:01:28 +0000 (22:01 -0700)]
Merge pull request #252 from larsmans/math-missing
some missing math.h functions and macros in math.pxd
Robert Bradshaw [Wed, 25 Sep 2013 04:58:23 +0000 (21:58 -0700)]
Merge pull request #256 from kanzure/fix-libraries-example
use -fPIC -shared when compiling "libraries" demo
Robert Bradshaw [Sun, 22 Sep 2013 04:55:42 +0000 (21:55 -0700)]
Actually fix unsigned < 0 warning.
Robert Bradshaw [Sun, 22 Sep 2013 04:06:02 +0000 (21:06 -0700)]
Clarify macro arguments.
Robert Bradshaw [Sun, 22 Sep 2013 04:02:42 +0000 (21:02 -0700)]
Get rid of "comparison of unsigned expression < 0 is always false" warning.
Robert Bradshaw [Sun, 22 Sep 2013 03:59:50 +0000 (20:59 -0700)]
Get rid of "comparison between signed and unsigned" warning.
Stefan Behnel [Sat, 21 Sep 2013 12:26:12 +0000 (14:26 +0200)]
Py2.4 compile fix
Stefan Behnel [Sat, 21 Sep 2013 11:47:07 +0000 (13:47 +0200)]
fix syntax
Stefan Behnel [Sat, 21 Sep 2013 11:35:31 +0000 (13:35 +0200)]
Py2.4 fix
Stefan Behnel [Sat, 14 Sep 2013 12:08:56 +0000 (14:08 +0200)]
clean up test a little
--HG--
extra : rebase_source :
7b763fbb0f2485056ec4d2f53a5ec76dc7be9203
Robert Bradshaw [Thu, 19 Sep 2013 21:29:32 +0000 (14:29 -0700)]
Don't warn on uninitialized setting of complex.real/imag
Robert Bradshaw [Thu, 19 Sep 2013 04:48:27 +0000 (21:48 -0700)]
Fix if XML_RESULTS is not set.
Robert Bradshaw [Thu, 19 Sep 2013 04:35:26 +0000 (21:35 -0700)]
XML results for hudson.
Robert Bradshaw [Thu, 19 Sep 2013 03:59:26 +0000 (20:59 -0700)]
Merge branch 'int-conversion'
Stefan Behnel [Sat, 14 Sep 2013 09:31:16 +0000 (11:31 +0200)]
merge 0.19.x branch into master
Stefan Behnel [Sat, 14 Sep 2013 08:04:31 +0000 (10:04 +0200)]
reduce overhead a bit when many string constants have the same cname
Stefan Behnel [Sat, 14 Sep 2013 07:51:32 +0000 (09:51 +0200)]
remove unused parameter
Stefan Behnel [Sat, 14 Sep 2013 07:22:51 +0000 (09:22 +0200)]
fix cname uniquification for string constants
Stefan Behnel [Sat, 14 Sep 2013 06:33:35 +0000 (08:33 +0200)]
clean up some code
Robert Bradshaw [Thu, 12 Sep 2013 20:59:51 +0000 (13:59 -0700)]
Set correct baseclass for heap allocated type subclasses.
Bryan Bishop [Tue, 10 Sep 2013 01:03:18 +0000 (20:03 -0500)]
use -fPIC -shared when compiling "libraries" demo
This fixes the "libraries" demo's setup.py for building the call_mymath
extension.
scoder [Sun, 8 Sep 2013 17:02:23 +0000 (10:02 -0700)]
Merge pull request #254 from kanzure/fix-build-docs-typo
Fix grammar/typo in build docs
Bryan Bishop [Sun, 8 Sep 2013 16:11:45 +0000 (11:11 -0500)]
fix grammar/typo in build docs
There was a word missing.
Robert Bradshaw [Sat, 7 Sep 2013 20:45:22 +0000 (13:45 -0700)]
Add no-cpp tag to numpy_math test.
Robert Bradshaw [Sat, 7 Sep 2013 20:43:58 +0000 (13:43 -0700)]
No-cpp tag.
Robert Bradshaw [Sat, 7 Sep 2013 20:36:54 +0000 (13:36 -0700)]
Merge branch 'numpy-math' of github.com:larsmans/cython
Robert Bradshaw [Sat, 7 Sep 2013 19:41:19 +0000 (12:41 -0700)]
Merge pull request #49 from denik/
7d7751ac5192c68d3501e48f663f2cae77a57990
Avoid dramatic changes in the resulting .c file when the input .pyx file changes only slightly.
Lars Buitinck [Sat, 7 Sep 2013 11:30:29 +0000 (13:30 +0200)]
pxd file for the NumPy core math library (npymath)
Stefan Behnel [Thu, 5 Sep 2013 16:47:56 +0000 (18:47 +0200)]
minor doc clarification
Lars Buitinck [Thu, 5 Sep 2013 08:48:37 +0000 (10:48 +0200)]
some missing math.h functions and macros in math.pxd
Stefan Behnel [Sun, 1 Sep 2013 21:16:28 +0000 (23:16 +0200)]
use standard exclude patterns as overridable default in cystdlib.py
Stefan Behnel [Sun, 1 Sep 2013 20:36:20 +0000 (22:36 +0200)]
include type in annotation item text
Stefan Behnel [Sun, 1 Sep 2013 20:33:59 +0000 (22:33 +0200)]
minor code cleanup
Stefan Behnel [Sun, 1 Sep 2013 20:29:34 +0000 (22:29 +0200)]
make code blocks open on first click instead of second
Stefan Behnel [Sun, 1 Sep 2013 19:56:54 +0000 (21:56 +0200)]
fix some HTML issues in annotation file
Stefan Behnel [Sun, 1 Sep 2013 15:14:11 +0000 (17:14 +0200)]
exclude two more modules from stclib compilation
Stefan Behnel [Sun, 1 Sep 2013 11:18:36 +0000 (13:18 +0200)]
formatting
Stefan Behnel [Sun, 1 Sep 2013 09:07:01 +0000 (11:07 +0200)]
remove unused type variable
Stefan Behnel [Sat, 31 Aug 2013 15:00:52 +0000 (17:00 +0200)]
disable pylint warning about unknown attributes - there are just too many of them on the tree nodes
Stefan Behnel [Sat, 31 Aug 2013 14:39:55 +0000 (16:39 +0200)]
changelog
Stefan Behnel [Sat, 31 Aug 2013 13:53:54 +0000 (15:53 +0200)]
allow explicitly excluding certain modules from the command line
Stefan Behnel [Sat, 31 Aug 2013 11:19:10 +0000 (13:19 +0200)]
add test for raw_input() renaming in Py3
Stefan Behnel [Sat, 31 Aug 2013 10:59:19 +0000 (12:59 +0200)]
add frozen importlib module to excluded modules in cystdlib.py
Stefan Behnel [Sat, 31 Aug 2013 10:41:35 +0000 (12:41 +0200)]
improve Python compatibility during stdlib compilation
--HG--
extra : rebase_source :
3925751f19150188e9c65f87aca4039a7d551b7a
Stefan Behnel [Sat, 31 Aug 2013 10:36:58 +0000 (12:36 +0200)]
include raw_input() in list of builtins that change names in Py3
--HG--
extra : rebase_source :
f2f904fd21c1807c0dc51f02fb9d460061862fda
scoder [Fri, 30 Aug 2013 09:38:24 +0000 (02:38 -0700)]
Merge pull request #251 from jpaalasm/patch-1
Fix typo
Joonas Paalasmaa [Fri, 30 Aug 2013 09:32:33 +0000 (12:32 +0300)]
Fix typo
Stefan Behnel [Fri, 30 Aug 2013 07:13:42 +0000 (09:13 +0200)]
mark bytearray() and complex() as returning an instance of their type