Accepting request 1088863 from devel:languages:python
- Update to 3.0.0~b3: * Features added * Custom buffer slot methods are now supported in the Limited C-API of Python 3.9+. Patch by Lisandro Dalcin. (Github issue :issue:`5422`) * The extern "C" and extern "C++" markers that Cython generates for public functions can now be controlled by setting the C macro CYTHON_EXTERN_C. * The Python int handling code was adapted to make use of the new PyLong internals in CPython 3.12. (Github issue :issue:`5353`) * Conversion of Python ints to C int128 is now always supported, although slow if dedicated C-API support is missing (_PyLong_AsByteArray()), specifically in the Limited C-API. (Github issue :issue:`5419`) * The exception handling code was adapted to CPython 3.12. (Github issue :issue:`5442`) * The dataclass implementation was adapted to support Python 3.12. (Github issue :issue:`5346`) * The normal @dataclasses.dataclass and @functools.total_ordering decorators can now be used on extension types. Using the corresponding @cython.* deorators with automatically turn a Python class into an extension type (no need for @cclass). (Github issue :issue:`5292`) * Multiplying a sequence by a C integer avoids creating an intermediate Python integer. * ctuples can now be assigned from arbitrary sequences, not just Python tuples. * A new directive embedsignature.format was added to select the format of the docstring embedded signatures between python, c and argument clinic. Patch by Lisandro Dalcin. (Github issue :issue:`5415`) * Some invalid directive usages are now detected and rejected, e.g. using @ccall together with @cfunc, and applying @cfunc to a @ufunc. Cython also warns now when a directive is applies needlessly. (Github issue :issue:`5399` et al.) OBS-URL: https://build.opensuse.org/request/show/1088863 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Cython3?expand=0&rev=3
This commit is contained in:
commit
73cd5f0bd7
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:6c4280656579e924c119447247664bb22fafedc7decca593a8ea20bdd57d6755
|
|
||||||
size 2648917
|
|
3
Cython-3.0.0b3.tar.gz
Normal file
3
Cython-3.0.0b3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:af2625f47355416b559ce36a576bcc26e6b3e797e83978166734185c42ea6ddc
|
||||||
|
size 2667256
|
@ -1,3 +1,80 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 24 15:04:47 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Update to 3.0.0~b3:
|
||||||
|
* Features added
|
||||||
|
* Custom buffer slot methods are now supported in the Limited C-API of
|
||||||
|
Python 3.9+. Patch by Lisandro Dalcin. (Github issue :issue:`5422`)
|
||||||
|
* The extern "C" and extern "C++" markers that Cython generates for public
|
||||||
|
functions can now be controlled by setting the C macro CYTHON_EXTERN_C.
|
||||||
|
* The Python int handling code was adapted to make use of the new PyLong
|
||||||
|
internals in CPython 3.12. (Github issue :issue:`5353`)
|
||||||
|
* Conversion of Python ints to C int128 is now always supported, although
|
||||||
|
slow if dedicated C-API support is missing (_PyLong_AsByteArray()),
|
||||||
|
specifically in the Limited C-API. (Github issue :issue:`5419`)
|
||||||
|
* The exception handling code was adapted to CPython 3.12. (Github
|
||||||
|
issue :issue:`5442`)
|
||||||
|
* The dataclass implementation was adapted to support Python 3.12. (Github
|
||||||
|
issue :issue:`5346`)
|
||||||
|
* The normal @dataclasses.dataclass and @functools.total_ordering
|
||||||
|
decorators can now be used on extension types. Using the corresponding
|
||||||
|
@cython.* deorators with automatically turn a Python class into an
|
||||||
|
extension type (no need for @cclass). (Github issue :issue:`5292`)
|
||||||
|
* Multiplying a sequence by a C integer avoids creating an intermediate
|
||||||
|
Python integer.
|
||||||
|
* ctuples can now be assigned from arbitrary sequences, not just Python
|
||||||
|
tuples.
|
||||||
|
* A new directive embedsignature.format was added to select the format
|
||||||
|
of the docstring embedded signatures between python, c and argument
|
||||||
|
clinic. Patch by Lisandro Dalcin. (Github issue :issue:`5415`)
|
||||||
|
* Some invalid directive usages are now detected and rejected, e.g. using
|
||||||
|
@ccall together with @cfunc, and applying @cfunc to a @ufunc. Cython also
|
||||||
|
warns now when a directive is applies needlessly. (Github issue
|
||||||
|
:issue:`5399` et al.)
|
||||||
|
* Unicode identifier names now allow all letters defined in CPython 3.12.
|
||||||
|
* Bugs fixed
|
||||||
|
* Some C compile failures in CPython 3.12.0a6/a7 were resolved.
|
||||||
|
* Cascaded comparisons between integer constants and Python types could
|
||||||
|
fail to compile. (Github issue :issue:`5354`)
|
||||||
|
* The internal macro __PYX_IS_UNSIGNED was accidentally duplicated in
|
||||||
|
beta 2 which lead to C compile errors. Patch by 0dminnimda. (Github
|
||||||
|
issue :issue:`5356`)
|
||||||
|
* Memoryviews with typedef item types could fail to match the non-typedef
|
||||||
|
item types. Patch by Yue Yang. (Github issue :issue:`5373`)
|
||||||
|
* Fused memory views could raise a TypeError instead of a ValueError on
|
||||||
|
creation. Patch by Matúš Valo. (Github issue :issue:`5401`)
|
||||||
|
* Cython could crash when finding import files with dots in their
|
||||||
|
names. Patch by Matúš Valo. (Github issue :issue:`5396`)
|
||||||
|
* Selecting a context manager in parentheses and then calling it directly
|
||||||
|
failed to parse. (Github issue :issue:`5403`)
|
||||||
|
* __qualname__ and __module__ were not available inside of class
|
||||||
|
bodies. (Github issue :issue:`4447`)
|
||||||
|
* noexcept was not automatically applied to function pointer attributes in
|
||||||
|
extern structs. Patch by Matúš Valo. (Github issue :issue:`5359`)
|
||||||
|
* Function signatures containing a type like tuple[()] could not be
|
||||||
|
printed. Patch by Lisandro Dalcin. (Github issue :issue:`5355`)
|
||||||
|
* Extension type hierarchies were generated in the wrong order, thus
|
||||||
|
leading to compile issues. Patch by Lisandro Dalcin. (Github issue
|
||||||
|
:issue:`5395`)
|
||||||
|
* Using the --working option could lead to sources not being found. Patch
|
||||||
|
by Lisandro Dalcin. (Github issue :issue:`5365`)
|
||||||
|
* Some C compiler warnings were resolved. Patches by Matt Tyson,
|
||||||
|
Lisandro Dalcin, Philipp Wagner, Matti Picus et al. (Github issues
|
||||||
|
:issue:`5417`, :issue:`5418`, :issue:`5421`, :issue:`5437`,
|
||||||
|
:issue:`5438`, :issue:`5443`)
|
||||||
|
* Includes all bug-fixes and features from the 0.29 maintenance branch up
|
||||||
|
to the :ref:`0.29.35` release.
|
||||||
|
* Other changes
|
||||||
|
* For-loops now release the internal reference to their list/tuple
|
||||||
|
iterable before instead of after the else: clause. This probably has no
|
||||||
|
practical impact. (Github issue :issue:`5347`)
|
||||||
|
* Simple tuple types like (int, int) are no longer accepted in Python
|
||||||
|
annotations and require the Python notation instead (e.g.
|
||||||
|
tuple[cython.int, cython.int]). (Github issue :issue:`5397`)
|
||||||
|
* The code except +nogil (declaring a C++ exception handler function
|
||||||
|
called nogil) is now rejected because it is almost certainly a typo
|
||||||
|
from except + nogil. (Github issue :issue:`5430`)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon May 22 08:52:15 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Mon May 22 08:52:15 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -18,9 +18,9 @@
|
|||||||
|
|
||||||
%bcond_with test
|
%bcond_with test
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
%define pversion 3.0.0b2
|
%define pversion 3.0.0b3
|
||||||
Name: python-Cython3
|
Name: python-Cython3
|
||||||
Version: 3.0.0~b2
|
Version: 3.0.0~b3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: The Cython compiler for writing C extensions for the Python language
|
Summary: The Cython compiler for writing C extensions for the Python language
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
|
Loading…
Reference in New Issue
Block a user