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
Stefan Behnel [Wed, 12 Jun 2013 15:03:46 +0000 (17:03 +0200)]
minor changelog cleanups
--HG--
extra : rebase_source :
9ac699d2cd10ea7eef564c2790ad36c6474028f4
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
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
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.
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.
Robert Bradshaw [Sat, 25 May 2013 05:12:44 +0000 (22:12 -0700)]
Even more clarification on cythonize().
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.
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.
Vitja Makarov [Thu, 23 May 2013 15:56:19 +0000 (19:56 +0400)]
Fix external reference assignment
Vitja Makarov [Thu, 23 May 2013 05:44:19 +0000 (09:44 +0400)]
Add error_on_uninitialized option and disable it for pyregr testsuite
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.
Robert Bradshaw [Tue, 21 May 2013 16:36:25 +0000 (09:36 -0700)]
ptrdif_t test
Robert Bradshaw [Tue, 21 May 2013 15:53:57 +0000 (08:53 -0700)]
Add ptrdiff_t type to Cython.
Robert Bradshaw [Tue, 21 May 2013 05:38:19 +0000 (22:38 -0700)]
Minor cleanup in dtypestring parsing.
Josh Ayers [Tue, 21 May 2013 03:54:00 +0000 (20:54 -0700)]
Fix several MS compiler warnings.
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
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
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
Stefan Behnel [Wed, 15 May 2013 06:13:50 +0000 (08:13 +0200)]
split some overly long code lines
R. Andrew Ohana [Tue, 14 May 2013 01:49:12 +0000 (18:49 -0700)]
add fix for in-tree symlinks, with updated test
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
Guy Rozendorn [Mon, 13 May 2013 13:07:45 +0000 (16:07 +0300)]
Try using setuptools in setup.py, allow bdist_egg where possible
Stefan Behnel [Sun, 12 May 2013 13:17:17 +0000 (15:17 +0200)]
keep constant_result when coercing BytesNode
Stefan Behnel [Sun, 12 May 2013 13:11:46 +0000 (15:11 +0200)]
changelog
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
Stefan Behnel [Sun, 12 May 2013 12:48:02 +0000 (14:48 +0200)]
extend SwitchTransform tests
Stefan Behnel [Sun, 12 May 2013 12:23:09 +0000 (14:23 +0200)]
extend SwitchTransform tests
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
Stefan Behnel [Sun, 12 May 2013 12:07:03 +0000 (14:07 +0200)]
keep constant_result when coercing string to char
Stefan Behnel [Sun, 12 May 2013 06:33:36 +0000 (08:33 +0200)]
fix constant value check in switch statement generation
R. Andrew Ohana [Sun, 12 May 2013 06:15:39 +0000 (23:15 -0700)]
fully fix build_dir copying
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, 11 May 2013 08:57:15 +0000 (10:57 +0200)]
update master version to 0.20dev
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.
Nikita Nemkin [Sun, 5 May 2013 13:50:45 +0000 (19:50 +0600)]
Order cdef classes by inheritance before generating the code.
Stefan Behnel [Sun, 5 May 2013 12:41:36 +0000 (14:41 +0200)]
changelog
scoder [Sun, 5 May 2013 12:30:15 +0000 (05:30 -0700)]
Merge pull request #222 from nnemkin/cy_utility_decorators
Hide Cython utility classes (like memoryview) from Python level module scope.
Stefan Behnel [Sun, 5 May 2013 06:45:44 +0000 (08:45 +0200)]
remove credits, as requested
Nikita Nemkin [Sat, 4 May 2013 16:59:27 +0000 (22:59 +0600)]
Cython utility cdef classes are internal by default. Fixes #775.
Nikita Nemkin [Sat, 4 May 2013 14:14:18 +0000 (20:14 +0600)]
Allow cdef class decorators in Cython utility code.
Stefan Behnel [Sat, 4 May 2013 13:40:50 +0000 (15:40 +0200)]
changelog
scoder [Sat, 4 May 2013 13:39:26 +0000 (06:39 -0700)]
Merge pull request #220 from nnemkin/elide_empty_slots
Do not generate tables for completely empty slot suites.
scoder [Sat, 4 May 2013 13:27:26 +0000 (06:27 -0700)]
Merge pull request #221 from nnemkin/windows_test_fixes
Fixes for absolute_import and inop test failures on Windows.
Nikita Nemkin [Sat, 4 May 2013 13:03:47 +0000 (19:03 +0600)]
Fixes for absolute_import and inop test failures on Windows.
Nikita Nemkin [Sat, 4 May 2013 07:24:58 +0000 (13:24 +0600)]
Do not generate tables for completely empty slot suites.
Stefan Behnel [Wed, 1 May 2013 13:12:56 +0000 (15:12 +0200)]
use pre-built Python objects in __Pyx_ExportVoidPtr() utility function
Stefan Behnel [Wed, 1 May 2013 12:52:48 +0000 (14:52 +0200)]
fix build
Stefan Behnel [Wed, 1 May 2013 12:12:40 +0000 (14:12 +0200)]
move [GS]etVTable utility code to more appropriate ImportExport.c file