projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2568ab0
)
looks like CPython can handle dict subtypes in kwargs calls
author
Stefan Behnel
<scoder@users.berlios.de>
Thu, 14 Jan 2010 08:09:03 +0000
(09:09 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Thu, 14 Jan 2010 08:09:03 +0000
(09:09 +0100)
Cython/Compiler/ExprNodes.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/ExprNodes.py
b/Cython/Compiler/ExprNodes.py
index f77e4e1fb6ddba3c486d970e83d779e4263173f0..6679002a51e441baaab9cb0f153665c3b5297d28 100644
(file)
--- a/
Cython/Compiler/ExprNodes.py
+++ b/
Cython/Compiler/ExprNodes.py
@@
-6442,7
+6442,7
@@
static PyObject* __Pyx_PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObj
impl = """
static PyObject* __Pyx_PyEval_CallObjectWithKeywords(PyObject *callable, PyObject *args, PyObject *kwargs) {
PyObject* result;
- if (likely(PyDict_Check
Exact
(kwargs))) {
+ if (likely(PyDict_Check(kwargs))) {
return PyEval_CallObjectWithKeywords(callable, args, kwargs);
} else {
PyObject* real_dict;