﻿<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
	<id>https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=Dev%3A2.4%2FSource%2FPython%2FMethod_Deprecation</id>
	<title>Dev:2.4/Source/Python/Method Deprecation - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=Dev%3A2.4%2FSource%2FPython%2FMethod_Deprecation"/>
	<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Dev:2.4/Source/Python/Method_Deprecation&amp;action=history"/>
	<updated>2026-06-02T04:04:31Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=Dev:2.4/Source/Python/Method_Deprecation&amp;diff=41938&amp;oldid=prev</id>
		<title>Yamyam: 1版 をインポートしました</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Dev:2.4/Source/Python/Method_Deprecation&amp;diff=41938&amp;oldid=prev"/>
		<updated>2018-06-28T17:45:17Z</updated>

		<summary type="html">&lt;p&gt;1版 をインポートしました&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ja&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← 古い版&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;2018年6月28日 (木) 17:45時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;ja&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(相違点なし)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Yamyam</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=Dev:2.4/Source/Python/Method_Deprecation&amp;diff=41937&amp;oldid=prev</id>
		<title>2010年4月1日 (木) 12:26にwiki&gt;Terrywallworkによる</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Dev:2.4/Source/Python/Method_Deprecation&amp;diff=41937&amp;oldid=prev"/>
		<updated>2010-04-01T12:26:19Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Useful ideas.... I've started using this in the Ipo and Curve modules for changes to the API.  I think it's a good idea to also use the BLENDER_VERSION (in BLE_blender.h) to be sure the code gets flagged for deletion after  deprecation.  For example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;c&amp;quot;&amp;gt;&lt;br /&gt;
/* #####DEPRECATED###### */&lt;br /&gt;
&lt;br /&gt;
#if BLENDER_VERSION &amp;lt; 243&lt;br /&gt;
static PyObject *Ipo_getNcurves( BPy_Ipo * self )&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
#if BLENDER_VERSION &amp;lt; 241 static int depcount = 2;&lt;br /&gt;
  if ( depcount ) {       &lt;br /&gt;
    printf (&amp;quot;Ipo.getNcurves() is deprecated by the len() operator.\n&amp;quot;);       &lt;br /&gt;
    printf (&amp;quot;   This method will be removed after version 2.40.\n&amp;quot;);       &lt;br /&gt;
    depcount--; &lt;br /&gt;
  }&lt;br /&gt;
 // body of function here&lt;br /&gt;
&lt;br /&gt;
#else &lt;br /&gt;
  return EXPP_ReturnPyObjError( PyExc_NotImplementedError,&lt;br /&gt;
    &amp;quot;replaced by \&amp;quot;len(ipo)\&amp;quot;&amp;quot; );&lt;br /&gt;
#endif&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When the function is called, a deprecation warning is printed (two times max) until version 2.41,&lt;br /&gt;
when a [[BlenderDev/NotImplemented|NotImplemented]] exception is thrown.  After version 2.43, a compile error occurs which forces&lt;br /&gt;
us to remove the old code.&lt;br /&gt;
&lt;br /&gt;
-- [[BlenderDev/KenHughes|KenHughes]] - 08 Jul 2005&lt;br /&gt;
&lt;br /&gt;
[[Category:Script]]&lt;/div&gt;</summary>
		<author><name>wiki&gt;Terrywallwork</name></author>
		
	</entry>
</feed>