Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
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
Kirill Smelkov
cpython
Commits
f72192c6
Commit
f72192c6
authored
Sep 09, 2016
by
Benjamin Peterson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove unconvincing use of Py_LOCAL
parent
fde028b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
Objects/typeobject.c
Objects/typeobject.c
+6
-6
No files found.
Objects/typeobject.c
View file @
f72192c6
...
@@ -549,7 +549,7 @@ type_get_bases(PyTypeObject *type, void *context)
...
@@ -549,7 +549,7 @@ type_get_bases(PyTypeObject *type, void *context)
static
PyTypeObject
*
best_base
(
PyObject
*
);
static
PyTypeObject
*
best_base
(
PyObject
*
);
static
int
mro_internal
(
PyTypeObject
*
,
PyObject
**
);
static
int
mro_internal
(
PyTypeObject
*
,
PyObject
**
);
Py_LOCAL_INLINE
(
int
)
type_is_subtype_base_chain
(
PyTypeObject
*
,
PyTypeObject
*
);
static
int
type_is_subtype_base_chain
(
PyTypeObject
*
,
PyTypeObject
*
);
static
int
compatible_for_assignment
(
PyTypeObject
*
,
PyTypeObject
*
,
const
char
*
);
static
int
compatible_for_assignment
(
PyTypeObject
*
,
PyTypeObject
*
,
const
char
*
);
static
int
add_subclass
(
PyTypeObject
*
,
PyTypeObject
*
);
static
int
add_subclass
(
PyTypeObject
*
,
PyTypeObject
*
);
static
int
add_all_subclasses
(
PyTypeObject
*
type
,
PyObject
*
bases
);
static
int
add_all_subclasses
(
PyTypeObject
*
type
,
PyObject
*
bases
);
...
@@ -1333,7 +1333,7 @@ static PyTypeObject *solid_base(PyTypeObject *type);
...
@@ -1333,7 +1333,7 @@ static PyTypeObject *solid_base(PyTypeObject *type);
/* type test with subclassing support */
/* type test with subclassing support */
Py_LOCAL_INLINE
(
int
)
static
int
type_is_subtype_base_chain
(
PyTypeObject
*
a
,
PyTypeObject
*
b
)
type_is_subtype_base_chain
(
PyTypeObject
*
a
,
PyTypeObject
*
b
)
{
{
do
{
do
{
...
@@ -3805,7 +3805,7 @@ import_copyreg(void)
...
@@ -3805,7 +3805,7 @@ import_copyreg(void)
return
PyImport_Import
(
copyreg_str
);
return
PyImport_Import
(
copyreg_str
);
}
}
Py_LOCAL
(
PyObject
*
)
static
PyObject
*
_PyType_GetSlotNames
(
PyTypeObject
*
cls
)
_PyType_GetSlotNames
(
PyTypeObject
*
cls
)
{
{
PyObject
*
copyreg
;
PyObject
*
copyreg
;
...
@@ -3858,7 +3858,7 @@ _PyType_GetSlotNames(PyTypeObject *cls)
...
@@ -3858,7 +3858,7 @@ _PyType_GetSlotNames(PyTypeObject *cls)
return
slotnames
;
return
slotnames
;
}
}
Py_LOCAL
(
PyObject
*
)
static
PyObject
*
_PyObject_GetState
(
PyObject
*
obj
,
int
required
)
_PyObject_GetState
(
PyObject
*
obj
,
int
required
)
{
{
PyObject
*
state
;
PyObject
*
state
;
...
@@ -4004,7 +4004,7 @@ _PyObject_GetState(PyObject *obj, int required)
...
@@ -4004,7 +4004,7 @@ _PyObject_GetState(PyObject *obj, int required)
return
state
;
return
state
;
}
}
Py_LOCAL
(
int
)
static
int
_PyObject_GetNewArguments
(
PyObject
*
obj
,
PyObject
**
args
,
PyObject
**
kwargs
)
_PyObject_GetNewArguments
(
PyObject
*
obj
,
PyObject
**
args
,
PyObject
**
kwargs
)
{
{
PyObject
*
getnewargs
,
*
getnewargs_ex
;
PyObject
*
getnewargs
,
*
getnewargs_ex
;
...
@@ -4100,7 +4100,7 @@ _PyObject_GetNewArguments(PyObject *obj, PyObject **args, PyObject **kwargs)
...
@@ -4100,7 +4100,7 @@ _PyObject_GetNewArguments(PyObject *obj, PyObject **args, PyObject **kwargs)
return
0
;
return
0
;
}
}
Py_LOCAL
(
int
)
static
int
_PyObject_GetItemsIter
(
PyObject
*
obj
,
PyObject
**
listitems
,
_PyObject_GetItemsIter
(
PyObject
*
obj
,
PyObject
**
listitems
,
PyObject
**
dictitems
)
PyObject
**
dictitems
)
{
{
...
...
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