sources for pylib_pypy.html [rev. unknown]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
  <head>
    <title>[pylib_pypy] </title>
    <meta content="text/html;charset=ISO-8859-1" name="Content-Type"/>
    <link href="../style.css" media="screen" rel="stylesheet" type="text/css"/></head>
  <body>
    <div><a href="http://codespeak.net"><img alt="py lib" height="114" id="pyimg" src="http://codespeak.net/img/pylib.png" width="154"/></a></div>
    <div id="metaspace">
      <div class="project_title">[pylib_pypy] </div>
      <div id="menubar"><a class="menu" href="../index.html">index</a> <a class="menu" href="../../../apigen/api/index.html">api</a> <a class="menu" href="../../../apigen/source/index.html">source</a> <a class="menu" href="../contact.html">contact</a> <a class="menu" href="../download.html">download</a></div></div>
    <div id="contentspace">
      <div id="docinfoline">
        <div style="float: right; font-style: italic;"> </div></div>
<div class="document" id="here-i-m-trying-to-list-all-problems-regarding-pypy-c-pylib-interaction">
<h1 class="title">Here I'm trying to list all problems regarding pypy-c &lt;-&gt; pylib interaction</h1>

<ul>
<li><dl class="first docutils">
<dt>in test/terminal/terminal.py lines around 141::</dt>
<dd><p class="first last">rev = py.__package__.getrev()
self.out.line(&quot;using py lib: %s &lt;rev %s&gt;&quot; % (
py.path.local(py.__file__).dirpath(), rev))</p>
</dd>
</dl>
</li>
<li><dl class="first docutils">
<dt>py.code issues::</dt>
<dd><dl class="first last docutils">
<dt>def __init__(self, rawcode):</dt>
<dd><p class="first last">rawcode = getattr(rawcode, 'im_func', rawcode)
rawcode = getattr(rawcode, 'func_code', rawcode)
self.raw = rawcode
self.filename = rawcode.co_filename
AttributeError: 'internal-code' object has no attribute 'co_filename'</p>
</dd>
</dl>
</dd>
</dl>
</li>
<li><p class="first">types.BuiltinFunctionType == types.MethodType which confuses apigen</p>
</li>
<li><p class="first">compiler module problems - some bogus IndentationError
communicates by inspect.getsource()</p>
</li>
<li><p class="first">execnet just hangs</p>
</li>
<li><p class="first">lack of tmpfile</p>
</li>
<li><p class="first">assertion error magic is not working</p>
</li>
<li><p class="first">sha counting hangs (misc/testing/test_initpkg)</p>
</li>
<li><p class="first">extpy does not work, because it does not support loops in modules
(while pypy __builtins__ module has a loop), funny :-)</p>
</li>
<li><p class="first">py.compat.subprocess hangs for obscure reasons
(possibly the same stuff as execnet - some threading issues and
select.select)</p>
<p>Armin says: &quot;haha, select.select probably does not release the GIL&quot;</p>
</li>
</ul>
</div>
</div></body></html>