Python Forum
Why does this hang the system up
Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Why does this hang the system up
#1
Thiese two examples seem to hang up the system.

raise FoundException("""\n\nYour password is:\n%s""" % o)
there seems to be no def for it.

in another code example, there is a def and it looks like this:

class FoundException(Exception):
    pass
.
.
.
raise FoundException("""\n\nYour password is:\n%s""" % o)
if the program has reached the point to raise this exception, the program has done it's work and could be ended.

please suggest a way to handle this that will not hang the system up.
Reply


Messages In This Thread
Why does this hang the system up - by Able98 - Jun-07-2017, 07:59 PM
RE: Why does this hang the system up - by Ofnuts - Jun-07-2017, 08:25 PM
RE: Why does this hang the system up - by Able98 - Jun-08-2017, 12:39 AM
RE: Why does this hang the system up - by Ofnuts - Jun-08-2017, 08:01 AM
RE: Why does this hang the system up - by Able98 - Jun-08-2017, 11:44 AM
RE: Why does this hang the system up - by Ofnuts - Jun-08-2017, 12:38 PM
RE: Why does this hang the system up - by Able98 - Jun-08-2017, 01:02 PM
RE: Why does this hang the system up - by nilamo - Jun-08-2017, 04:46 PM
RE: Why does this hang the system up - by Able98 - Jun-08-2017, 07:07 PM
RE: Why does this hang the system up - by nilamo - Jun-09-2017, 12:16 AM
RE: Why does this hang the system up - by Able98 - Jun-09-2017, 08:29 AM
RE: Why does this hang the system up - by Able98 - Jun-09-2017, 09:03 PM
RE: Why does this hang the system up - by wavic - Jun-09-2017, 01:45 PM
RE: Why does this hang the system up - by Gil77 - Sep-01-2017, 11:40 AM
RE: Why does this hang the system up - by nilamo - Sep-02-2017, 09:50 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Difference between os.system("clear") and os.system("cls") chmsrohit 7 16,759 Jan-11-2021, 06:30 PM
Last Post: ykumar34
  multiprocess hang when certain number is used in the program esphi 7 3,272 Nov-06-2020, 03:49 PM
Last Post: esphi
Question Difference between Python's os.system and Perl's system command Agile741 13 6,967 Dec-02-2019, 04:41 PM
Last Post: Agile741
  Hang man game supermane 2 2,274 Aug-15-2018, 12:07 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020