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
8a9cc526
Commit
8a9cc526
authored
Sep 30, 2012
by
Ezio Melotti
Browse files
Options
Browse Files
Download
Plain Diff
#15923: merge with 3.2.
parents
ffc3dee5
cb2916a7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
Misc/NEWS
Misc/NEWS
+3
-0
Parser/asdl_c.py
Parser/asdl_c.py
+1
-1
No files found.
Misc/NEWS
View file @
8a9cc526
...
...
@@ -99,6 +99,9 @@ Tests
Build
-----
- Issue #15923: fix a mistake in asdl_c.py that resulted in a TypeError after
2801bf875a24 (see #15801).
- Issue #15819: Make sure we can build Python out-of-tree from a readonly
source directory. (Somewhat related to Issue #9860.)
...
...
Parser/asdl_c.py
View file @
8a9cc526
...
...
@@ -1064,7 +1064,7 @@ class ObjVisitor(PickleVisitor):
self
.
emit
(
"case %s:"
%
t
.
name
,
2
)
self
.
emit
(
"Py_INCREF(%s_singleton);"
%
t
.
name
,
3
)
self
.
emit
(
"return %s_singleton;"
%
t
.
name
,
3
)
self
.
emit
(
"default:"
%
name
,
2
)
self
.
emit
(
"default:"
,
2
)
self
.
emit
(
'/* should never happen, but just in case ... */'
,
3
)
code
=
"PyErr_Format(PyExc_SystemError,
\
"
unknown %s found
\
"
);"
%
name
self
.
emit
(
code
,
3
,
reflow
=
False
)
...
...
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