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
ff1f8521
Commit
ff1f8521
authored
Aug 11, 2001
by
Tim Peters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
st_nested_scopes was uninitialized trash. Jeremy should fix in a better
way; see code comments.
parent
1cf0f175
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
Python/compile.c
Python/compile.c
+6
-0
No files found.
Python/compile.c
View file @
ff1f8521
...
...
@@ -4595,6 +4595,12 @@ symtable_init()
if
(
st
==
NULL
)
return
NULL
;
st
->
st_pass
=
1
;
/* XXX Tim: Jeremy deleted the next line and everything went to hell.
XXX It should probably get fixed by getting rid of st_nested_scopes
XXX entirely. */
st
->
st_nested_scopes
=
1
;
st
->
st_filename
=
NULL
;
if
((
st
->
st_stack
=
PyList_New
(
0
))
==
NULL
)
goto
fail
;
...
...
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