Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • how would you handle an exception? let's say the add function was given and int and a str. would all the threads fail or would only one fail? Commented Mar 23, 2016 at 17:58
  • +1 for thinking like I do. Seriously - this is the least effort. And if you're coding in Python - your stuff should automatically be done in a class, so this is legit the most sensible way to go about this issue. Commented Jan 21, 2021 at 0:13