Skip to content

Commit 76cd3a7

Browse files
Add a note about why we kept NPENDINGCALLS.
1 parent 827273f commit 76cd3a7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Include/internal/pycore_ceval.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ struct _pending_call {
1919
struct _pending_call *next;
2020
};
2121

22+
// We technically do not need this limit around any longer since we
23+
// moved from a circular queue to a linked list. However, having a
24+
// size limit is still a good idea so we keep the one we already had.
2225
#define NPENDINGCALLS 32
2326

2427
struct _pending_calls {

0 commit comments

Comments
 (0)