Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
7ee7a39c
Commit
7ee7a39c
authored
Jun 04, 2020
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '0.29.x'
parents
cefaa652
8359cf76
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
CHANGES.rst
CHANGES.rst
+6
-0
Cython/Utility/CythonFunction.c
Cython/Utility/CythonFunction.c
+1
-2
tests/run/fused_types.pyx
tests/run/fused_types.pyx
+1
-0
No files found.
CHANGES.rst
View file @
7ee7a39c
...
...
@@ -454,6 +454,12 @@ Other changes
Bugs
fixed
----------
*
The
``@
classmethod
``
decorator
no
longer
rejects
unknown
input
from
other
decorators
.
Patch
by
David
Woods
.
(
Github
issue
#
3660
)
*
Fused
types
could
leak
into
unrelated
usages
.
Patch
by
David
Woods
.
(
Github
issue
#
3642
)
*
Now
uses
``
Py_SET_SIZE
()``
and
``
Py_SET_REFCNT
()``
in
Py3
.9
+
to
avoid
low
-
level
write
access
to
these
object
fields
.
Patch
by
Victor
Stinner
.
(
Github
issue
#
3639
)
...
...
Cython/Utility/CythonFunction.c
View file @
7ee7a39c
...
...
@@ -1484,8 +1484,7 @@ static PyObject* __Pyx_Method_ClassMethod(PyObject *method) {
// python classes
return
PyClassMethod_New
(
PyMethod_GET_FUNCTION
(
method
));
}
else
{
else
{
return
PyClassMethod_New
(
method
);
}
}
tests/run/fused_types.pyx
View file @
7ee7a39c
...
...
@@ -485,6 +485,7 @@ def test_fused_in_check():
print
(
in_check_2
[
float
,
double
](
1.0
,
2.0
))
print
(
in_check_3
[
float
](
1.0
))
### see GH3642 - presence of cdef inside "unrelated" caused a type to be incorrectly inferred
cdef
unrelated
(
cython
.
floating
x
):
cdef
cython
.
floating
t
=
1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment