{"id":2318,"date":"2022-10-13T08:30:31","date_gmt":"2022-10-13T12:30:31","guid":{"rendered":"https:\/\/shirishranjit.com\/blog1\/?page_id=2318"},"modified":"2022-10-13T08:30:32","modified_gmt":"2022-10-13T12:30:32","slug":"python-exception-handling","status":"publish","type":"page","link":"https:\/\/shirishranjit.com\/blog1\/python-references\/python-exception-handling","title":{"rendered":"Python Exception Handling"},"content":{"rendered":"\n<p>Python has evolved to include good exception handling and flow. The exception hierarchy is very clean and make logical sense<\/p>\n\n\n\n<p>This simplified version of exception categories make it easier to do the proper implementation of the exception handling in the system.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">References<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>Good description on python exception handling, <a href=\"https:\/\/docs.python.org\/3\/whatsnew\/3.3.html?highlight=exception\">https:\/\/docs.python.org\/3\/whatsnew\/3.3.html?highlight=exception<\/a><\/li><li>Python Language Reference on Exception handling, <a href=\"https:\/\/docs.python.org\/3\/c-api\/exceptions.html?highlight=exception\">https:\/\/docs.python.org\/3\/c-api\/exceptions.html?highlight=exception<\/a><\/li><li>Python Built in exceptions, this has exception hierarchy, <a href=\"https:\/\/docs.python.org\/3\/library\/exceptions.html?highlight=exception#exception-hierarchy\">https:\/\/docs.python.org\/3\/library\/exceptions.html?highlight=exception#exception-hierarchy<\/a><\/li><li><\/li><\/ul>\n<div class=\"twttr_buttons\"><div class=\"twttr_twitter\">\n\t\t\t\t\t<a href=\"http:\/\/twitter.com\/share?text=Python+Exception+Handling\" class=\"twitter-share-button\" data-via=\"\" data-hashtags=\"\"  data-size=\"default\" data-url=\"https:\/\/shirishranjit.com\/blog1\/python-references\/python-exception-handling\"  data-related=\"\" target=\"_blank\">Tweet<\/a>\n\t\t\t\t<\/div><div class=\"twttr_followme\">\n\t\t\t\t\t\t<a href=\"https:\/\/twitter.com\/shiranjit\" class=\"twitter-follow-button\" data-size=\"default\"  data-show-screen-name=\"false\"  target=\"_blank\">Follow me<\/a>\n\t\t\t\t\t<\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Python has evolved to include good exception handling and flow. The exception hierarchy is very clean and make logical sense This simplified version of exception categories make it easier to do the proper implementation of the exception handling in the &hellip; <a href=\"https:\/\/shirishranjit.com\/blog1\/python-references\/python-exception-handling\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"parent":935,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-2318","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/shirishranjit.com\/blog1\/wp-json\/wp\/v2\/pages\/2318"}],"collection":[{"href":"https:\/\/shirishranjit.com\/blog1\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/shirishranjit.com\/blog1\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/shirishranjit.com\/blog1\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/shirishranjit.com\/blog1\/wp-json\/wp\/v2\/comments?post=2318"}],"version-history":[{"count":1,"href":"https:\/\/shirishranjit.com\/blog1\/wp-json\/wp\/v2\/pages\/2318\/revisions"}],"predecessor-version":[{"id":2319,"href":"https:\/\/shirishranjit.com\/blog1\/wp-json\/wp\/v2\/pages\/2318\/revisions\/2319"}],"up":[{"embeddable":true,"href":"https:\/\/shirishranjit.com\/blog1\/wp-json\/wp\/v2\/pages\/935"}],"wp:attachment":[{"href":"https:\/\/shirishranjit.com\/blog1\/wp-json\/wp\/v2\/media?parent=2318"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}