<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>doloopwhile</author_name>
  <author_url>https://blog.hatena.ne.jp/doloopwhile/</author_url>
  <blog_title>None is None is None</blog_title>
  <blog_url>https://doloopwhile.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>個人的にfunctools.partialを気に入っています。itertoolsもそうですが、Pythonを関数型言語っぽく使えるので。 でも、残念ながら、functools.partialが返すものは厳密には関数じゃないみたいなんです。 前、どこかで見たのですが、メソッドにするときに、振る舞いの違いが露見するのです。 実際に確かめてみます。 from __future__ import with_statement, division, print_function from functools import partial class CallableClass(object): def …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdoloopwhile.hatenablog.com%2Fentry%2F20091023%2F1275174698&quot; title=&quot;メソッドに出来るもの - None is None is None&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-10-23 08:11:38</published>
  <title>メソッドに出来るもの</title>
  <type>rich</type>
  <url>https://doloopwhile.hatenablog.com/entry/20091023/1275174698</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
