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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gwenaël Samain
cython
Commits
8a910f47
Commit
8a910f47
authored
Jun 01, 2019
by
Pablo Galindo
Committed by
Stefan Behnel
Jun 01, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct code object invocation after semantic change of co_argcount for CPython 3.8b1 (GH-2980)
parent
364dcff3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Cython/Compiler/ExprNodes.py
Cython/Compiler/ExprNodes.py
+2
-2
No files found.
Cython/Compiler/ExprNodes.py
View file @
8a910f47
...
...
@@ -4729,7 +4729,7 @@ class MemoryCopyScalar(MemoryCopyNode):
idx
.
stop
.
is_none
and
idx
.
step
.
is_none
):
force_strided
=
True
slice_iter_obj
=
MemoryView
.
slice_iter
(
self
.
dst
.
type
,
dst_temp
,
self
.
dst
.
type
.
ndim
,
code
,
force_strided
=
force_strided
)
...
...
@@ -9574,7 +9574,7 @@ class CodeObjectNode(ExprNode):
code
.
putln
(
"%s = (PyObject*)__Pyx_PyCode_New(%d, %d, %d, %d, 0, %s, %s, %s, %s, %s, %s, %s, %s, %s, %d, %s); %s"
%
(
self
.
result_code
,
len
(
func
.
args
)
-
func
.
num_kwonly_args
-
func
.
num_posonly_args
,
# argcount
len
(
func
.
args
)
-
func
.
num_kwonly_args
,
# argcount
func
.
num_posonly_args
,
# posonlyargcount (Py3.8+ only)
func
.
num_kwonly_args
,
# kwonlyargcount (Py3 only)
len
(
self
.
varnames
.
args
),
# nlocals
...
...
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