{"id":1718,"date":"2008-04-30T13:37:51","date_gmt":"2008-04-30T17:37:51","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=1718"},"modified":"2008-04-30T13:37:54","modified_gmt":"2008-04-30T17:37:54","slug":"how-super-in-python-3-works","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2008\/04\/30\/how-super-in-python-3-works\/","title":{"rendered":"How super() in Python 3 Works"},"content":{"rendered":"<p><a href=\"http:\/\/lucumr.pocoo.org\/cogitations\/2008\/04\/30\/how-super-in-python3-works-and-why-its-retarded\/\">Armin Ronacher<\/a>:<\/p>\n<blockquote cite=\"http:\/\/lucumr.pocoo.org\/cogitations\/2008\/04\/30\/how-super-in-python3-works-and-why-its-retarded\/\"><p>In the last weeks something remarkable happened in the Python3 sources: self kinda became implicit. Not in function definitions, but in super calls. But not only self: also the class passed to <code>super<\/code>. That&rsquo;s remarkable because it means that the language shifts into a completely different direction.<\/p><\/blockquote>\n<p>I&rsquo;m generally not a fan of magic, but I don&rsquo;t really see the problem with adding an abbreviated form for the most common uses of <code>super<\/code>. That it was so verbose before always seemed to me to be a wart on an otherwise clean language.<\/p>","protected":false},"excerpt":{"rendered":"<p>Armin Ronacher: In the last weeks something remarkable happened in the Python3 sources: self kinda became implicit. Not in function definitions, but in super calls. But not only self: also the class passed to super. That&rsquo;s remarkable because it means that the language shifts into a completely different direction. I&rsquo;m generally not a fan of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-1718","post","type-post","status-publish","format-standard","hentry","category-programming-category"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/1718","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=1718"}],"version-history":[{"count":0,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/1718\/revisions"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=1718"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=1718"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=1718"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}