Nikita Nemkin [Sun, 21 Apr 2013 08:26:16 +0000 (14:26 +0600)]
Removed the warning about docstrings for private attributes. Fixed erroneous docstring recognition past the blank line.
Nikita Nemkin [Mon, 15 Apr 2013 18:44:09 +0000 (00:44 +0600)]
Test fixes for autodoc improvements.
Nikita Nemkin [Sun, 14 Apr 2013 09:39:07 +0000 (15:39 +0600)]
Changed bint representation in autodoc signatures from 'int' to 'bool'.
Nikita Nemkin [Sat, 13 Apr 2013 11:55:42 +0000 (17:55 +0600)]
Attribute docstrings support for cdef public attributes.
Nikita Nemkin [Sat, 13 Apr 2013 07:07:51 +0000 (13:07 +0600)]
Show attribute access and binary operations in default values in autogenerated signatures.
Stefan Behnel [Fri, 12 Apr 2013 10:50:33 +0000 (12:50 +0200)]
prepare release of 0.19 beta 2
Stefan Behnel [Fri, 12 Apr 2013 09:31:34 +0000 (11:31 +0200)]
changelog
Stefan Behnel [Fri, 12 Apr 2013 09:25:21 +0000 (11:25 +0200)]
prevent redundant type checks for None values, especially in cascaded assignments
Stefan Behnel [Fri, 12 Apr 2013 09:20:35 +0000 (11:20 +0200)]
fix cascaded assignments of None to extension type variables
Stefan Behnel [Fri, 12 Apr 2013 08:42:23 +0000 (10:42 +0200)]
explicitly disable object-in-buffer tests in PyPy
Stefan Behnel [Thu, 11 Apr 2013 17:57:53 +0000 (19:57 +0200)]
inline normal case of getattr(o,n)
--HG--
extra : rebase_source :
9a5bbb4f08a0eb5be71afd48d9ad5566d8a39efc
Stefan Behnel [Thu, 11 Apr 2013 17:49:30 +0000 (19:49 +0200)]
update docs on optimised builtins
--HG--
extra : rebase_source :
fb47cc7e0154abb172016f1945dad2968b3f2a3e
Robert Bradshaw [Thu, 11 Apr 2013 15:16:03 +0000 (08:16 -0700)]
Merge pull request #211 from Juntalis/master
Non-Wrapped Inline Declaration Breaking Compatibility with C89 Compilers
Charles Grunwald (Juntalis) [Thu, 11 Apr 2013 09:41:23 +0000 (02:41 -0700)]
Fix build for non-C99 compatible compilers
scoder [Thu, 11 Apr 2013 07:28:56 +0000 (00:28 -0700)]
Merge pull request #210 from nbruin/master
Explain difference between cdef and cpdef
nbruin [Thu, 11 Apr 2013 02:55:48 +0000 (19:55 -0700)]
explain difference between cdef and cpdef
nbruin [Thu, 11 Apr 2013 02:52:01 +0000 (19:52 -0700)]
explain difference between cdef and cpdef
nbruin [Thu, 11 Apr 2013 02:47:44 +0000 (19:47 -0700)]
explain difference between cdef and cpdef
nbruin [Thu, 11 Apr 2013 02:40:08 +0000 (19:40 -0700)]
explain difference between cdef and cpdef
nbruin [Thu, 11 Apr 2013 02:32:56 +0000 (19:32 -0700)]
explain difference between cdef and cpdef
Stefan Behnel [Wed, 10 Apr 2013 17:34:41 +0000 (19:34 +0200)]
changelog
Robert Bradshaw [Tue, 9 Apr 2013 21:34:23 +0000 (14:34 -0700)]
Ensure NAN is always initialized.
Robert Bradshaw [Tue, 9 Apr 2013 18:41:29 +0000 (11:41 -0700)]
Undo redundant fix.
Robert Bradshaw [Tue, 9 Apr 2013 18:40:39 +0000 (11:40 -0700)]
Merge pull request #204 from vmx/constcast
Add casting to const
Robert Bradshaw [Tue, 9 Apr 2013 18:39:06 +0000 (11:39 -0700)]
Const cast fix.
Stefan Behnel [Tue, 9 Apr 2013 06:27:23 +0000 (08:27 +0200)]
add "experimental!" warning to linetrace directive
Stefan Behnel [Mon, 8 Apr 2013 16:19:48 +0000 (18:19 +0200)]
fix C++ warning
Stefan Behnel [Mon, 8 Apr 2013 05:09:03 +0000 (07:09 +0200)]
changelog
Stefan Behnel [Sun, 7 Apr 2013 11:00:41 +0000 (13:00 +0200)]
remove dead Py2.7+ code in <Py2.6 only code blocks and clean them up a bit
Stefan Behnel [Sun, 7 Apr 2013 10:47:58 +0000 (12:47 +0200)]
fix some C++ compiler warnings about char* constants
Stefan Behnel [Sun, 7 Apr 2013 08:14:00 +0000 (10:14 +0200)]
Added tag 0.19b1 for changeset
4f782ac7b3fd
Stefan Behnel [Sun, 7 Apr 2013 05:38:45 +0000 (07:38 +0200)]
test 'type_version_tag' directive and fix it in Py2
--HG--
rename : tests/compile/ext_attribute_cache.pyx => tests/run/ext_attribute_cache.pyx
Stefan Behnel [Sat, 6 Apr 2013 20:30:13 +0000 (22:30 +0200)]
enable Py_TPFLAGS_HAVE_VERSION_TAG on extension types by default (also in Py2) and provide 'type_version_tag' option to disable it
Stefan Behnel [Sat, 6 Apr 2013 16:13:08 +0000 (18:13 +0200)]
remove unused left-over code
Stefan Behnel [Sat, 6 Apr 2013 13:43:49 +0000 (15:43 +0200)]
prepare release of 0.19 beta 1
Stefan Behnel [Sat, 6 Apr 2013 13:42:48 +0000 (15:42 +0200)]
merge
scoder [Sat, 6 Apr 2013 13:26:34 +0000 (06:26 -0700)]
Merge pull request #207 from nnemkin/callconv_pointers_fix
Correctly handle function pointer typedefs with calling convention specified.
scoder [Sat, 6 Apr 2013 13:21:26 +0000 (06:21 -0700)]
Merge pull request #208 from nnemkin/cimport_from_pyx_fix
Fix extern variable cimport code in cimport_from_pyx mode
scoder [Sat, 6 Apr 2013 12:59:56 +0000 (05:59 -0700)]
Merge pull request #209 from nnemkin/local_error_reporting_vars
Consistently declare local error reporting variables (lineno, clineno, filename)
Nikita Nemkin [Sat, 6 Apr 2013 10:19:46 +0000 (16:19 +0600)]
In cimport_from_pyx mode don't treat "cdef extern from" variables as being defined, preventing erroneous cross-module cimport.
Nikita Nemkin [Sat, 6 Apr 2013 10:13:35 +0000 (16:13 +0600)]
Consistently declare local error reporting variables (lineno, clineno, filename) for all types of functions.
Stefan Behnel [Sat, 6 Apr 2013 05:42:55 +0000 (07:42 +0200)]
fix build
Robert Bradshaw [Fri, 5 Apr 2013 20:54:19 +0000 (13:54 -0700)]
Merge pull request #206 from nnemkin/cpp_condexpr_cast_fix
Fix C/C++ compilation error when if/else expression has extension class type.
Stefan Behnel [Fri, 5 Apr 2013 15:42:59 +0000 (17:42 +0200)]
fix tracing check outside of functions
Stefan Behnel [Fri, 5 Apr 2013 15:11:28 +0000 (17:11 +0200)]
implement experimental support for line tracing
Stefan Behnel [Fri, 5 Apr 2013 10:52:31 +0000 (12:52 +0200)]
whitespace
Stefan Behnel [Fri, 5 Apr 2013 10:51:16 +0000 (12:51 +0200)]
minor code simplification
Stefan Behnel [Fri, 5 Apr 2013 10:50:11 +0000 (12:50 +0200)]
move profiling utility code into external .c file
Nikita Nemkin [Fri, 5 Apr 2013 08:02:36 +0000 (14:02 +0600)]
Fix C++ compilation error when if/else expression has extension class type.
Stefan Behnel [Fri, 5 Apr 2013 07:15:49 +0000 (09:15 +0200)]
simplify import-from code a little by moving the name lookup into a utility function
Stefan Behnel [Thu, 4 Apr 2013 17:01:35 +0000 (19:01 +0200)]
extend test case
Stefan Behnel [Thu, 4 Apr 2013 15:55:40 +0000 (17:55 +0200)]
use better internal link in documentation instead of linking to external Wiki
Nikita Nemkin [Thu, 4 Apr 2013 04:21:01 +0000 (10:21 +0600)]
Allow function pointer typedefs with calling convention specified.
Volker Mische [Wed, 3 Apr 2013 15:05:10 +0000 (17:05 +0200)]
Add casting to const
The included test is derived from a real world case
which would lead to warnings in GCC if the pointer
wouldn't be explicitly casted to const.
Robert Bradshaw [Wed, 3 Apr 2013 06:18:36 +0000 (23:18 -0700)]
Merge pull request #203 from vmx/const-pointer
Add support for const pointers
Volker Mische [Tue, 2 Apr 2013 17:08:26 +0000 (19:08 +0200)]
Add support for const pointers
Stefan Behnel [Mon, 1 Apr 2013 09:57:25 +0000 (11:57 +0200)]
broaden the effect of in-closure def node call inlining
Stefan Behnel [Fri, 29 Mar 2013 20:21:14 +0000 (21:21 +0100)]
prevent tp_new() optimisation from breaking external types with known typeobj
Stefan Behnel [Fri, 29 Mar 2013 18:11:44 +0000 (19:11 +0100)]
remove unused test code
Stefan Behnel [Fri, 29 Mar 2013 17:52:49 +0000 (18:52 +0100)]
fix doctest
Stefan Behnel [Fri, 29 Mar 2013 17:40:22 +0000 (18:40 +0100)]
implement __annotations__ attribute on CyFunction (PEP 3107)
Stefan Behnel [Fri, 29 Mar 2013 16:09:58 +0000 (17:09 +0100)]
implement __kwdefaults__ for CyFunction
Robert Bradshaw [Fri, 29 Mar 2013 10:00:27 +0000 (03:00 -0700)]
Merge pull request #200 from nnemkin/module_level_literal_arrays
Allow module-level literal lists (Fixes #113).
Nikita Nemkin [Thu, 28 Mar 2013 11:11:10 +0000 (17:11 +0600)]
Allow module-level literal lists (Fixes #113).
Robert Bradshaw [Tue, 26 Mar 2013 06:38:07 +0000 (23:38 -0700)]
Const temp regression test.
Robert Bradshaw [Tue, 26 Mar 2013 06:30:34 +0000 (23:30 -0700)]
Fix bug with infered const temp vars.
scoder [Fri, 22 Mar 2013 20:52:48 +0000 (13:52 -0700)]
Merge pull request #190 from sturlamolden/master
Enable GCC atomic builtins on MinGW, disable on i386 target
Robert Bradshaw [Tue, 19 Mar 2013 17:29:22 +0000 (10:29 -0700)]
Flush at the end of cythonize().
scoder [Tue, 19 Mar 2013 14:34:13 +0000 (07:34 -0700)]
Merge pull request #199 from nnemkin/compile_time_strings_fix
Correctly handle compile-time strings appearing in Python context.
Nikita Nemkin [Tue, 19 Mar 2013 12:57:57 +0000 (18:57 +0600)]
Correctly handle compile-time strings appearing in Python context.
Stefan Behnel [Mon, 18 Mar 2013 20:59:49 +0000 (21:59 +0100)]
refactor comprehensions by removing separate target node (to simplify a future length-hint optimisation)
--HG--
extra : rebase_source :
476b22eeaeaea1ff69ee8069328fb47ffe18ea20
scoder [Sun, 17 Mar 2013 20:03:46 +0000 (13:03 -0700)]
Merge pull request #198 from pv/bug/fused-refcount
BUG: fix reference counting bug in fused type method descriptor
Pauli Virtanen [Sun, 17 Mar 2013 18:12:19 +0000 (20:12 +0200)]
Add test for the fused type refcounting issue
Pauli Virtanen [Sun, 17 Mar 2013 18:11:34 +0000 (20:11 +0200)]
Remove duplicate DECREF, tp_clear does it already
Mark Florisson [Sun, 17 Mar 2013 16:54:08 +0000 (16:54 +0000)]
Fix fused tp_clear function prototype
Mark Florisson [Sun, 17 Mar 2013 16:49:30 +0000 (16:49 +0000)]
Properly decref objects held by fused functions
Stefan Behnel [Sun, 17 Mar 2013 10:15:52 +0000 (11:15 +0100)]
fix 'with nogil' blocks inside of generators in C++ mode
Stefan Behnel [Sun, 17 Mar 2013 09:27:32 +0000 (10:27 +0100)]
changelog
--HG--
extra : rebase_source :
889ca43dd6769a6208f8c69e36f2103468b3b546
Stefan Behnel [Sun, 17 Mar 2013 09:18:37 +0000 (10:18 +0100)]
avoid GIL state temp overhead in sections that do not contain yields
--HG--
extra : rebase_source :
9be74b8a1d6509acf415bf667558a635b38a902f
Stefan Behnel [Sun, 17 Mar 2013 09:05:42 +0000 (10:05 +0100)]
store GIL state in temp variable to safely keep it across generator yields (fixes ticket 803)
--HG--
extra : rebase_source :
5fd93f1cf2916c987bfc4a4d410bf4a77afb2ac9
Robert Bradshaw [Sun, 17 Mar 2013 08:11:56 +0000 (01:11 -0700)]
fix compiler crash
Stefan Behnel [Sun, 17 Mar 2013 07:44:21 +0000 (08:44 +0100)]
fix crash in staticmethods without explicit positional argument (ticket 804)
Stefan Behnel [Sat, 16 Mar 2013 22:34:36 +0000 (23:34 +0100)]
improve error message on slice deletion
Stefan Behnel [Sat, 16 Mar 2013 22:06:43 +0000 (23:06 +0100)]
add test for absolute imports
Stefan Behnel [Sat, 16 Mar 2013 21:11:04 +0000 (22:11 +0100)]
use __Pyx_PyObject_GetAttrStr() in some more places
Stefan Behnel [Sat, 16 Mar 2013 20:55:28 +0000 (21:55 +0100)]
remove left-over code line
Stefan Behnel [Sat, 16 Mar 2013 20:13:25 +0000 (21:13 +0100)]
fix slicing in PyPy
Stefan Behnel [Sat, 16 Mar 2013 18:54:08 +0000 (19:54 +0100)]
minor code cleanup
Stefan Behnel [Sat, 16 Mar 2013 18:37:42 +0000 (19:37 +0100)]
honour wraparound option in object slicing code
Stefan Behnel [Sat, 16 Mar 2013 17:29:32 +0000 (18:29 +0100)]
avoid code duplication by generating List/Tuple_GetSlice utility code from a common template
Stefan Behnel [Sat, 16 Mar 2013 17:19:15 +0000 (18:19 +0100)]
avoid code duplication by generating GetSlice/SetSlice utility code from a common template
Stefan Behnel [Sat, 16 Mar 2013 16:39:05 +0000 (17:39 +0100)]
add tags to tests
Stefan Behnel [Sat, 16 Mar 2013 16:09:40 +0000 (17:09 +0100)]
fix passing explicit None slice indices into the getslice code, enable test case for ticket 636
--HG--
rename : tests/run/slice2_T636.pyx => tests/run/slice2_T636.py
Stefan Behnel [Sat, 16 Mar 2013 15:27:23 +0000 (16:27 +0100)]
changelog
Stefan Behnel [Sat, 16 Mar 2013 15:24:27 +0000 (16:24 +0100)]
implement correct slicing for setslice and delslice
--HG--
rename : tests/compile/delslice.pyx => tests/run/delslice.py
Stefan Behnel [Sat, 16 Mar 2013 14:46:46 +0000 (15:46 +0100)]
fix negative slice indices
Stefan Behnel [Sat, 16 Mar 2013 13:18:05 +0000 (14:18 +0100)]
fix ticket 636: build the correct slice objects on 2-value object slicing
Stefan Behnel [Sat, 16 Mar 2013 10:08:31 +0000 (11:08 +0100)]
clean up (Set|Del)ItemInt code and fix negative indexing of objects with length > max(Py_ssize_t)
Stefan Behnel [Sat, 16 Mar 2013 09:26:07 +0000 (10:26 +0100)]
clean up GetItemInt code and fix negative indexing of objects with length > max(Py_ssize_t)
Stefan Behnel [Fri, 15 Mar 2013 19:14:19 +0000 (20:14 +0100)]
support surrogates in unicode string literals in Py3.3