{"id":117,"date":"2015-09-14T13:51:42","date_gmt":"2015-09-14T05:51:42","guid":{"rendered":"http:\/\/down.cdhaha.net\/?p=117"},"modified":"2015-09-14T13:51:42","modified_gmt":"2015-09-14T05:51:42","slug":"python","status":"publish","type":"post","link":"http:\/\/down.cdhaha.net\/?p=117","title":{"rendered":"Python 3.5.0 \/ 2.7.10"},"content":{"rendered":"<p><a href=\"http:\/\/www.python.org\/\" target=\"_blank\"><img decoding=\"async\" class=\"alignright\" title=\"Python\" src=\"wp-content\/uploads\/2009\/02\/python.gif\" alt=\"Python\" \/><\/a>Python\u662f\u4e00\u79cd\u9762\u5411\u5bf9\u8c61\u3001\u76f4\u8bd1\u5f0f\u8ba1\u7b97\u673a\u7a0b\u5e8f\u8bbe\u8ba1\u8bed\u8a00\uff0c\u4e5f\u662f\u4e00\u79cd\u529f\u80fd\u5f3a\u5927\u800c\u5b8c\u5584\u7684\u901a\u7528\u578b\u8bed\u8a00\uff0c\u5df2\u7ecf\u5177\u6709\u5341\u591a\u5e74\u7684\u53d1\u5c55\u5386\u53f2\uff0c\u6210\u719f\u4e14\u7a33\u5b9a\u3002<\/p>\n<p>\u8fd9\u79cd\u8bed\u8a00\u5177\u6709\u975e\u5e38\u7b80\u6377\u800c\u6e05\u6670\u7684\u8bed\u6cd5\u7279\u70b9\uff0c\u9002\u5408\u5b8c\u6210\u5404\u79cd\u9ad8\u5c42\u4efb\u52a1\uff0c\u51e0\u4e4e\u53ef\u4ee5\u5728\u6240\u6709\u7684\u64cd\u4f5c\u7cfb\u7edf\u4e2d\u8fd0\u884c\u3002\u76ee\u524d\uff0c\u57fa\u4e8e\u8fd9\u79cd\u8bed\u8a00\u7684\u76f8\u5173\u6280\u672f\u6b63\u5728\u98de\u901f\u7684\u53d1\u5c55\uff0c\u7528\u6237\u6570\u91cf\u6025\u5267\u6269\u5927\uff0c\u76f8\u5173\u7684\u8d44\u6e90\u975e\u5e38\u591a\u3002<\/p>\n<p>Python \u53ef\u4ee5\u5728 Windows, Linux\/Unix, Mac OS X, OS\/2, Amiga, Palm \u624b\u6301\u8bbe\u5907, \u548c Nokia \u624b\u673a\u4e0a\u8fd0\u884c\u3002\u540c\u65f6 Python \u4e5f\u53ef\u4ee5\u88ab\u79fb\u690d\u5230 Java \u548c .NET \u865a\u62df\u673a\u4e0a\u3002<br \/>\n<!--more--><\/p>\n<p>Python 3.5.0<br \/>\nPython 3.5.0 was released on September 13th, 2015.<\/p>\n<p>Major new features of the 3.5 series, compared to 3.4<br \/>\nAmong the new major new features and changes in the 3.5 release series are<\/p>\n<p>PEP 441, improved Python zip application support<br \/>\nPEP 448, additional unpacking generalizations<br \/>\nPEP 461, &#8220;%-formatting&#8221; for bytes and bytearray objects<br \/>\nPEP 465, a new operator (@) for matrix multiplication<br \/>\nPEP 471, os.scandir(), a fast new directory traversal function<br \/>\nPEP 475, adding support for automatic retries of interrupted system calls<br \/>\nPEP 479, change StopIteration handling inside generators<br \/>\nPEP 484, the typing module, a new standard for type annotations<br \/>\nPEP 485, math.isclose(), a function for testing approximate equality<br \/>\nPEP 486, making the Windows Python launcher aware of virtual environments<br \/>\nPEP 488, eliminating .pyo files<br \/>\nPEP 489, a new and improved mechanism for loading extension modules<br \/>\nPEP 492, coroutines with async and await syntax<\/p>\n<div class=\"but_down\"><a href=\"https:\/\/www.python.org\/ftp\/python\/3.5.0\/python-3.5.0-amd64.exe\"target=\"_blank\"><span>For Win X86\/X64<\/span><\/a><div class=\"clear\"><\/div><\/div>\n<div class=\"but_down\"><a href=\"http:\/\/www.python.org\/ftp\/python\/3.5.0\/python-3.5.0.amd64.msi\"target=\"_blank\"><span>For Win X86\/X64<\/span><\/a><div class=\"clear\"><\/div><\/div>\n<div class=\"but_down\"><a href=\"https:\/\/www.python.org\/ftp\/python\/3.5.0\/python-3.5.0-macosx10.6.pkg\"target=\"_blank\"><span>For Linux Unix or OS X<\/span><\/a><div class=\"clear\"><\/div><\/div>\n<p>=================================================<\/p>\n<p>Python 2.7.10 \u7279\u6027\uff1a<br \/>\n        * \u6dfb\u52a0\u6709\u5e8f\u5b57\u5178\u7c7b\u578b<br \/>\n        * \u65b0\u7684\u5355\u5143\u6d4b\u8bd5\u529f\u80fd\uff0c\u5305\u62ecskipping\u6d4b\u8bd5\uff0c\u65b0\u7684assert methods\uff0c\u548ctest discovery<br \/>\n        * \u66f4\u5feb\u7684IO\u6a21\u5757<br \/>\n        * \u81ea\u52a8\u5728str.format()\u5b57\u6bb5\u7f16\u53f7<br \/>\n        * Float repr improvements backported from 3.x<br \/>\n        * \u4e3aTkinter\u6dfb\u52a0Tile\u652f\u6301<br \/>\n        * A backport of the memoryview object from 3.x<br \/>\n        * \u8bbe\u5b9a\u6587\u5b57<br \/>\n        * Set and dictionary comprehensions<br \/>\n        * \u65b0\u7684\u8bed\u6cd5\u548c\u8bed\u53e5\u7684\u5d4c\u5957<br \/>\n        * The sysconfig module<\/p>\n<div class=\"but_down\"><a href=\"http:\/\/www.python.org\/ftp\/python\/2.7.10\/python-2.7.10.msi\"target=\"_blank\"><span>For Win X86<\/span><\/a><div class=\"clear\"><\/div><\/div>\n<div class=\"but_down\"><a href=\"http:\/\/www.python.org\/ftp\/python\/2.7.10\/python-2.7.10.amd64.msi\"target=\"_blank\"><span>For Win X86\/X64<\/span><\/a><div class=\"clear\"><\/div><\/div>\n<div class=\"but_down\"><a href=\"http:\/\/www.python.org\/ftp\/python\/2.7.10\/Python-2.7.10.tgz\"target=\"_blank\"><span>For Linux Unix or OS X<\/span><\/a><div class=\"clear\"><\/div><\/div>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>Python\u662f\u4e00\u79cd\u9762\u5411\u5bf9\u8c61\u3001\u76f4\u8bd1\u5f0f\u8ba1\u7b97\u673a\u7a0b\u5e8f\u8bbe\u8ba1\u8bed\u8a00\uff0c\u4e5f\u662f\u4e00\u79cd\u529f\u80fd\u5f3a\u5927\u800c\u5b8c\u5584\u7684\u901a\u7528\u578b\u8bed\u8a00\uff0c\u5df2\u7ecf\u5177\u6709\u5341\u591a\u5e74\u7684\u53d1\u5c55\u5386\u53f2\uff0c\u6210\u719f\u4e14\u7a33\u5b9a\u3002 \u8fd9\u79cd\u8bed\u8a00\u5177\u6709\u975e\u5e38\u7b80\u6377\u800c\u6e05\u6670\u7684\u8bed\u6cd5\u7279\u70b9\uff0c\u9002\u5408\u5b8c\u6210\u5404\u79cd\u9ad8\u5c42\u4efb\u52a1\uff0c\u51e0\u4e4e\u53ef\u4ee5\u5728\u6240\u6709\u7684\u64cd\u4f5c\u7cfb\u7edf\u4e2d\u8fd0\u884c\u3002\u76ee\u524d\uff0c\u57fa\u4e8e\u8fd9\u79cd\u8bed\u8a00\u7684\u76f8\u5173\u6280\u672f\u6b63\u5728\u98de\u901f\u7684\u53d1\u5c55\uff0c\u7528\u6237\u6570\u91cf\u6025\u5267\u6269\u5927\uff0c\u76f8\u5173\u7684\u8d44\u6e90\u975e\u5e38\u591a\u3002 Python \u53ef\u4ee5\u5728 Windows, Linux\/Unix, Mac OS X, OS\/2, Amiga, Palm \u624b\u6301\u8bbe\u5907, \u548c Nokia \u624b\u673a\u4e0a\u8fd0\u884c\u3002\u540c\u65f6 Python \u4e5f\u53ef\u4ee5\u88ab\u79fb\u690d\u5230 Java \u548c&#8230;<!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[141],"tags":[115],"_links":{"self":[{"href":"http:\/\/down.cdhaha.net\/index.php?rest_route=\/wp\/v2\/posts\/117"}],"collection":[{"href":"http:\/\/down.cdhaha.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/down.cdhaha.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/down.cdhaha.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/down.cdhaha.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=117"}],"version-history":[{"count":0,"href":"http:\/\/down.cdhaha.net\/index.php?rest_route=\/wp\/v2\/posts\/117\/revisions"}],"wp:attachment":[{"href":"http:\/\/down.cdhaha.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=117"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/down.cdhaha.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=117"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/down.cdhaha.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=117"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}