{"id":198,"date":"2017-07-28T20:11:02","date_gmt":"2017-07-28T20:11:02","guid":{"rendered":"https:\/\/chaquo.com\/chaquopy\/?p=198"},"modified":"2017-12-11T18:00:04","modified_gmt":"2017-12-11T18:00:04","slug":"chaquopy-version-0-3-0","status":"publish","type":"post","link":"https:\/\/chaquo.com\/chaquopy\/chaquopy-version-0-3-0\/","title":{"rendered":"Chaquopy version 0.3.0"},"content":{"rendered":"<p>This version adds several conveniences to make using Java from Python more seamless:<\/p>\n<ul>\n<li>The Java class hierarchy is now reflected in Python, so <code>isinstance<\/code> and <code>issubclass<\/code> now work correctly with Java classes and objects.<\/li>\n<li>Java exceptions are now represented as objects of their actual type rather than a generic <code>JavaException<\/code> class. In conjunction with the previous point, this means that standard Python <code>try ... except<\/code> syntax can now be used to catch Java exceptions.<\/li>\n<li>Python &#8220;unbound method&#8221; syntax is now supported for Java objects, e.g.\u00a0<code>ClassName.method(instance, args)<\/code>.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>This version adds several conveniences to make using Java from Python more seamless: The Java class hierarchy is now reflected in Python, so isinstance and issubclass now work correctly with Java classes and objects. Java exceptions are now represented as objects of their actual type rather than a generic JavaException class. In conjunction with the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/chaquo.com\/chaquopy\/wp-json\/wp\/v2\/posts\/198"}],"collection":[{"href":"https:\/\/chaquo.com\/chaquopy\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/chaquo.com\/chaquopy\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/chaquo.com\/chaquopy\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/chaquo.com\/chaquopy\/wp-json\/wp\/v2\/comments?post=198"}],"version-history":[{"count":2,"href":"https:\/\/chaquo.com\/chaquopy\/wp-json\/wp\/v2\/posts\/198\/revisions"}],"predecessor-version":[{"id":240,"href":"https:\/\/chaquo.com\/chaquopy\/wp-json\/wp\/v2\/posts\/198\/revisions\/240"}],"wp:attachment":[{"href":"https:\/\/chaquo.com\/chaquopy\/wp-json\/wp\/v2\/media?parent=198"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chaquo.com\/chaquopy\/wp-json\/wp\/v2\/categories?post=198"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chaquo.com\/chaquopy\/wp-json\/wp\/v2\/tags?post=198"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}