projects
/
test_jj.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a2f2d9
)
libstdc++: Fix std::error_code pretty printer for versioned namespace
author
Jonathan Wakely
<jwakely@redhat.com>
Wed, 5 Jan 2022 14:06:43 +0000
(14:06 +0000)
committer
Jonathan Wakely
<jwakely@redhat.com>
Wed, 5 Jan 2022 14:17:50 +0000
(14:17 +0000)
libstdc++-v3/ChangeLog:
* python/libstdcxx/v6/printers.py (StdErrorCodePrinter): Strip
versioned namespace from the type name that is printed.
libstdc++-v3/python/libstdcxx/v6/printers.py
patch
|
blob
|
history
diff --git
a/libstdc++-v3/python/libstdcxx/v6/printers.py
b/libstdc++-v3/python/libstdcxx/v6/printers.py
index
44f1148
..
b3f4956
100644
(file)
--- a/
libstdc++-v3/python/libstdcxx/v6/printers.py
+++ b/
libstdc++-v3/python/libstdcxx/v6/printers.py
@@
-1522,7
+1522,7
@@
class StdErrorCodePrinter:
def __init__ (self, typename, val):
self.val = val
- self.typename =
typename
+ self.typename =
strip_versioned_namespace(typename)
# Do this only once ...
if StdErrorCodePrinter._errno_categories is None:
StdErrorCodePrinter._errno_categories = ['generic']