<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tatz_tsuchiya</author_name>
  <author_url>https://blog.hatena.ne.jp/tatz_tsuchiya/</author_url>
  <blog_title>勉強不足</blog_title>
  <blog_url>https://tatz-tsuchiya.hatenadiary.org/</blog_url>
  <categories>
    <anon>Python3</anon>
  </categories>
  <description>今回も前回のネタを引っ張ります。前回のvalidate_methodデコレータの問題点として継承して定義したクラスに使用すると継承元のメソッドまでチェックしてしまいうまく動きません。標準モジュールのクラスやサードパーティ製モジュールのクラスを継承することは良くあるはずなので問題があります。という訳でうまいこと回避したいんですけど参照しているメソッドがどのクラスで定義されてるかを取得する方法がわかりません。良い方法が見つからなかったんですけどpython3.3から入った__qualname__という変数を使えばなんとかなりそうです。 （PEP3155を見る限りでは使い方としてはそんなに間違ってな…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftatz-tsuchiya.hatenadiary.org%2Fentry%2F20130125%2F1359087422&quot; title=&quot;python3.3から入った__qualname__を使ってみる(前回の続き) - 勉強不足&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>2013-01-25 13:17:02</published>
  <title>python3.3から入った__qualname__を使ってみる(前回の続き)</title>
  <type>rich</type>
  <url>https://tatz-tsuchiya.hatenadiary.org/entry/20130125/1359087422</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
