Project

General

Profile

Task #7760

Story #3944: DataONE Python products

Look into using repr() instead of str() for serializing exceptions

Added by Roger Dahl about 8 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
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 over 5 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.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)