python: Don't raise exception from Session.resume_data()
In practice, Session.resume_data() will be used without checking there is deferred data or not. Actually, there is no API to check this. So it is better not to raise exception. Instead return False to notify error. If the method succeeds, it returns True.
Showing
Please register or sign in to comment