Mark [Fri, 11 May 2012 10:50:35 +0000 (03:50 -0700)]
Merge pull request #117 from markflorisson88/_newaxis
Newaxis support for memoryview slices & avoid taking address of memoryviews for utility functions
Mark Florisson [Sun, 6 May 2012 17:29:53 +0000 (18:29 +0100)]
Don't allow more dimensions than buffer_max_dims
Mark Florisson [Sun, 6 May 2012 15:02:58 +0000 (16:02 +0100)]
Add some documentation for newaxis indexing
Mark Florisson [Sat, 5 May 2012 16:15:48 +0000 (17:15 +0100)]
Support newaxis indexing for memoryview slices
todo: support memoryview object newaxis indexing
Mark Florisson [Sat, 5 May 2012 12:29:28 +0000 (13:29 +0100)]
Avoid taking address of memoryviews to enable C compiler optimizations in user code
Mark [Fri, 11 May 2012 10:45:27 +0000 (03:45 -0700)]
Merge pull request #121 from scoder/_minor_fused_cleanup
minor fused cleanups
Stefan Behnel [Fri, 11 May 2012 09:14:20 +0000 (11:14 +0200)]
fix fused types in PyPy by using a less aggressive setitem optimisation on lists for it
Stefan Behnel [Fri, 11 May 2012 09:01:00 +0000 (11:01 +0200)]
reduce runtime overhead for 'dest_sig' variable setup
Stefan Behnel [Fri, 11 May 2012 08:31:52 +0000 (10:31 +0200)]
reduce code overhead for fused cpdef signature matching code
Stefan Behnel [Fri, 11 May 2012 06:23:09 +0000 (08:23 +0200)]
remove useless code from fused types dispatch
Stefan Behnel [Fri, 11 May 2012 05:23:02 +0000 (07:23 +0200)]
fix compiler crash in declaration analysis
Stefan Behnel [Fri, 11 May 2012 05:07:51 +0000 (07:07 +0200)]
add newline to end of file
Mark Florisson [Thu, 10 May 2012 19:14:02 +0000 (20:14 +0100)]
Revert "implement __hash__() and __eq__() for ctypedefs by delegating to the base type"
This breaks comparing typedef types and results
in funky things such as getting temporaries of
different types.
This reverts commit
e3838e42c4b6f67f180d06b8cd75566f3380ab95.
Mark [Thu, 10 May 2012 18:32:24 +0000 (11:32 -0700)]
Merge pull request #115 from markflorisson88/_fused_dispatch_rebased
fused runtime dispatch for buffers
scoder [Thu, 10 May 2012 17:47:27 +0000 (10:47 -0700)]
Merge pull request #120 from vitek/_type_inference
Infer variable as pyobject when del-ed, fix #768
Stefan Behnel [Thu, 10 May 2012 11:25:46 +0000 (13:25 +0200)]
minor code simplifications and fixes in printing utility code
Stefan Behnel [Thu, 10 May 2012 11:13:02 +0000 (13:13 +0200)]
minor beautifications in utility code file
Vitja Makarov [Wed, 9 May 2012 14:11:39 +0000 (18:11 +0400)]
Fix w_uninitilized_del testcase, now inferred as python object
Vitja Makarov [Wed, 9 May 2012 12:36:42 +0000 (16:36 +0400)]
Infer variable as pyobject when del-ed, fix #768
Vitja Makarov [Wed, 9 May 2012 19:08:44 +0000 (23:08 +0400)]
print: Do Py_INCREF() before using stdout
Vitja Makarov [Wed, 9 May 2012 16:55:06 +0000 (20:55 +0400)]
Move Printing functions to Printing.c
Stefan Behnel [Thu, 10 May 2012 08:06:55 +0000 (10:06 +0200)]
improved pure mode docs on function decorators
Mark [Wed, 9 May 2012 13:22:45 +0000 (06:22 -0700)]
Merge pull request #119 from markflorisson88/_nonecheck
Refactor none checking, allow nogil exceptions, nogil memoryview slice None comparison
Mark Florisson [Wed, 9 May 2012 12:22:29 +0000 (13:22 +0100)]
Use PyErr_Format to format attribute names
Mark Florisson [Wed, 9 May 2012 11:58:03 +0000 (12:58 +0100)]
Allow 'not None' declaration for memoryview slice arguments
Mark Florisson [Wed, 9 May 2012 11:45:27 +0000 (12:45 +0100)]
Add cast to PyObject * for nonecheck
Mark Florisson [Wed, 9 May 2012 11:41:24 +0000 (12:41 +0100)]
Allow nogil None checking for memoryview slices
Mark Florisson [Wed, 9 May 2012 11:10:21 +0000 (12:10 +0100)]
Add nogil nonecheck tests (don't segfault)
Mark Florisson [Wed, 9 May 2012 11:06:50 +0000 (12:06 +0100)]
Refactor None checking code -- use NoneCheckNode everywhere
Stefan Behnel [Wed, 9 May 2012 09:02:08 +0000 (11:02 +0200)]
reenabled NumPy test to see if it works now
Stefan Behnel [Wed, 9 May 2012 07:30:05 +0000 (09:30 +0200)]
less aggressive callable() optimisation in Py2
scoder [Tue, 8 May 2012 11:36:48 +0000 (04:36 -0700)]
Merge pull request #118 from vitek/_markassignments
Use assignments collected by CF for type inference
Vitja Makarov [Tue, 8 May 2012 07:27:06 +0000 (11:27 +0400)]
mark_forloop_target: backport recent changes to MarkAssignments
Mark Florisson [Tue, 8 May 2012 09:10:07 +0000 (10:10 +0100)]
Fix scalar slice assignment with different ndim than source object
Vitja Makarov [Mon, 7 May 2012 20:32:08 +0000 (00:32 +0400)]
Rename MarkAssignments to MarkParallelAssignments
Vitja Makarov [Mon, 7 May 2012 20:31:48 +0000 (00:31 +0400)]
TypeInference: use CF collected assignments
Vitja Makarov [Mon, 7 May 2012 16:35:28 +0000 (20:35 +0400)]
ControlFlowAnalysis: be comaptible with MarkAssignments
Stefan Behnel [Tue, 8 May 2012 07:34:28 +0000 (09:34 +0200)]
implement two-args enumerate() with counter start value
Robert Bradshaw [Tue, 8 May 2012 07:29:31 +0000 (00:29 -0700)]
Error message fix for very old/new Python versions.
Robert Bradshaw [Tue, 8 May 2012 07:09:23 +0000 (00:09 -0700)]
Fix error tests.
Stefan Behnel [Mon, 7 May 2012 10:41:03 +0000 (12:41 +0200)]
allow 'not None' declaration on buffer arguments
Stefan Behnel [Mon, 7 May 2012 09:58:53 +0000 (11:58 +0200)]
minor code cleanup
Stefan Behnel [Mon, 7 May 2012 09:55:09 +0000 (11:55 +0200)]
fix output in cythonize()
Stefan Behnel [Sun, 6 May 2012 19:35:33 +0000 (21:35 +0200)]
fix output in cythonize()
Stefan Behnel [Sun, 6 May 2012 12:47:06 +0000 (14:47 +0200)]
minor fixes in parallelism docs
Mark Florisson [Sun, 6 May 2012 12:07:12 +0000 (13:07 +0100)]
Fix MemoryViewSliceType's specialize method
Robert Bradshaw [Sun, 6 May 2012 04:51:28 +0000 (21:51 -0700)]
fix multi-threaded cythonize
Robert Bradshaw [Sun, 6 May 2012 04:38:24 +0000 (21:38 -0700)]
package and module names must be str
Mark Florisson [Fri, 4 May 2012 20:16:26 +0000 (21:16 +0100)]
Fix ambiguous overload scoring error
Robert Bradshaw [Sat, 5 May 2012 04:23:26 +0000 (21:23 -0700)]
Merge pull request #116 from retep/gitattribute-doc
Add __getattribute__ to documentation.
Mark Florisson [Fri, 4 May 2012 11:25:31 +0000 (12:25 +0100)]
Remove with statement future import
Peter Todd [Fri, 4 May 2012 04:59:58 +0000 (00:59 -0400)]
Add __getattribute__ to documentation.
Mark Florisson [Thu, 3 May 2012 21:06:44 +0000 (22:06 +0100)]
Remove Importer.py and with statements in FusedNode
Mark Florisson [Tue, 1 May 2012 13:08:32 +0000 (14:08 +0100)]
Fix refcount error in copy function of memoryviews
Stefan Behnel [Tue, 1 May 2012 12:10:44 +0000 (14:10 +0200)]
infer Py_ssize_t for enumerate() index variable in simple cases when iterating over builtin types
Stefan Behnel [Mon, 30 Apr 2012 09:32:21 +0000 (11:32 +0200)]
fix hashing of CPtrType in Py3k
Stefan Behnel [Mon, 30 Apr 2012 07:42:41 +0000 (09:42 +0200)]
clean up compilation documentation
scoder [Mon, 30 Apr 2012 07:16:42 +0000 (00:16 -0700)]
Merge pull request #114 from scoder/_charptr_cleanup
Cleanup of charptr handling to improve typedef support
Stefan Behnel [Mon, 30 Apr 2012 06:26:28 +0000 (08:26 +0200)]
document 'language_level' compiler directive
Stefan Behnel [Sun, 29 Apr 2012 19:56:59 +0000 (21:56 +0200)]
fix buffer format setup in numpy.pxd
Stefan Behnel [Sat, 28 Apr 2012 18:18:41 +0000 (20:18 +0200)]
fix char comparison for byteorder field in numpy.pxd
Stefan Behnel [Fri, 27 Apr 2012 16:42:58 +0000 (18:42 +0200)]
pure mode: propagate @returns() declaration for @ccall functions
Stefan Behnel [Fri, 27 Apr 2012 13:29:05 +0000 (15:29 +0200)]
minor signature fix in Shadow.py
Mark Florisson [Fri, 27 Apr 2012 11:09:53 +0000 (12:09 +0100)]
Call generate_execution_code on cdef specialed functions
Mark Florisson [Fri, 27 Apr 2012 10:02:46 +0000 (11:02 +0100)]
Synthesize fused specializations only once
Mark Florisson [Fri, 27 Apr 2012 08:30:56 +0000 (09:30 +0100)]
Fix Importer version check and setup PyxArgs in pyximport
Mark Florisson [Thu, 26 Apr 2012 21:54:15 +0000 (22:54 +0100)]
Re-enable buffer ctypedef error message (disabled for fused declarations)
Mark Florisson [Thu, 26 Apr 2012 21:24:50 +0000 (22:24 +0100)]
Fix default arguments
Mark Florisson [Thu, 26 Apr 2012 21:24:32 +0000 (22:24 +0100)]
Compile imported module conditionally for faster development based on version
Mark Florisson [Wed, 25 Apr 2012 17:15:21 +0000 (18:15 +0100)]
Use .pyx files for Importer to avoid distutils bytecode compilation
Mark Florisson [Thu, 12 Apr 2012 13:05:15 +0000 (14:05 +0100)]
Update a test after merge
Mark Florisson [Thu, 22 Mar 2012 23:50:45 +0000 (23:50 +0000)]
Include pyximport in testrunner for py3k and fix py3k unicode fused bug
Mark Florisson [Thu, 22 Mar 2012 18:40:45 +0000 (18:40 +0000)]
Add Cython.Compiler.Importer to import code which relies on functionality that is not portable across python versions
Mark Florisson [Thu, 22 Mar 2012 14:03:09 +0000 (14:03 +0000)]
More fused runtime dispatch tests and some fixes
Mark Florisson [Thu, 12 Apr 2012 12:31:07 +0000 (13:31 +0100)]
Better fused buffer runtime dispatch + dispatch restructuring + PyxCodeWriter
Stefan Behnel [Thu, 26 Apr 2012 07:01:45 +0000 (09:01 +0200)]
streamline string handling tutorial
Stefan Behnel [Wed, 25 Apr 2012 10:44:43 +0000 (12:44 +0200)]
optimise built-in callable() function
Stefan Behnel [Wed, 25 Apr 2012 08:49:42 +0000 (10:49 +0200)]
implement __hash__() and __eq__() for ctypedefs by delegating to the base type
Stefan Behnel [Wed, 25 Apr 2012 08:36:45 +0000 (10:36 +0200)]
fix array type comparison by considering the size as well as the type
Stefan Behnel [Wed, 25 Apr 2012 08:18:42 +0000 (10:18 +0200)]
fix compiler crash in error case
Stefan Behnel [Wed, 25 Apr 2012 08:16:08 +0000 (10:16 +0200)]
fix string usage in fused types test
Stefan Behnel [Wed, 25 Apr 2012 08:15:04 +0000 (10:15 +0200)]
fix some tests by making pointer types properly comparable and hashable, instead of relying on identity
Stefan Behnel [Wed, 25 Apr 2012 07:37:49 +0000 (09:37 +0200)]
additional test for arrays
Stefan Behnel [Wed, 25 Apr 2012 07:37:43 +0000 (09:37 +0200)]
fix signed type handling in charptr/bytes coercion
Stefan Behnel [Wed, 25 Apr 2012 07:36:24 +0000 (09:36 +0200)]
fix type declarations in libc.string
Stefan Behnel [Wed, 25 Apr 2012 06:55:40 +0000 (08:55 +0200)]
clean up charptr types to support bytes/charptr coercion also for ctypedef'ed types in general
Stefan Behnel [Wed, 25 Apr 2012 05:45:40 +0000 (07:45 +0200)]
provide const_uchar and const_schar in libc.string declarations
Stefan Behnel [Wed, 25 Apr 2012 05:45:07 +0000 (07:45 +0200)]
set is_string flag also for ctypedef'ed charptr types
Vitja Makarov [Tue, 24 Apr 2012 09:58:22 +0000 (13:58 +0400)]
Remove dict items that can't be represented as PyObject after type inference
Stefan Behnel [Mon, 23 Apr 2012 19:55:21 +0000 (21:55 +0200)]
merge
Stefan Behnel [Mon, 23 Apr 2012 18:39:05 +0000 (20:39 +0200)]
disable 'pyregr.test_logging' because of threading issues
Vitja Makarov [Sun, 22 Apr 2012 18:42:20 +0000 (22:42 +0400)]
Don't add vars that can't be coerced to PyObject into locals() dict
Mark Florisson [Sun, 22 Apr 2012 14:38:23 +0000 (15:38 +0100)]
Disable tp_traverse-al of memslice.memview
Stefan Behnel [Sun, 22 Apr 2012 13:41:47 +0000 (15:41 +0200)]
another tweak to the refnanny context: readonly fields are enough
Stefan Behnel [Sun, 22 Apr 2012 13:35:55 +0000 (15:35 +0200)]
disable numpy_memoryview test: currently crashes in Py3.2
Stefan Behnel [Sun, 22 Apr 2012 13:34:40 +0000 (15:34 +0200)]
make context fields in refnanny context visible from Python code
Stefan Behnel [Sun, 22 Apr 2012 08:19:59 +0000 (10:19 +0200)]
speed up refnanny
Stefan Behnel [Sat, 21 Apr 2012 13:54:15 +0000 (15:54 +0200)]
increased version of master to 0.17pre
Stefan Behnel [Sat, 21 Apr 2012 13:52:49 +0000 (15:52 +0200)]
merged release branch into master
Mark Florisson [Sat, 21 Apr 2012 11:34:03 +0000 (12:34 +0100)]
0.16