Hi,<br><br>While porting a C extension from 2 to 3, I realized that there are some general cases which can be automated. For example, for my specific application (yappi - <a href="http://code.google.com/p/yappi/">http://code.google.com/p/yappi/</a>), all I need to do is following things:<br>
<br>1) define <span class="n">PyModuleDef</span> <span class="n"></span><br>2) change <span class="n">PyString_AS_STRING calls  to</span> <span class="n">_PyUnicode_AsString<br>3) change module init code a little.<br><br>
</span><span class="n">I</span><span class="n">t occurred to me all these kind of standart changes can be automated via a script. <br><br>Not sure on the usability of this however, because of </span><span class="n">my limited knowledge on the area.<br>
<br>Does such a tool worth being implemented?<br><br></span><span class="n"></span>-- <br>Sumer Cip<br>