platform/upstream/python-cython.git
10 years agoworkaround: remove dependency on xml.sax.saxutils 83/16183/1 accepted/tizen/generic accepted/tizen_3.0.2014.q3_common accepted/tizen_3.0.m14.3_ivi accepted/tizen_3.0_common accepted/tizen_3.0_ivi accepted/tizen_5.5_unified_mobile_hotfix accepted/tizen_5.5_unified_wearable_hotfix accepted/tizen_common accepted/tizen_generic accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable sandbox/pcoval/tizen tizen_3.0 tizen_3.0.2014.q3_common tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common tizen_3.0.2015.q2_common tizen_3.0.m14.2_ivi tizen_3.0.m14.3_ivi tizen_3.0.m1_mobile tizen_3.0.m1_tv tizen_3.0.m2 tizen_3.0_ivi tizen_5.5_mobile_hotfix tizen_5.5_tv tizen_5.5_wearable_hotfix accepted/tizen/3.0/common/20161114.111546 accepted/tizen/3.0/ivi/20161011.062222 accepted/tizen/4.0/unified/20170816.012546 accepted/tizen/4.0/unified/20170828.221649 accepted/tizen/5.0/unified/20181102.030206 accepted/tizen/5.5/unified/20191031.013241 accepted/tizen/5.5/unified/mobile/hotfix/20201027.072232 accepted/tizen/5.5/unified/wearable/hotfix/20201027.104812 accepted/tizen/generic/20140213.094841 accepted/tizen/ivi/20160218.025802 accepted/tizen/mobile/20140227.070742 accepted/tizen/unified/20170309.040446 submit/tizen/20140213.083236 submit/tizen_3.0.m2/20170104.093754 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_ivi/20161010.000006 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170828.100007 submit/tizen_5.0/20181101.000007 submit/tizen_5.5/20191031.000008 submit/tizen_5.5_mobile_hotfix/20201026.185108 submit/tizen_5.5_wearable_hotfix/20201026.184308 submit/tizen_common/20140521.232441 submit/tizen_common/20140522.140947 submit/tizen_common/20151023.083358 submit/tizen_common/20151026.085049 submit/tizen_ivi/20140618.000000 submit/tizen_ivi/20140618.000002 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000007 submit/tizen_mobile/20141120.000000 submit/tizen_unified/20170308.100416 tizen_3.0.2014.q3_common_release tizen_3.0.m14.2_ivi_release tizen_3.0.m14.3_ivi_release tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release tizen_3.0_ivi_release tizen_4.0.IoT.p1_release tizen_4.0.IoT.p2_release tizen_4.0.m1_release tizen_4.0.m2_release tizen_5.5.m2_release
Philippe Coval [Thu, 6 Feb 2014 18:12:14 +0000 (19:12 +0100)]
workaround: remove dependency on xml.sax.saxutils

Bug-Tizen: TINF-370/part/3of3
Change-Id: I8255d67fe8dfd0d35a8db8c62ed3716dd75d0183
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
10 years agopackaging: use upstream tag 82/16182/1
Philippe Coval [Fri, 7 Feb 2014 15:15:11 +0000 (16:15 +0100)]
packaging: use upstream tag

Bug-Tizen: TINF-370/part/2of3
Change-Id: I55c23c9bb79d46785d00cf6368f57b7bcdc315df
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
10 years agoInitial Packaging on 0.20 81/16181/1
Philippe Coval [Thu, 6 Feb 2014 17:50:24 +0000 (18:50 +0100)]
Initial Packaging on 0.20

Inspired from :
https://build.opensuse.org/package/view_file/devel:languages:python/python-Cython/python-Cython.spec?expand=1

Bug-Tizen: TINF-370/part/1of3
Change-Id: I27a67023642ddd31690f3a96baa618016006ed06
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
10 years agoBump version to 0.20 0.20 upstream/0.20
Robert Bradshaw [Sat, 18 Jan 2014 22:09:03 +0000 (14:09 -0800)]
Bump version to 0.20

