<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>bellbind</author_name>
  <author_url>https://blog.hatena.ne.jp/bellbind/</author_url>
  <blog_title>ラシウラ</blog_title>
  <blog_url>https://bellbind.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>python-specfor · PyPI を作るとき、Python2.6と3.1を中心に書いてました。 これを2.5にも対応させたのですが、そのときその差が意外と大きかったのが新鮮だったのでメモ。 該コミットの一つ with文 2.5では、with文を有効にするには、そのファイルで__future__指定する必要があります。 from __future__ import with_statement これは今回の中で一番分かりやすかった違いですが、specfor自体がwith文を使わせるものであるため、そこそこ多くのファイルに埋めこむことになりました。 namedtuple collecti…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbellbind.hatenadiary.org%2Fentry%2F20100807%2F1281128913&quot; title=&quot;Python 2.6以降で作ったコードを 2.5へ対応するときに引っかかる点 - ラシウラ&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-08-07 06:08:33</published>
  <title>Python 2.6以降で作ったコードを 2.5へ対応するときに引っかかる点</title>
  <type>rich</type>
  <url>https://bellbind.hatenadiary.org/entry/20100807/1281128913</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
