<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gom68</author_name>
  <author_url>https://blog.hatena.ne.jp/gom68/</author_url>
  <blog_title>gom68の日記</blog_title>
  <blog_url>https://gom.hatenablog.com/</blog_url>
  <categories>
    <anon>python</anon>
  </categories>
  <description>Decoratorのサンプルを書いている時に、Python2.6と 3.1 の両方でやってみた。 その時にはまった変更点を2つメモ。 print が構文から関数に変更されている #python 3.1 print 'hoge' #=&gt; Error! print('hoge') #=&gt; hoge func_X の関数が __X__に変更されている unc_Xとは関数オブジェクトのinspectを行う関数の集まり。 func_Xと名づけられていた関数の属性は、__X__というフォームに改称されました。古いfunc_X形式の名前は関数の属性の名前空間は、ユーザが定義する属性(名)として解放されました…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgom.hatenablog.com%2Fentry%2F20090812%2F1250089816&quot; title=&quot;Python3.0で変わった事2つ - gom68の日記&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>2009-08-12 00:10:16</published>
  <title>Python3.0で変わった事2つ</title>
  <type>rich</type>
  <url>https://gom.hatenablog.com/entry/20090812/1250089816</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
