tag:blogger.com,1999:blog-3029438816324283001.post2376452240336112287..comments2018-02-17T10:48:35.354+00:00Comments on Coded Structure: The Dynamics of Catching Exceptions in PythonBen Basshttp://www.blogger.com/profile/02283998269313171389noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-3029438816324283001.post-85332517299713949992018-02-17T10:48:35.354+00:002018-02-17T10:48:35.354+00:00Just like unit testing, error handling and debuggi...Just like unit testing, error handling and debugging are underrated. Nice explanations and keep it up. :)Anonymoushttps://www.blogger.com/profile/04076286428351258979noreply@blogger.comtag:blogger.com,1999:blog-3029438816324283001.post-13408775735458648592013-05-10T07:47:39.084+01:002013-05-10T07:47:39.084+01:00@Michael: Although, proper unit tests should exerc...@Michael: Although, proper unit tests should exercise the exception handler and would have caught the error described above.Tartleyhttps://www.blogger.com/profile/00988846474826233422noreply@blogger.comtag:blogger.com,1999:blog-3029438816324283001.post-45989932570699850362013-05-04T01:53:11.854+01:002013-05-04T01:53:11.854+01:00One word...
pylint
Unit testing is not a substit...One word...<br /><br />pylint<br /><br />Unit testing is not a substitute for static analysis. In Java and C# the compiler does static analysis for you (and the IDE) but in Python you need to run pylint in your build process.Michaelhttps://www.blogger.com/profile/01003708499024714910noreply@blogger.comtag:blogger.com,1999:blog-3029438816324283001.post-59300639782036885542013-05-03T01:57:06.208+01:002013-05-03T01:57:06.208+01:00Didn't know this before!!!
BTW, in the machin...Didn't know this before!!!<br /><br />BTW, in the machine code, SETUP_EXCEPT jumps to the `else` part directly, how does it know when an exception happens?Anonymoushttps://www.blogger.com/profile/16563595391792820948noreply@blogger.com