10 years agoBetter unused warning suppression.
Robert Bradshaw [Sat, 18 Jan 2014 22:06:49 +0000 (14:06 -0800)]
Better unused warning suppression.

The (k=k) can results in "multiple unsequenced modifications to 'kind'"
warning when this macro is expanded twice in the same expression.

10 years agoversion bump 0.20rc1
Robert Bradshaw [Thu, 16 Jan 2014 09:37:11 +0000 (01:37 -0800)]
version bump

10 years agoMerge branch '0.20.x'
Robert Bradshaw [Thu, 16 Jan 2014 08:06:12 +0000 (00:06 -0800)]
Merge branch '0.20.x'

10 years agoCompletely re-do out-of-order class declarations.
Robert Bradshaw [Thu, 16 Jan 2014 08:05:44 +0000 (00:05 -0800)]
Completely re-do out-of-order class declarations.

10 years agofix non-CPython C compile problem (variable declaration after code)
Stefan Behnel [Wed, 15 Jan 2014 21:29:23 +0000 (22:29 +0100)]
fix non-CPython C compile problem (variable declaration after code)

10 years agoavoid unused fallback code also for typed list unpacking
Stefan Behnel [Wed, 15 Jan 2014 21:19:10 +0000 (22:19 +0100)]
avoid unused fallback code also for typed list unpacking

10 years agoavoid generating lots of unused iteration fallback code for tuple unpacking
Stefan Behnel [Wed, 15 Jan 2014 21:15:17 +0000 (22:15 +0100)]
avoid generating lots of unused iteration fallback code for tuple unpacking

10 years agofix crash in Python object to C++ string conversion
Stefan Behnel [Wed, 15 Jan 2014 17:54:33 +0000 (18:54 +0100)]
fix crash in Python object to C++ string conversion

--HG--
extra : amend_source : 6a5e7668208a89296264b05bbfe7640514318a1d

