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
ff15b2f7
Commit
ff15b2f7
authored
Apr 19, 2015
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix sharing of Generator type across modules
parent
5c85653f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
CHANGES.rst
CHANGES.rst
+2
-0
Cython/Utility/Generator.c
Cython/Utility/Generator.c
+1
-1
No files found.
CHANGES.rst
View file @
ff15b2f7
...
...
@@ -14,6 +14,8 @@ Bugs fixed
* Tracing exception handling code could enter the trace function with an active
exception set.
* The internal generator function type was not shared across modules.
* Comparisons of (inferred) ctuples failed to compile.
* Using ``const`` C++ references in intermediate parts of longer expressions
...
...
Cython/Utility/Generator.c
View file @
ff15b2f7
...
...
@@ -703,7 +703,7 @@ static PyTypeObject __pyx_GeneratorType_type = {
static
__pyx_GeneratorObject
*
__Pyx_Generator_New
(
__pyx_generator_body_t
body
,
PyObject
*
closure
,
PyObject
*
name
,
PyObject
*
qualname
)
{
__pyx_GeneratorObject
*
gen
=
PyObject_GC_New
(
__pyx_GeneratorObject
,
&
__pyx_GeneratorType_t
ype
);
PyObject_GC_New
(
__pyx_GeneratorObject
,
__pyx_GeneratorT
ype
);
if
(
gen
==
NULL
)
return
NULL
;
...
...
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