Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c838e21

Browse filesBrowse files
authored
gh-133590: ensure that TableEntry.linenumber_borrow is initialized (#133681)
1 parent f91127a commit c838e21
Copy full SHA for c838e21

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎Python/stackrefs.c

Copy file name to clipboardExpand all lines: Python/stackrefs.c
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
#include "Python.h"
32

43
#include "pycore_object.h"
@@ -34,6 +33,7 @@ make_table_entry(PyObject *obj, const char *filename, int linenumber)
3433
result->filename = filename;
3534
result->linenumber = linenumber;
3635
result->filename_borrow = NULL;
36+
result->linenumber_borrow = 0;
3737
return result;
3838
}
3939

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.