{"id":272,"date":"2018-01-16T14:53:01","date_gmt":"2018-01-16T14:53:01","guid":{"rendered":"https:\/\/chaquo.com\/chaquopy\/?p=272"},"modified":"2018-01-16T14:53:41","modified_gmt":"2018-01-16T14:53:41","slug":"chaquopy-version-1-3-0","status":"publish","type":"post","link":"https:\/\/chaquo.com\/chaquopy\/chaquopy-version-1-3-0\/","title":{"rendered":"Chaquopy version 1.3.0"},"content":{"rendered":"<p>This version focuses on improving Python standard library functionality:<\/p>\n<ul class=\"simple\">\n<li>The following things now return reasonable values:\u00a0<code class=\"code docutils literal\"><span class=\"pre\">sys.argv<\/span><\/code>,\u00a0<code class=\"code docutils literal\"><span class=\"pre\">sys.executable<\/span><\/code>, and\u00a0<code class=\"code docutils literal\"><span class=\"pre\">platform.platform()<\/span><\/code>.<\/li>\n<li>The following modules now work correctly: sqlite3, ssl (<a class=\"reference external\" href=\"https:\/\/github.com\/chaquo\/chaquopy\/issues\/23\">#23<\/a>), and tempfile. (Requires python.version to be 2.7.14 or 3.6.3.)<\/li>\n<li><code>sys.stdout<\/code> and <code>sys.stderr<\/code> are now directed to the Android logcat.<\/li>\n<\/ul>\n<p>It also adds the following feature:<\/p>\n<div id=\"id1\" class=\"section\">\n<ul>\n<li><code class=\"code docutils literal\"><span class=\"pre\">extractPackages<\/span><\/code> allows code which uses\u00a0<code>__file__<\/code> to work unchanged. It is used by default for\u00a0<a class=\"reference external\" href=\"https:\/\/pypi.python.org\/pypi\/certifi\">certifi<\/a>.<\/li>\n<\/ul>\n<\/div>\n<div id=\"id3\" class=\"section\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>This version focuses on improving Python standard library functionality: The following things now return reasonable values:\u00a0sys.argv,\u00a0sys.executable, and\u00a0platform.platform(). The following modules now work correctly: sqlite3, ssl (#23), and tempfile. (Requires python.version to be 2.7.14 or 3.6.3.) sys.stdout and sys.stderr are now directed to the Android logcat. It also adds the following feature: extractPackages allows code which [&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\/272"}],"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=272"}],"version-history":[{"count":3,"href":"https:\/\/chaquo.com\/chaquopy\/wp-json\/wp\/v2\/posts\/272\/revisions"}],"predecessor-version":[{"id":275,"href":"https:\/\/chaquo.com\/chaquopy\/wp-json\/wp\/v2\/posts\/272\/revisions\/275"}],"wp:attachment":[{"href":"https:\/\/chaquo.com\/chaquopy\/wp-json\/wp\/v2\/media?parent=272"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chaquo.com\/chaquopy\/wp-json\/wp\/v2\/categories?post=272"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chaquo.com\/chaquopy\/wp-json\/wp\/v2\/tags?post=272"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}