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
1ceb3a3d
Commit
1ceb3a3d
authored
Mar 11, 2019
by
Lisa Roach
Committed by
GitHub
Mar 11, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bpo-35132: Fixes missing target in gdb pep0393 check. (GH-11848)
parent
d9bd8ec2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
Misc/NEWS.d/next/Tools-Demos/2019-03-04-02-09-09.bpo-35132.1R_pnL.rst
...next/Tools-Demos/2019-03-04-02-09-09.bpo-35132.1R_pnL.rst
+1
-0
Tools/gdb/libpython.py
Tools/gdb/libpython.py
+1
-1
No files found.
Misc/NEWS.d/next/Tools-Demos/2019-03-04-02-09-09.bpo-35132.1R_pnL.rst
0 → 100644
View file @
1ceb3a3d
Fix py-list and py-bt commands of python-gdb.py on gdb7.
\ No newline at end of file
Tools/gdb/libpython.py
View file @
1ceb3a3d
...
...
@@ -1178,7 +1178,7 @@ class PyUnicodeObjectPtr(PyObjectPtr):
def
proxyval
(
self
,
visited
):
global
_is_pep393
if
_is_pep393
is
None
:
fields
=
gdb
.
lookup_type
(
'PyUnicodeObject'
).
target
().
fields
()
fields
=
gdb
.
lookup_type
(
'PyUnicodeObject'
).
fields
()
_is_pep393
=
'data'
in
[
f
.
name
for
f
in
fields
]
if
_is_pep393
:
# Python 3.3 and newer
...
...
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