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
0f47fa2c
Commit
0f47fa2c
authored
Dec 23, 2017
by
Andrew Svetlov
Committed by
Yury Selivanov
Dec 23, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bpo-32357: Use PySet_GET_SIZE macro in _is_coroutine() from _asynciomodule.c (#4990)
parent
ca9b36cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Modules/_asynciomodule.c
Modules/_asynciomodule.c
+1
-1
No files found.
Modules/_asynciomodule.c
View file @
0f47fa2c
...
...
@@ -138,7 +138,7 @@ _is_coroutine(PyObject *coro)
return
is_res_true
;
}
if
(
PySet_
Size
(
iscoroutine_typecache
)
<
100
)
{
if
(
PySet_
GET_SIZE
(
iscoroutine_typecache
)
<
100
)
{
/* Just in case we don't want to cache more than 100
positive types. That shouldn't ever happen, unless
someone stressing the system on purpose.
...
...
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