10 years agoremove duplication of type analysis for base type tuple of Python classes (could...
Stefan Behnel [Tue, 14 Jan 2014 17:52:48 +0000 (18:52 +0100)]
remove duplication of type analysis for base type tuple of Python classes (could crash the compiler for non-trivial base class expressions)

10 years agoPy3 test fixes
Stefan Behnel [Tue, 14 Jan 2014 09:24:56 +0000 (10:24 +0100)]
Py3 test fixes

10 years agoRemove debugging.
Robert Bradshaw [Tue, 14 Jan 2014 09:09:26 +0000 (01:09 -0800)]
Remove debugging.

10 years agoFix cdef class ordering in the presence of pxi includes.
Robert Bradshaw [Tue, 14 Jan 2014 08:17:47 +0000 (00:17 -0800)]
Fix cdef class ordering in the presence of pxi includes.

10 years agoMerge branch 'master' into 0.20.x
Robert Bradshaw [Tue, 14 Jan 2014 06:31:59 +0000 (22:31 -0800)]
Merge branch 'master' into 0.20.x

10 years agoAvoid use of grep, ls on Windows
Robert Bradshaw [Tue, 14 Jan 2014 06:31:24 +0000 (22:31 -0800)]
Avoid use of grep, ls on Windows

10 years agoRemove use of symlink on Windows.
Robert Bradshaw [Tue, 14 Jan 2014 06:15:10 +0000 (22:15 -0800)]
Remove use of symlink on Windows.

10 years agoType inference comments, enable test.
Robert Bradshaw [Tue, 14 Jan 2014 06:02:10 +0000 (22:02 -0800)]
Type inference comments, enable test.

10 years agoversion bump
Robert Bradshaw [Tue, 14 Jan 2014 05:15:30 +0000 (21:15 -0800)]
version bump

10 years agofix (doc-)string usage in .pxd files
Stefan Behnel [Mon, 13 Jan 2014 21:02:37 +0000 (22:02 +0100)]
fix (doc-)string usage in .pxd files

10 years agofix some more potential C compiler warnings
Stefan Behnel [Mon, 13 Jan 2014 19:13:16 +0000 (20:13 +0100)]
fix some more potential C compiler warnings

10 years agouse inferred NameNode type for builtin types instead of more generic entry type
Stefan Behnel [Mon, 13 Jan 2014 18:48:47 +0000 (19:48 +0100)]
use inferred NameNode type for builtin types instead of more generic entry type

10 years agofix MSVC compiler warning
Stefan Behnel [Mon, 13 Jan 2014 13:04:47 +0000 (14:04 +0100)]
fix MSVC compiler warning

10 years agofix some C compiler warnings
Stefan Behnel [Mon, 13 Jan 2014 09:00:27 +0000 (10:00 +0100)]
fix some C compiler warnings

10 years agoexplicitly allow docstrings in .pxd files
Stefan Behnel [Mon, 13 Jan 2014 08:19:50 +0000 (09:19 +0100)]
explicitly allow docstrings in .pxd files

10 years agodoc update: present simple copy&paste cythonize() dummy when not regenerating C sourc...
Stefan Behnel [Sun, 12 Jan 2014 13:30:31 +0000 (14:30 +0100)]
doc update: present simple copy&paste cythonize() dummy when not regenerating C sources in setup.py

10 years agocall object.__new__() only when we expect an error due to an abstract class being...
Stefan Behnel [Sun, 12 Jan 2014 09:16:15 +0000 (10:16 +0100)]
call object.__new__() only when we expect an error due to an abstract class being instantiated

10 years agoMerge branch 'master' into 0.20.x 0.20b2
Robert Bradshaw [Sun, 12 Jan 2014 07:45:37 +0000 (23:45 -0800)]
Merge branch 'master' into 0.20.x

10 years agochangelog
Stefan Behnel [Sat, 11 Jan 2014 14:10:13 +0000 (15:10 +0100)]
changelog

10 years agoimplement another try-finally corner case (the Py3 way only for now!): reraising...
Stefan Behnel [Sat, 11 Jan 2014 14:07:41 +0000 (15:07 +0100)]
implement another try-finally corner case (the Py3 way only for now!): reraising a fresh exception in the finally clause

10 years agooptimise string-to-something comparisons also when we know that the result is boolean...
Stefan Behnel [Sat, 11 Jan 2014 07:27:30 +0000 (08:27 +0100)]
optimise string-to-something comparisons also when we know that the result is boolean (the cmp functions have a proper fallback for non-strings)

10 years agoextend test
Stefan Behnel [Sat, 11 Jan 2014 06:09:01 +0000 (07:09 +0100)]
extend test

10 years agoadd str comparison fallback to Py2 version of unicode comparison
Stefan Behnel [Fri, 10 Jan 2014 21:35:52 +0000 (22:35 +0100)]
add str comparison fallback to Py2 version of unicode comparison

10 years agooptimise x == basestring / basestring == x
Stefan Behnel [Fri, 10 Jan 2014 21:28:37 +0000 (22:28 +0100)]
optimise x == basestring / basestring == x

10 years agooptimise str == unicode / unicode == str in Py2
Stefan Behnel [Fri, 10 Jan 2014 21:22:52 +0000 (22:22 +0100)]
optimise str == unicode / unicode == str in Py2

10 years agorevert dynamic tp_new() override because it breaks instantiating types with arguments...
Stefan Behnel [Fri, 10 Jan 2014 17:11:31 +0000 (18:11 +0100)]
revert dynamic tp_new() override because it breaks instantiating types with arguments that object.__new__()/object.__init__() don't expect

10 years agoBacked out changeset d0470fb1d881
Stefan Behnel [Fri, 10 Jan 2014 17:09:22 +0000 (18:09 +0100)]
Backed out changeset d0470fb1d881

10 years agochangelog
Stefan Behnel [Fri, 10 Jan 2014 16:17:33 +0000 (17:17 +0100)]
changelog

10 years agoreuse object's tp_new() for simple extension types if possible to improve support...
Stefan Behnel [Fri, 10 Jan 2014 16:15:58 +0000 (17:15 +0100)]
reuse object's tp_new() for simple extension types if possible to improve support for multiple inheritance

10 years agochangelog
Stefan Behnel [Fri, 10 Jan 2014 12:18:27 +0000 (13:18 +0100)]
changelog

10 years agochangelog
Stefan Behnel [Fri, 10 Jan 2014 12:15:24 +0000 (13:15 +0100)]
changelog

10 years agofix set.add(some_tuple) in Py2.4
Stefan Behnel [Fri, 10 Jan 2014 12:10:36 +0000 (13:10 +0100)]
fix set.add(some_tuple) in Py2.4

10 years agomove set compatibility helpers into Builtins.c
Stefan Behnel [Fri, 10 Jan 2014 12:08:16 +0000 (13:08 +0100)]
move set compatibility helpers into Builtins.c

10 years agocall PyBaseObject_Type.tp_new() in tp_new() functions instead of tp_alloc() directly
Stefan Behnel [Fri, 10 Jan 2014 09:50:53 +0000 (10:50 +0100)]
call PyBaseObject_Type.tp_new() in tp_new() functions instead of tp_alloc() directly

10 years agofix ref-counting bug when writing traceback of unraisable exceptions
Stefan Behnel [Fri, 10 Jan 2014 09:49:39 +0000 (10:49 +0100)]
fix ref-counting bug when writing traceback of unraisable exceptions

10 years agoMerge branch 'master' into 0.20.x
Robert Bradshaw [Fri, 10 Jan 2014 02:57:14 +0000 (18:57 -0800)]
Merge branch 'master' into 0.20.x

10 years agomore verbose non-trivial declarators error
Robert Bradshaw [Fri, 10 Jan 2014 02:51:18 +0000 (18:51 -0800)]
more verbose non-trivial declarators error

10 years agoMerge pull request #270 from ohanar/special_method_docstring_guard
Robert Bradshaw [Wed, 8 Jan 2014 23:28:54 +0000 (15:28 -0800)]
Merge pull request #270 from ohanar/special_method_docstring_guard

Special method docstring guard

10 years agochangelog
Stefan Behnel [Tue, 7 Jan 2014 11:18:32 +0000 (12:18 +0100)]
changelog

--HG--
extra : amend_source : 95fc8a7afdf4614a3dfe7b9874d1ba8cd1bf9967

10 years agoUnraisable traceback docs.
Robert Bradshaw [Tue, 7 Jan 2014 10:21:25 +0000 (02:21 -0800)]
Unraisable traceback docs.

10 years agoTraceback on unraisable exceptions.
Robert Bradshaw [Tue, 7 Jan 2014 10:17:33 +0000 (02:17 -0800)]
Traceback on unraisable exceptions.

10 years agoCimported name mangling.
Robert Bradshaw [Tue, 7 Jan 2014 09:47:07 +0000 (01:47 -0800)]
Cimported name mangling.

10 years agoundo smart quotes
Robert Bradshaw [Tue, 7 Jan 2014 04:53:57 +0000 (20:53 -0800)]
undo smart quotes

10 years agoavoid wasting time on parsing pyregr test files for Cython tags
Stefan Behnel [Sun, 5 Jan 2014 12:13:03 +0000 (13:13 +0100)]
avoid wasting time on parsing pyregr test files for Cython tags

10 years agoPy2.4/5 fix
Stefan Behnel [Sun, 5 Jan 2014 07:20:42 +0000 (08:20 +0100)]
Py2.4/5 fix

10 years agore-enable relaxed_strides test for pre-1.8 NumPy versions
Stefan Behnel [Sat, 4 Jan 2014 21:57:55 +0000 (22:57 +0100)]
re-enable relaxed_strides test for pre-1.8 NumPy versions

10 years agowork around different NumPy 0.18 compile time configurations
Stefan Behnel [Sat, 4 Jan 2014 21:45:21 +0000 (22:45 +0100)]
work around different NumPy 0.18 compile time configurations

10 years agofix bytearray.append(ch) for non-ASCII 1-char strings in Py2 and extend test
Stefan Behnel [Sat, 4 Jan 2014 21:39:08 +0000 (22:39 +0100)]
fix bytearray.append(ch) for non-ASCII 1-char strings in Py2 and extend test

10 years agospecial case and optimise both PyInt and PyLong types in __Pyx_PyIndex_AsSsize_t()
Stefan Behnel [Sat, 4 Jan 2014 20:55:54 +0000 (21:55 +0100)]
special case and optimise both PyInt and PyLong types in __Pyx_PyIndex_AsSsize_t()

10 years agofix implicit integer downcast in __Pyx_PyByteArray_AppendObject() function
Stefan Behnel [Sat, 4 Jan 2014 20:44:26 +0000 (21:44 +0100)]
fix implicit integer downcast in __Pyx_PyByteArray_AppendObject() function

10 years agoremove outdated comment
Stefan Behnel [Sat, 4 Jan 2014 20:07:24 +0000 (21:07 +0100)]
remove outdated comment

--HG--
extra : rebase_source : 22e9602b4fa5ddfd4e9577610afe1635b482a86d

10 years agoUpdate docs about template functions.
Robert Bradshaw [Sat, 4 Jan 2014 05:09:13 +0000 (21:09 -0800)]
Update docs about template functions.

10 years agoBump version number. 0.20b1
Robert Bradshaw [Sat, 4 Jan 2014 04:38:02 +0000 (20:38 -0800)]
Bump version number.

10 years agofix test tag
Stefan Behnel [Fri, 3 Jan 2014 19:57:14 +0000 (20:57 +0100)]
fix test tag

10 years agowhitespace
Stefan Behnel [Fri, 3 Jan 2014 18:07:24 +0000 (19:07 +0100)]
whitespace

10 years agomake doctest output readable on error
Stefan Behnel [Fri, 3 Jan 2014 18:03:15 +0000 (19:03 +0100)]
make doctest output readable on error

10 years agoPy2.4/5 fix
Stefan Behnel [Fri, 3 Jan 2014 16:39:58 +0000 (17:39 +0100)]
Py2.4/5 fix

10 years agofix test tag
Stefan Behnel [Fri, 3 Jan 2014 15:55:13 +0000 (16:55 +0100)]
fix test tag

10 years agofix Cython warning
Stefan Behnel [Fri, 3 Jan 2014 13:43:14 +0000 (14:43 +0100)]
fix Cython warning

10 years agofix node subtree access in last change (use either local variable or attribute, not...
Stefan Behnel [Fri, 3 Jan 2014 13:32:32 +0000 (14:32 +0100)]
fix node subtree access in last change (use either local variable or attribute, not a mix)

10 years agobe another little more relaxed about temping in assignments (some things really are...
Stefan Behnel [Fri, 3 Jan 2014 13:22:31 +0000 (14:22 +0100)]
be another little more relaxed about temping in assignments (some things really are simple enough)

10 years agobe a little more relaxed about temping in assignments (looks like some things still...
Stefan Behnel [Fri, 3 Jan 2014 13:13:13 +0000 (14:13 +0100)]
be a little more relaxed about temping in assignments (looks like some things still can't be moved to a temp...)

10 years agotest to ensure special methods are properly guarded
R. Andrew Ohana [Fri, 3 Jan 2014 11:40:12 +0000 (01:40 -1000)]
test to ensure special methods are properly guarded

10 years agoadd tests for some evil cdef attribute assignments and fix them
Stefan Behnel [Fri, 3 Jan 2014 10:32:38 +0000 (11:32 +0100)]
add tests for some evil cdef attribute assignments and fix them

10 years agoadd guarding for special method docstrings
R. Andrew Ohana [Fri, 3 Jan 2014 09:44:47 +0000 (23:44 -1000)]
add guarding for special method docstrings

10 years agofix test tag
Stefan Behnel [Fri, 3 Jan 2014 08:37:49 +0000 (09:37 +0100)]
fix test tag

10 years agomake test runner bark at unknown tag names in test files
Stefan Behnel [Fri, 3 Jan 2014 08:34:45 +0000 (09:34 +0100)]
make test runner bark at unknown tag names in test files

10 years agoadd test tags
Stefan Behnel [Fri, 3 Jan 2014 08:28:21 +0000 (09:28 +0100)]
add test tags

10 years agofix test tags
Stefan Behnel [Fri, 3 Jan 2014 07:59:53 +0000 (08:59 +0100)]
fix test tags

--HG--
extra : amend_source : f77abd8de587ce3644f0bb7c98bd61f78fabf755

10 years agoremove some useless temping (not sure if it's needed at all, but lacks tests)
Stefan Behnel [Thu, 2 Jan 2014 21:13:22 +0000 (22:13 +0100)]
remove some useless temping (not sure if it's needed at all, but lacks tests)

10 years agocopy 'constant_result' field in from_node() method
Stefan Behnel [Thu, 2 Jan 2014 12:48:39 +0000 (13:48 +0100)]
copy 'constant_result' field in from_node() method

10 years agoimplement independent coercion of subexpressions for conditional if-else expression
Stefan Behnel [Thu, 2 Jan 2014 12:47:58 +0000 (13:47 +0100)]
implement independent coercion of subexpressions for conditional if-else expression

10 years agofix C comment in utility code that didn't get discarded from C code
Stefan Behnel [Thu, 2 Jan 2014 12:05:27 +0000 (13:05 +0100)]
fix C comment in utility code that didn't get discarded from C code

10 years agoavoid useless metaclass searching overhead when creating Python class without base...
Stefan Behnel [Wed, 1 Jan 2014 22:01:53 +0000 (23:01 +0100)]
avoid useless metaclass searching overhead when creating Python class without base classes

10 years agominor code simplification
Stefan Behnel [Wed, 1 Jan 2014 12:26:12 +0000 (13:26 +0100)]
minor code simplification

10 years agofix refnanny counting for StopIteration value in yield-from
Stefan Behnel [Wed, 1 Jan 2014 12:20:13 +0000 (13:20 +0100)]
fix refnanny counting for StopIteration value in yield-from

10 years agosupport non-types as Py2 metaclasses
Stefan Behnel [Wed, 1 Jan 2014 11:03:34 +0000 (12:03 +0100)]
support non-types as Py2 metaclasses

10 years agomake cname prefixes of cached constants unique by type (avoid overlap with C string...
Stefan Behnel [Tue, 31 Dec 2013 22:44:44 +0000 (23:44 +0100)]
make cname prefixes of cached constants unique by type (avoid overlap with C string constants)

10 years agotighten test assertion
Stefan Behnel [Tue, 31 Dec 2013 20:12:26 +0000 (21:12 +0100)]
tighten test assertion

10 years agofix control flow analysis for del-ing non-names
Stefan Behnel [Tue, 31 Dec 2013 19:53:09 +0000 (20:53 +0100)]
fix control flow analysis for del-ing non-names

10 years agooptimise dict.has_key()
Stefan Behnel [Tue, 31 Dec 2013 19:33:05 +0000 (20:33 +0100)]
optimise dict.has_key()

10 years agooptimise str % formatting
Stefan Behnel [Tue, 31 Dec 2013 18:13:43 +0000 (19:13 +0100)]
optimise str % formatting

10 years agochangelog
Stefan Behnel [Tue, 31 Dec 2013 15:25:36 +0000 (16:25 +0100)]
changelog

10 years agoremove test after removing the code it tests
Stefan Behnel [Tue, 31 Dec 2013 15:21:55 +0000 (16:21 +0100)]
remove test after removing the code it tests

10 years agoundo while loop termination change - didn't consider "break" ...
Stefan Behnel [Tue, 31 Dec 2013 14:39:31 +0000 (15:39 +0100)]
undo while loop termination change - didn't consider "break" ...

10 years agomerge
Stefan Behnel [Tue, 31 Dec 2013 14:22:35 +0000 (15:22 +0100)]
merge

10 years agomark infinite while loops as terminators when looking for unreachable code
Stefan Behnel [Tue, 31 Dec 2013 12:47:50 +0000 (13:47 +0100)]
mark infinite while loops as terminators when looking for unreachable code

10 years agoavoid some dead code in generator exit
Stefan Behnel [Tue, 31 Dec 2013 12:40:42 +0000 (13:40 +0100)]
avoid some dead code in generator exit