This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author abarry
Recipients Mr.Potato1029, abarry
Date 2015-12-07.22:53:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1449528830.2.0.730144531925.issue25819@psf.upfronthosting.co.za>
In-reply-to
Content
The reason you are experiencing this behviour is because of the way Python works. Python needs to compile your code before it can execute it. It parses the code, sees an invalid token ('print "Hi"'), fails to compile and throws an error. Your code never gets executed because Python is not able to compile it in the first place. Try adding a print call before the try-except block and you'll see it never gets executed either :)
History
Date User Action Args
2015-12-07 22:53:50abarrysetrecipients: + abarry, Mr.Potato1029
2015-12-07 22:53:50abarrysetmessageid: <1449528830.2.0.730144531925.issue25819@psf.upfronthosting.co.za>
2015-12-07 22:53:50abarrylinkissue25819 messages
2015-12-07 22:53:50abarrycreate