This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] stop using string exceptions in printers.py


python/libstdcxx/v6/printers.py still uses string exceptions, not supported anymore in 2.6 and newer. Change printers.py to use a ValueError to raise the exception. Ok for the trunk and the active branches?

Matthias

Attachment: py.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]