<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Florian</author_name>
  <author_url>https://blog.hatena.ne.jp/Florian/</author_url>
  <blog_title>Florian’s NewestDiary</blog_title>
  <blog_url>https://florian.hatenadiary.org/</blog_url>
  <categories>
    <anon>Metasequoia</anon>
  </categories>
  <description>実行時エラーが起こった際、基本的には、「def」の中まで行数を追いかけてくれないという不思議仕様があるようです。 たとえば、先のスクリプトは、出力するチャンクごとにdefとしてメソッドを作っているのですが、メソッド内で実行時エラーが起こった際には、呼び出し元の行数が表示されるという……。 うわー、気分は判る(呼んだメソッドがビルトインか、スクリプト内か判らない)けど、使いづらいー(^^;)。Pythonってそういうものなのかなぁ。 ちなみに、悩んでいたエラーはnullオブジェクトに対するアクセスがどこで起こっているか判らなかったためです。いやー、MQDocument.objectのエレメントに…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fflorian.hatenadiary.org%2Fentry%2F20060825%2F1156497473&quot; title=&quot;Python上でのエラー行 - Florian’s NewestDiary&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>2006-08-25 18:17:53</published>
  <title>Python上でのエラー行</title>
  <type>rich</type>
  <url>https://florian.hatenadiary.org/entry/20060825/1156497473</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
