Overview

Request 1118251 superseded

- update to version 3.0.3:
* Features added
- More warnings were added to help users migrate and avoid bugs.
(Github issue #5650)
- A warning-like category for performance hints was added that
bypasses -Werror. (Github issue #5673)
- FastGIL now uses standard thread_local in C++. (Github issue
#5640)
- reference_wrapper was added to libcpp.functional. Patch by Vyas
Ramasubramani. (Github issue #5671)
- The cythonize command now supports the --cplus option known from
the cython command. (Github issue #5736)
* Bug fixed
- Performance regressions where the GIL was needlessly acquired
were fixed. (Github issues #5670, #5700)
- A reference leak for exceptions in Python 3.12 was resolved.
Patch by Eric Johnson. (Github issue #5724)
- fastcall calls with keyword arguments generated incorrect C
code. (Github issue #5665)
- Assigning the type converted result of a conditional (if-else)
expression to int or bool variables could lead to incorrect C
code. (Github issue #5731)
- Early (unlikely) failures in Python function wrappers no longer
set a traceback in order to simplify the C code flow. Being
mostly memory allocation errors, they probably would never have
created a traceback anyway. (Github issue #5681)
- Relative cimports from packages with __init__.py files could
fail. (Github issue #5715)
- Several issues with the Limited API support were resolved.
(Github issues #5641, #5648, #5689)
- The code generated for special-casing both Cython functions and
PyCFunctions was cleaned up to avoid calling C-API functions
that were not meant for the other type respectively. This could
previously trigger assertions in CPython debug builds and now
also plays better with the Limited API. (Github issues #4804,
#5739)
- Fix some C compiler warnings. Patches by Ralf Gommers, Oleksandr
Pavlyk, Sebastian Koslowski et al. (Github issues #5651, #5663,
#5668, #5717, #5726, #5734)
- Generating gdb debugging information failed when using generator
expressions. Patch by Oleksandr Pavlyk. (Github issue #5552)
- Passing a setuptools.Extension into cythonize() instead of a
distutils.Extension could make it miss the matching extensions.
- cython -M needlessly required distutils, which made it fail in
Python 3.12. (Github issue #5681)
* Other changes
- The visible deprecation warning for DEF was removed again since
it proved difficult for some users to migrate away from it. The
statement is still meant to be removed at some point (and thus,
like IF, should not be used in new code), but the time for
sunset is probably not around the corner. (Github issue #4310)
- The np_pythran option raise a DeprecationWarning if it receives
other values than True and False. This will eventually be
disallowed (in line with all other boolean options).


Request History
Daniel Garcia's avatar

dgarcia created request

- update to version 3.0.3:
* Features added
- More warnings were added to help users migrate and avoid bugs.
(Github issue #5650)
- A warning-like category for performance hints was added that
bypasses -Werror. (Github issue #5673)
- FastGIL now uses standard thread_local in C++. (Github issue
#5640)
- reference_wrapper was added to libcpp.functional. Patch by Vyas
Ramasubramani. (Github issue #5671)
- The cythonize command now supports the --cplus option known from
the cython command. (Github issue #5736)
* Bug fixed
- Performance regressions where the GIL was needlessly acquired
were fixed. (Github issues #5670, #5700)
- A reference leak for exceptions in Python 3.12 was resolved.
Patch by Eric Johnson. (Github issue #5724)
- fastcall calls with keyword arguments generated incorrect C
code. (Github issue #5665)
- Assigning the type converted result of a conditional (if-else)
expression to int or bool variables could lead to incorrect C
code. (Github issue #5731)
- Early (unlikely) failures in Python function wrappers no longer
set a traceback in order to simplify the C code flow. Being
mostly memory allocation errors, they probably would never have
created a traceback anyway. (Github issue #5681)
- Relative cimports from packages with __init__.py files could
fail. (Github issue #5715)
- Several issues with the Limited API support were resolved.
(Github issues #5641, #5648, #5689)
- The code generated for special-casing both Cython functions and
PyCFunctions was cleaned up to avoid calling C-API functions
that were not meant for the other type respectively. This could
previously trigger assertions in CPython debug builds and now
also plays better with the Limited API. (Github issues #4804,
#5739)
- Fix some C compiler warnings. Patches by Ralf Gommers, Oleksandr
Pavlyk, Sebastian Koslowski et al. (Github issues #5651, #5663,
#5668, #5717, #5726, #5734)
- Generating gdb debugging information failed when using generator
expressions. Patch by Oleksandr Pavlyk. (Github issue #5552)
- Passing a setuptools.Extension into cythonize() instead of a
distutils.Extension could make it miss the matching extensions.
- cython -M needlessly required distutils, which made it fail in
Python 3.12. (Github issue #5681)
* Other changes
- The visible deprecation warning for DEF was removed again since
it proved difficult for some users to migrate away from it. The
statement is still meant to be removed at some point (and thus,
like IF, should not be used in new code), but the time for
sunset is probably not around the corner. (Github issue #4310)
- The np_pythran option raise a DeprecationWarning if it receives
other values than True and False. This will eventually be
disallowed (in line with all other boolean options).


Ana Guerrero's avatar

anag+factory set openSUSE:Factory:Staging:J as a staging project

Being evaluated by staging project "openSUSE:Factory:Staging:J"


Ana Guerrero's avatar

anag+factory accepted review

Picked "openSUSE:Factory:Staging:J"


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Saul Goodman's avatar

licensedigger accepted review

ok


Ana Guerrero's avatar

anag+factory added factory-staging as a reviewer

Being evaluated by group "factory-staging"


Ana Guerrero's avatar

anag+factory accepted review

Unstaged from project "openSUSE:Factory:Staging:J"


Ana Guerrero's avatar

anag+factory set openSUSE:Factory:Staging:F as a staging project

Being evaluated by staging project "openSUSE:Factory:Staging:F"


Ana Guerrero's avatar

anag+factory accepted review

Picked "openSUSE:Factory:Staging:F"


Dominique Leuenberger's avatar

dimstar accepted review


openSUSE Build Service is sponsored by