{"type":"rich","categories":[],"blog_url":"https://hirogl-python.hatenadiary.org/","title":"\u5c5e\u6027\u306e\u8a2d\u5b9a\u3092\u5236\u9650","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhirogl-python.hatenadiary.org%2Fentry%2F20100427%2F1272333151\" title=\"\u5c5e\u6027\u306e\u8a2d\u5b9a\u3092\u5236\u9650 - hirogl python\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2010-04-27 10:52:31","version":"1.0","provider_url":"https://hatena.blog","blog_title":"hirogl python\u65e5\u8a18","description":"\u3069\u3046\u3082\u3053\u3053\u3089\u8fba\u306e\u77e5\u8b58\u304c\u306a\u3044\u306e\u3067\u7406\u89e3\u3067\u304d\u3066\u306a\u3044\u3063\u307d\u3044\u3002 http://www.python.jp/doc/release/ref/datamodel.html \u3053\u3063\u3061\u3082\u898b\u3066\u52c9\u5f37\u3057\u3068\u3053\u3046\u3002 def no_new_attributes(wrapped_setattr): \"\"\" \u65b0\u3057\u3044\u5c5e\u6027\u3092\u8ffd\u52a0\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u30a8\u30e9\u30fc\u3092\u5410\u304f\u304c\u3001 \u65e2\u5b58\u306e\u5c5e\u6027\u306b\u65b0\u3057\u3044\u5024\u3092\u30bb\u30c3\u30c8\u3059\u308b\u3053\u3068\u306f\u8a31\u3059 \"\"\" def __setattr__(self,name,value): if hasattr(self,name): # \u65b0\u898f\u5c5e\u6027\u3067\u306f\u306a\u3044\u3002\u30bb\u30c3\u30c8\u8a31\u53ef wrapped_setattr(self,name,value) else: \u2026","author_name":"hirogl_python","url":"https://hirogl-python.hatenadiary.org/entry/20100427/1272333151","height":"190","author_url":"https://blog.hatena.ne.jp/hirogl_python/","provider_name":"Hatena Blog","image_url":null,"width":"100%"}