Commit Graph

145 Commits

Author SHA256 Message Date
3f5d0156b6 Accepting request 813397 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/813397
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Cython?expand=0&rev=56
2020-06-21 16:49:14 +00:00
Tomáš Chvátal
e175f243ae Accepting request 813392 from home:polslinux:branches:devel:languages:python
- Update to 0.29.20
  * Nested try-except statements with multiple return statements
    could crash due to incorrect deletion of the except as target variable.
  * The @classmethod decorator no longer rejects unknown input from other decorators.
  * Fused types could leak into unrelated usages. Patch by David Woods.
  * Now uses Py_SET_SIZE() and Py_SET_REFCNT() in Py3.9+ to avoid
    low-level write access to these object field
  * The built-in abs() function could lead to undefined behaviour when used on
    the negative-most value of a signed C integer type
  * Usages of sizeof() and typeid() on uninitialised variables no longer produce a warning
  * The C++ typeid() function was allowed in C mode
  * The error position reported for errors found in f-strings was misleading
  * The new c_api_binop_methods directive was added for forward compatibility,
    but can only be set to True (the current default value). It can be disabled in Cython 3.0

OBS-URL: https://build.opensuse.org/request/show/813392
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cython?expand=0&rev=143
2020-06-11 07:18:31 +00:00
c005487b41 Accepting request 808048 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/808048
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Cython?expand=0&rev=55
2020-05-28 07:08:55 +00:00
Tomáš Chvátal
efb236c178 Accepting request 808014 from home:polslinux:branches:devel:languages:python
- Update to 0.29.19
  * Exception position reporting could run into race conditions on threaded code.
    It now uses function-local variables again.
  * Error handling early in the module init code could lead to a crash.
  * Error handling in cython.array creation was improved to avoid calling C-API
    functions with an error held.
  * A memory corruption was fixed when garbage collection was triggered during
    calls to PyType_Ready() of extension type subclasses. (Github issue #3603)
  * Memory view slicing generated unused error handling code which could negatively
    impact the C compiler optimisations for parallel OpenMP code etc.
    Also, it is now helped by static branch hints. (Github issue #2987)
  * Cython's built-in OpenMP functions were not translated inside of call arguments.
    Original patch by Celelibi and David Woods. (Github issue #3594)
  * Complex buffer item types of structs of arrays could fail to validate.
  * Decorators were not allowed on nested async def functions.
  * C-tuples could use invalid C struct casting. Patch by MegaIng.
  * Optimised %d string formatting into f-strings failed on float values.
  * Optimised aligned string formatting (%05s, %-5s) failed.
  * Three missing timedelta access macros were added in cpython.datetime.
  * The signature of the NumPy C-API function PyArray_SearchSorted() was fixed

OBS-URL: https://build.opensuse.org/request/show/808014
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cython?expand=0&rev=141
2020-05-21 18:34:28 +00:00
8d69826f18 Accepting request 799980 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/799980
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Cython?expand=0&rev=54
2020-05-04 16:32:59 +00:00
Tomáš Chvátal
612c74d703 Accepting request 799978 from home:jgrassler:branches:devel:languages:python
- update to 0.29.17
  * std::move() is now available from libcpp.utility.
  * The @cython.binding decorator is available in Python code.

OBS-URL: https://build.opensuse.org/request/show/799978
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cython?expand=0&rev=139
2020-05-04 07:49:30 +00:00
68c55a9aa4 Accepting request 794812 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/794812
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Cython?expand=0&rev=53
2020-04-22 18:41:58 +00:00
Tomáš Chvátal
a03a8bd939 Accepting request 794809 from home:mcalabkova:branches:devel:languages:python
- update to 0.29.16
  * Temporary internal variables in nested prange loops could leak into other
    threads.  Patch by Frank Schlimbach.  (Github issue #3348)
  * Default arguments on fused functions could crash.
    Patch by David Woods.  (Github issue #3370)
  * C-tuples declared in ``.pxd`` files could generate incomplete C code.
    Patch by Kirk Meyer.  (Github issue #1427)
  * Fused functions were not always detected and optimised as Cython
    implemented functions.
    Patch by David Woods.  (Github issue #3384)
  * Valid Python object concatenation of (iterable) strings to non-strings
    could fail with an exception.
    Patch by David Woods.  (Github issue #3433)
  * Using C functions as temporary values lead to invalid C code.
    Original patch by David Woods.  (Github issue #3418)
  * Fix an unhandled C++ exception in comparisons.
    Patch by David Woods.  (Github issue #3361)
  * Fix deprecated import of "imp" module.
    Patch by Matti Picus.  (Github issue #3350)
  * Fix compatibility with Pythran 0.9.6 and later.
    Patch by Serge Guelton.  (Github issue #3308)
  * The ``_Py_PyAtExit()`` function in ``cpython.pylifecycle`` was misdeclared.
    Patch by Zackery Spytz.  (Github issue #3382)
  * Several missing declarations in ``cpython.*`` were added.
    Patches by Zackery Spytz.  (Github issue #3452, #3421, #3411, #3402)
  * A declaration for ``libc.math.fpclassify()`` was added.
    Patch by Zackery Spytz.  (Github issue #2514)
  * Avoid "undeclared" warning about automatically generated pickle methods.
    Patch by David Woods.  (Github issue #3353)
  * Avoid C compiler warning about unreachable code in ``prange()``.

OBS-URL: https://build.opensuse.org/request/show/794809
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cython?expand=0&rev=137
2020-04-17 08:31:48 +00:00
b386a3eb60 Accepting request 775286 from devel:languages:python
- update to 0.29.15
 * Crash when returning a temporary Python object from an async-def function.
 * Crash when using **kwargs in generators.
 * Double reference free in __class__ cell handling for super() calls.
 * Compile error when using *args as Python class bases.
 * Fixed C name collision in the auto-pickle code
 * Deprecated import failed in Python 3.9

OBS-URL: https://build.opensuse.org/request/show/775286
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Cython?expand=0&rev=52
2020-02-22 18:02:28 +00:00
bbe3b628b2 - update to 0.29.15
* Crash when returning a temporary Python object from an async-def function.
 * Crash when using **kwargs in generators.
 * Double reference free in __class__ cell handling for super() calls.
 * Compile error when using *args as Python class bases.
 * Fixed C name collision in the auto-pickle code
 * Deprecated import failed in Python 3.9

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cython?expand=0&rev=135
2020-02-18 16:46:57 +00:00
562d370353 Accepting request 749103 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/749103
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Cython?expand=0&rev=51
2019-11-22 09:24:57 +00:00
Tomáš Chvátal
6a19e4f2e5 Accepting request 749066 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/749066
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cython?expand=0&rev=133
2019-11-17 07:47:15 +00:00
27f2ee8c7b Accepting request 718922 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/718922
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Cython?expand=0&rev=50
2019-07-30 11:06:29 +00:00
793fa1f07d Accepting request 718921 from home:mcepl:branches:devel:languages:python
Update

OBS-URL: https://build.opensuse.org/request/show/718921
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cython?expand=0&rev=131
2019-07-26 15:53:16 +00:00
1efd5b495c Accepting request 717369 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/717369
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cython?expand=0&rev=130
2019-07-21 17:20:04 +00:00
Tomáš Chvátal
a000430045 Accepting request 713761 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/713761
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cython?expand=0&rev=129
2019-07-07 20:04:47 +00:00
7f8276007a Accepting request 709360 from devel:languages:python
- Say goodbye to -doc subpackage as the documentation is online
  and does not build with latest sphinx releases (even in master
  at the moment).
- The testing in -doc spec was disabled anyway and if needed we
  will reintroduce it as a multibuild

- update to 0.29.10
 * Fix compile errors in CPython 3.8b1 due to the new "tp_vectorcall" slots.
 * Remove an incorrect cast when using true-division in C++ operations. 
 * C compile errors with CPython 3.8 were resolved. 
 * Python tuple constants that compare equal but have different item types
     could incorrectly be merged into a single constant.
 * Non-ASCII characters in unprefixed strings could crash the compiler
     when used with language level 3str
 * Starred expressions in %-formatting tuples could fail to compile for unicode strings
 * Passing Python class references through cython.inline() was broken.

OBS-URL: https://build.opensuse.org/request/show/709360
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Cython?expand=0&rev=49
2019-06-18 12:49:58 +00:00
Tomáš Chvátal
4dcb28e68f - Say goodbye to -doc subpackage as the documentation is online
and does not build with latest sphinx releases (even in master
  at the moment).
- The testing in -doc spec was disabled anyway and if needed we
  will reintroduce it as a multibuild

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cython?expand=0&rev=127
2019-06-12 09:44:09 +00:00
f3ba0066b5 - update to 0.29.10
* Fix compile errors in CPython 3.8b1 due to the new "tp_vectorcall" slots.
 * Remove an incorrect cast when using true-division in C++ operations. 
 * C compile errors with CPython 3.8 were resolved. 
 * Python tuple constants that compare equal but have different item types
     could incorrectly be merged into a single constant.
 * Non-ASCII characters in unprefixed strings could crash the compiler
     when used with language level 3str
 * Starred expressions in %-formatting tuples could fail to compile for unicode strings
 * Passing Python class references through cython.inline() was broken.

- update to 0.29.10
 * Fix compile errors in CPython 3.8b1 due to the new "tp_vectorcall" slots.
 * Remove an incorrect cast when using true-division in C++ operations. 
 * C compile errors with CPython 3.8 were resolved. 
 * Python tuple constants that compare equal but have different item types
     could incorrectly be merged into a single constant.
 * Non-ASCII characters in unprefixed strings could crash the compiler
     when used with language level 3str
 * Starred expressions in %-formatting tuples could fail to compile for unicode strings
 * Passing Python class references through cython.inline() was broken.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cython?expand=0&rev=126
2019-06-03 13:40:30 +00:00
6d63876b5d Accepting request 694800 from devel:languages:python
- update to 0.29.7
 * Crash when the shared Cython config module gets unloaded and another
    Cython module reports an exceptions. Cython now makes sure it keeps
    an owned reference to the module
 * Resolved a C89 compilation problem when enabling the fast-gil sharing feature.
 * Coverage reporting did not include the signature line of cdef functions
 * Casting a GIL-requiring function into a nogil function now issues a warning
 * Generators and coroutines were missing their return type annotation

- update to 0.29.7
 * Crash when the shared Cython config module gets unloaded and another
    Cython module reports an exceptions. Cython now makes sure it keeps
    an owned reference to the module
 * Resolved a C89 compilation problem when enabling the fast-gil sharing feature.
 * Coverage reporting did not include the signature line of cdef functions
 * Casting a GIL-requiring function into a nogil function now issues a warning
 * Generators and coroutines were missing their return type annotation

OBS-URL: https://build.opensuse.org/request/show/694800
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Cython?expand=0&rev=48
2019-04-18 07:55:35 +00:00
fdbdbba6e1 - update to 0.29.7
* Crash when the shared Cython config module gets unloaded and another
    Cython module reports an exceptions. Cython now makes sure it keeps
    an owned reference to the module
 * Resolved a C89 compilation problem when enabling the fast-gil sharing feature.
 * Coverage reporting did not include the signature line of cdef functions
 * Casting a GIL-requiring function into a nogil function now issues a warning
 * Generators and coroutines were missing their return type annotation

- update to 0.29.7
 * Crash when the shared Cython config module gets unloaded and another
    Cython module reports an exceptions. Cython now makes sure it keeps
    an owned reference to the module
 * Resolved a C89 compilation problem when enabling the fast-gil sharing feature.
 * Coverage reporting did not include the signature line of cdef functions
 * Casting a GIL-requiring function into a nogil function now issues a warning
 * Generators and coroutines were missing their return type annotation

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cython?expand=0&rev=124
2019-04-16 09:29:07 +00:00
9ad1676858 Accepting request 690772 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/690772
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Cython?expand=0&rev=47
2019-04-04 10:05:47 +00:00
Todd R
afeb14ed07 Accepting request 690771 from home:TheBlackCat:branches:devel:languages:python
Fix building of documentation

OBS-URL: https://build.opensuse.org/request/show/690771
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cython?expand=0&rev=122
2019-04-02 18:58:30 +00:00
940f462f87 Accepting request 680181 from devel:languages:python
- update to 0.29.6
 * Fix a crash when accessing the __kwdefaults__ special attribute of fused functions.
 * Fix the parsing of buffer format strings that contain numeric sizes, which
    could lead to incorrect input rejections.
 * Avoid a C #pragma in old gcc versions that was only added in GCC 4.6.
 * Auto-encoding of Unicode strings to UTF-8 C/C++ strings failed in Python 3,
    even though the default encoding there is UTF-8.
 * Crash when defining a Python subclass of an extension type and repeatedly
    calling a cpdef method on it.
 * Compiler crash when prange() loops appear inside of with-statements.
 * Some C compiler warnings were resolved.
 * Python conversion of C++ enums failed in 0.29.

- update to 0.29.6
 * Fix a crash when accessing the __kwdefaults__ special attribute of fused functions.
 * Fix the parsing of buffer format strings that contain numeric sizes, which
    could lead to incorrect input rejections.
 * Avoid a C #pragma in old gcc versions that was only added in GCC 4.6.
 * Auto-encoding of Unicode strings to UTF-8 C/C++ strings failed in Python 3,
    even though the default encoding there is UTF-8.
 * Crash when defining a Python subclass of an extension type and repeatedly
    calling a cpdef method on it.
 * Compiler crash when prange() loops appear inside of with-statements.
 * Some C compiler warnings were resolved.
 * Python conversion of C++ enums failed in 0.29.

OBS-URL: https://build.opensuse.org/request/show/680181
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Cython?expand=0&rev=46
2019-03-04 08:09:57 +00:00
3fb9ea088f - update to 0.29.6
* Fix a crash when accessing the __kwdefaults__ special attribute of fused functions.
 * Fix the parsing of buffer format strings that contain numeric sizes, which
    could lead to incorrect input rejections.
 * Avoid a C #pragma in old gcc versions that was only added in GCC 4.6.
 * Auto-encoding of Unicode strings to UTF-8 C/C++ strings failed in Python 3,
    even though the default encoding there is UTF-8.
 * Crash when defining a Python subclass of an extension type and repeatedly
    calling a cpdef method on it.
 * Compiler crash when prange() loops appear inside of with-statements.
 * Some C compiler warnings were resolved.
 * Python conversion of C++ enums failed in 0.29.

- update to 0.29.6
 * Fix a crash when accessing the __kwdefaults__ special attribute of fused functions.
 * Fix the parsing of buffer format strings that contain numeric sizes, which
    could lead to incorrect input rejections.
 * Avoid a C #pragma in old gcc versions that was only added in GCC 4.6.
 * Auto-encoding of Unicode strings to UTF-8 C/C++ strings failed in Python 3,
    even though the default encoding there is UTF-8.
 * Crash when defining a Python subclass of an extension type and repeatedly
    calling a cpdef method on it.
 * Compiler crash when prange() loops appear inside of with-statements.
 * Some C compiler warnings were resolved.
 * Python conversion of C++ enums failed in 0.29.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cython?expand=0&rev=120
2019-02-28 16:55:22 +00:00
Stephan Kulow
0dd0274df2 Accepting request 671992 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/671992
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Cython?expand=0&rev=45
2019-02-08 12:47:46 +00:00
Todd R
d8472d3d3f Accepting request 671991 from home:TheBlackCat:branches:devel:languages:python
- Update to 0.29.4
  * Division of numeric constants by a runtime value of 0 could fail to raise a
    ``ZeroDivisionError``.  (Github issue #2820)
- Update to 0.29.4
  * Division of numeric constants by a runtime value of 0 could fail to raise a
    ``ZeroDivisionError``.  (Github issue #2820)

OBS-URL: https://build.opensuse.org/request/show/671991
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cython?expand=0&rev=118
2019-02-06 00:45:58 +00:00
Stephan Kulow
0d67dd9914 Accepting request 667297 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/667297
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Cython?expand=0&rev=44
2019-02-04 20:22:05 +00:00
Tomáš Chvátal
230dcd8e91 Accepting request 667210 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/667210
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cython?expand=0&rev=116
2019-01-20 09:17:18 +00:00
Tomáš Chvátal
cea671f625 Accepting request 666797 from home:TheBlackCat:branches:devel:languages:python
- Update to 0.29.2
The latest version of Ceph now supports cython >= 0.29

OBS-URL: https://build.opensuse.org/request/show/666797
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cython?expand=0&rev=115
2019-01-18 10:28:33 +00:00
38b4fb85d6 Accepting request 655560 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/655560
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Cython?expand=0&rev=43
2018-12-10 11:27:50 +00:00
Tomáš Chvátal
e3eff3c3b3 Accepting request 655558 from home:smithfarm:branches:devel:languages:python
bsc#1118611

OBS-URL: https://build.opensuse.org/request/show/655558
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cython?expand=0&rev=113
2018-12-06 09:52:18 +00:00
Tomáš Chvátal
719140cf44 Accepting request 653376 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/653376
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cython?expand=0&rev=112
2018-12-02 09:12:52 +00:00
b51ad6897f Accepting request 642685 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/642685
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Cython?expand=0&rev=42
2018-10-25 06:08:51 +00:00
5dd8322f93 Accepting request 642682 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/642682
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cython?expand=0&rev=110
2018-10-17 16:16:33 +00:00
b3a0733fe3 Accepting request 628791 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/628791
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Cython?expand=0&rev=41
2018-09-18 09:41:53 +00:00
Tomáš Chvátal
18b6351963 Accepting request 628783 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/628783
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cython?expand=0&rev=108
2018-08-11 19:52:55 +00:00
3504fabbac Accepting request 622245 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/622245
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Cython?expand=0&rev=40
2018-07-18 20:35:45 +00:00
Tomáš Chvátal
2f02045f91 Accepting request 622191 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/622191
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cython?expand=0&rev=106
2018-07-12 07:18:09 +00:00
a00c89f210 Accepting request 612616 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/612616
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Cython?expand=0&rev=39
2018-05-30 09:40:55 +00:00
Tomáš Chvátal
a9b83c6dd5 Accepting request 612611 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/612611
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cython?expand=0&rev=104
2018-05-28 07:02:43 +00:00
3e7a6c9187 Accepting request 598790 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/598790
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Cython?expand=0&rev=38
2018-04-22 12:36:13 +00:00
Todd R
2399d78812 Accepting request 598789 from home:TheBlackCat:branches:devel:languages:python
- Version update to 0.28.2
  + Features added
    * ``abs()`` is faster for Python long objects.
    * The C++11 methods ``front()`` and ``end()`` were added to the declaration of
      ``libcpp.string``.  Patch by Alex Huszagh.  (Github issue #2123)
    * The C++11 methods ``reserve()`` and ``bucket_count()`` are declared for
      ``std::unordered_map``.  Patch by Valentin Valls.  (Github issue #2168)
  + Bugs fixed
    * The copy of a read-only memoryview was considered read-only as well, whereas
      a common reason to copy a read-only view is to make it writable.  The result
      of the copying is now a writable buffer by default.
      (Github issue #2134)
    * The ``switch`` statement generation failed to apply recursively to the body of
      converted if-statements.
    * ``NULL`` was sometimes rejected as exception return value when the returned
      type is a fused pointer type.
      Patch by Callie LeFave.  (Github issue #2177)
    * Fixed compatibility with PyPy 5.11.
      Patch by Matti Picus.  (Github issue #2165)
  + Other changes
    * The NumPy tutorial was rewritten to use memoryviews instead of the older
      buffer declaration syntax.
      Contributed by Gabriel de Marmiesse.  (Github issue #2162)
- Version update to 0.28.2
  + Features added
    * ``abs()`` is faster for Python long objects.
    * The C++11 methods ``front()`` and ``end()`` were added to the declaration of
      ``libcpp.string``.  Patch by Alex Huszagh.  (Github issue #2123)
    * The C++11 methods ``reserve()`` and ``bucket_count()`` are declared for
      ``std::unordered_map``.  Patch by Valentin Valls.  (Github issue #2168)
  + Bugs fixed
    * The copy of a read-only memoryview was considered read-only as well, whereas
      a common reason to copy a read-only view is to make it writable.  The result
      of the copying is now a writable buffer by default.
      (Github issue #2134)
    * The ``switch`` statement generation failed to apply recursively to the body of
      converted if-statements.
    * ``NULL`` was sometimes rejected as exception return value when the returned
      type is a fused pointer type.
      Patch by Callie LeFave.  (Github issue #2177)
    * Fixed compatibility with PyPy 5.11.
      Patch by Matti Picus.  (Github issue #2165)
  + Other changes
    * The NumPy tutorial was rewritten to use memoryviews instead of the older
      buffer declaration syntax.
      Contributed by Gabriel de Marmiesse.  (Github issue #2162)

OBS-URL: https://build.opensuse.org/request/show/598789
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cython?expand=0&rev=102
2018-04-19 17:43:25 +00:00
ff4eaf9dad Accepting request 593187 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/593187
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Cython?expand=0&rev=37
2018-04-05 13:28:42 +00:00
Tomáš Chvátal
12c047b806 Accepting request 593184 from home:aplanas:branches:devel:languages:python
- Fix README.rst name for the callback demo

OBS-URL: https://build.opensuse.org/request/show/593184
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cython?expand=0&rev=100
2018-04-03 11:44:39 +00:00
c01ff86ed9 Accepting request 588610 from devel:languages:python
- Version update to 0.28.1:
  * PyFrozenSet_New() was accidentally used in PyPy where it is lacking
    from the C-API.
  * Assignment between some C++ templated types were incorrectly rejected
    when the templates mix const with ctypedef. (Github issue #2148)
  * Undeclared C++ no-args constructors in subclasses could make the
    compilation fail if the base class constructor was declared without
    nogil. (Github issue #2157)
  * Bytes %-formatting inferred basestring (bytes or unicode) as result type
    in some cases where bytes would have been safe to infer. (Github issue #2153)
  * None was accidentally disallowed as typed return value of dict.pop().

- update to version 0.28:
  * Features added
    + Cdef classes can now multiply inherit from ordinary Python
      classes. (The primary base must still be a c class, possibly
      object, and the other bases must not be cdef classes.)
    + Type inference is now supported for Pythran compiled NumPy
      expressions. Patch by Nils Braun. (Github issue #1954)
    + The const modifier can be applied to memoryview declarations to
      allow read-only buffers as input. (Github issues #1605, #1869)
    + C code in the docstring of a cdef extern block is copied
      verbatimly into the generated file. Patch by Jeroen
      Demeyer. (Github issue #1915)
    + When compiling with gcc, the module init function is now tuned
      for small code size instead of whatever compile flags were
      provided externally. Cython now also disables some code
      intensive optimisations in that function to further reduce the
      code size. (Github issue #2102)
    + Decorating an async coroutine with @cython.iterable_coroutine

OBS-URL: https://build.opensuse.org/request/show/588610
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Cython?expand=0&rev=36
2018-03-22 10:56:09 +00:00
Tomáš Chvátal
5a29af3bc1 - Version update to 0.28.1:
* PyFrozenSet_New() was accidentally used in PyPy where it is lacking
    from the C-API.
  * Assignment between some C++ templated types were incorrectly rejected
    when the templates mix const with ctypedef. (Github issue #2148)
  * Undeclared C++ no-args constructors in subclasses could make the
    compilation fail if the base class constructor was declared without
    nogil. (Github issue #2157)
  * Bytes %-formatting inferred basestring (bytes or unicode) as result type
    in some cases where bytes would have been safe to infer. (Github issue #2153)
  * None was accidentally disallowed as typed return value of dict.pop().

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cython?expand=0&rev=98
2018-03-19 13:47:39 +00:00
Tomáš Chvátal
8bd8df40f8 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cython?expand=0&rev=97 2018-03-19 13:40:19 +00:00
Tomáš Chvátal
9fe781c4dd - Version update to 0.28.1:
* PyFrozenSet_New() was accidentally used in PyPy where it is lacking
    from the C-API.
  * Assignment between some C++ templated types were incorrectly rejected
    when the templates mix const with ctypedef. (Github issue #2148)
  * Undeclared C++ no-args constructors in subclasses could make the
    compilation fail if the base class constructor was declared without
    nogil. (Github issue #2157)
  * Bytes %-formatting inferred basestring (bytes or unicode) as result type
    in some cases where bytes would have been safe to infer. (Github issue #2153)
  * None was accidentally disallowed as typed return value of dict.pop().

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cython?expand=0&rev=96
2018-03-19 13:25:41 +00:00
Tomáš Chvátal
d147c0e395 Accepting request 588185 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/588185
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cython?expand=0&rev=95
2018-03-18 20:37:53 +00:00