Task #7760
Story #3944: DataONE Python products
Look into using repr() instead of str() for serializing exceptions
Start date:
2016-05-03
Due date:
% Done:
100%
Story Points:
Sprint:
Description
Using str() to serialize exceptions can fail in various scenarios. It seems to be generally accepted that it's safer to use repr(), which also includes the type of the exception. Investigate and possibly switch over in the Python stack.
History
#1 Updated by Roger Dahl almost 6 years ago
- % Done changed from 0 to 100
- Status changed from New to Closed
Resolved with Python 3 as both repr() and str() returns native Unicode strings.