Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
Pyston
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
Pyston
Commits
71ebba5c
Commit
71ebba5c
authored
Mar 16, 2016
by
Kevin Modzelewski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
I think these are ok
parent
a4ab3d50
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
3 deletions
+1
-3
src/capi/typeobject.cpp
src/capi/typeobject.cpp
+0
-1
src/runtime/objmodel.cpp
src/runtime/objmodel.cpp
+1
-1
src/runtime/types.cpp
src/runtime/types.cpp
+0
-1
No files found.
src/capi/typeobject.cpp
View file @
71ebba5c
...
...
@@ -873,7 +873,6 @@ static PyObject* call_attribute(PyObject* self, PyObject* attr, PyObject* name)
template
<
ExceptionStyle
S
,
Rewritable
rewritable
>
Box
*
slotTpGetattrHookInternal
(
Box
*
self
,
BoxedString
*
name
,
GetattrRewriteArgs
*
rewrite_args
,
bool
for_call
,
Box
**
bind_obj_out
,
RewriterVar
**
r_bind_obj_out
)
noexcept
(
S
==
CAPI
)
{
assert
(
0
&&
"check refcounting"
);
if
(
rewritable
==
NOT_REWRITABLE
)
{
assert
(
!
rewrite_args
);
rewrite_args
=
NULL
;
...
...
src/runtime/objmodel.cpp
View file @
71ebba5c
...
...
@@ -5452,7 +5452,7 @@ Box* compareInternal(Box* lhs, Box* rhs, int op_type, CompareRewriteArgs* rewrit
Box
*
rrtn
=
callattrInternal1
<
CXX
,
NOT_REWRITABLE
>
(
rhs
,
rop_name
,
CLASS_ONLY
,
NULL
,
ArgPassSpec
(
1
),
lhs
);
if
(
rrtn
!=
NULL
&&
rrtn
!=
NotImplemented
)
return
rrtn
;
Py_
DECREF
(
rrtn
);
Py_
XDECREF
(
rrtn
);
// in case it is NotImplemented
static
BoxedString
*
cmp_str
=
getStaticString
(
"__cmp__"
);
lrtn
=
callattrInternal1
<
CXX
,
NOT_REWRITABLE
>
(
lhs
,
cmp_str
,
CLASS_ONLY
,
NULL
,
ArgPassSpec
(
1
),
rhs
);
...
...
src/runtime/types.cpp
View file @
71ebba5c
...
...
@@ -616,7 +616,6 @@ static Box* typeTppCall(Box* self, CallRewriteArgs* rewrite_args, ArgPassSpec ar
static
Box
*
typeCallInternal
(
BoxedFunctionBase
*
f
,
CallRewriteArgs
*
rewrite_args
,
ArgPassSpec
argspec
,
Box
*
arg1
,
Box
*
arg2
,
Box
*
arg3
,
Box
**
args
,
const
std
::
vector
<
BoxedString
*>*
keyword_names
)
{
assert
(
0
&&
"check refcounting"
);
if
(
rewrite_args
)
assert
(
rewrite_args
->
func_guarded
);
...
...
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