{"id":159813,"date":"2020-09-22T22:57:24","date_gmt":"2020-09-22T14:57:24","guid":{"rendered":"http:\/\/4563.org\/?p=159813"},"modified":"2020-09-22T22:57:24","modified_gmt":"2020-09-22T14:57:24","slug":"%e5%bc%80%e4%b8%aa%e5%b8%96%e5%ad%90%ef%bc%8c%e4%b8%93%e9%97%a8%e5%86%99%ef%bc%88-python-%ef%bc%89bug-%e4%bb%a3%e7%a0%81%e3%80%82%e4%bb%85%e4%be%9b%e5%a8%b1-mai-%e4%b9%90-lei%ef%bc%88%e5%8f%82","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=159813","title":{"rendered":"\u5f00\u4e2a\u5e16\u5b50\uff0c\u4e13\u95e8\u5199\uff08 Python \uff09bug \u4ee3\u7801\u3002\u4ec5\u4f9b\u5a31 mai \u4e50 lei\uff08\u53c2\u8003\uff09\uff1b\u5e94\u8be5\u4f1a\u4e0d\u5b9a\u671f\u66f4\u65b0\u5728\u8bc4\u8bba\u533a"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u5f00\u4e2a\u5e16\u5b50\uff0c\u4e13\u95e8\u5199\uff08 Python \uff09bug \u4ee3\u7801\u3002\u4ec5\u4f9b\u5a31 mai \u4e50 lei\uff08\u53c2\u8003\uff09\uff1b\u5e94\u8be5\u4f1a\u4e0d\u5b9a\u671f\u66f4\u65b0\u5728\u8bc4\u8bba\u533a               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : oahebky <\/span>  <span><i><\/i> 2<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>rt.<\/p>\n<h2>\u5199 bug \u64cd\u7ec3       <\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>5<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"3441952\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : N1ckl32 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8ffd\u66f4                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3441953\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : no1xsyzy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5c31 bug 1 \u6765\u8bf4\uff0c\u4f60\u6ca1\u7528 super()<br \/>\u8fd9\u5728\u591a\u7ee7\u627f\u7684\u60c5\u51b5\u4e0b\u4f1a\u53d1\u751f bug<br \/>\u6bd4\u5982\u63a5\u4e0b\u6765<br \/>. class Mama:<br \/>. def __getattribute__(self, attr):<br \/>. return object.__getattribute__(self, attr)<br \/>. class Erzi(Mama, Baba):<br \/>. pass<br \/>\u4f60\u8fd9\u4e2a Baba \u5c31\u6ca1\u7528\u54af\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3441954\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : no1xsyzy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @no1xsyzy \u554a . \u4e0d\u80fd\u4fdd\u6301\u7a7a\u683c\uff0c\u6539\u6539<br \/>class Mama:<br \/>&#8230;.def __getattribute__(self, attr):<br \/>&#8230;&#8230;..return object.__getattribute__(self, attr)<br \/>class Erzi(Mama, Baba):<br \/>&#8230;.pass                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3441955\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : oahebky <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @no1xsyzy <\/p>\n<p>\u6709\u9053\u7406\u3002\u5199\u7684\u65f6\u5019\u300c\u5927\u8111\u6ca1\u6709\u5176\u5b83\u7a7a\u95f4\u300d\u8003\u8651\u8fd9\u4e2a\u95ee\u9898\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3441956\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : oahebky <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             ## \u5199 bug 4 &#8211; str \u7684\u53ef\u8fed\u4ee3\u7279\u6027\uff1b\u6ca1\u6709 ensure<\/p>\n<p>\u5177\u4f53\u4ee3\u7801\u5c31\u5148\u4e0d\u5199\u4e86\uff0c\u56e0\u4e3a\u300c\u5076\u5c14\u53d1\u751f\u300d+\u300c\u5408\u7406\u300d\u7684\u4f8b\u5b50\u4e0d\u5bb9\u6613\u60f3\uff1b<\/p>\n<p>\u4fe1\u606f\u90fd\u5728\u8fd9\u4e2a bug 4 \u6807\u9898\u91cc\u9762\u4e86\u3002<\/p>\n<p>\u5177\u4f53\u4f8b\u5b50\u6709\u7f18\u518d\u66f4\u65b0\u3002<\/p>\n<p>&#8212;&#8212;                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u5f00\u4e2a\u5e16\u5b50\uff0c\u4e13\u95e8\u5199\uff08 Python &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/159813"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=159813"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/159813\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=159813"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=159813"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=159813"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}