<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hirogl_python</author_name>
  <author_url>https://blog.hatena.ne.jp/hirogl_python/</author_url>
  <blog_title>hirogl python日記</blog_title>
  <blog_url>https://hirogl-python.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>どうもここら辺の知識がないので理解できてないっぽい。 http://www.python.jp/doc/release/ref/datamodel.html こっちも見て勉強しとこう。 def no_new_attributes(wrapped_setattr): &quot;&quot;&quot; 新しい属性を追加しようとするとエラーを吐くが、 既存の属性に新しい値をセットすることは許す &quot;&quot;&quot; def __setattr__(self,name,value): if hasattr(self,name): # 新規属性ではない。セット許可 wrapped_setattr(self,name,value) else: …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhirogl-python.hatenadiary.org%2Fentry%2F20100427%2F1272333151&quot; title=&quot;属性の設定を制限 - hirogl python日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-04-27 10:52:31</published>
  <title>属性の設定を制限</title>
  <type>rich</type>
  <url>https://hirogl-python.hatenadiary.org/entry/20100427/1272333151</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
