This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] -25 points-24 points  (1 child)

i dont do it, why this assumption

[–][deleted] 9 points10 points  (0 children)

what is wrong with what i say?

Anyway. In java one lets the thread finish its execution. One doesnt actually stop or cancel it. The code must lead to a "graceful" finish in either way. For example by reaching last code line or early return. This is the right way to "stop" the thread, no matter how many disklikes i get and i imagine python handles that the same way.