<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:3.0cm 2.0cm 3.0cm 2.0cm;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang="DA" link="blue" vlink="purple">

<div class="Section1">

<p class="MsoNormal">Hi,</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal"><span lang="EN-US">I have been tracing: vfs.py, pypy_interact.py
 and sandlib.py.</span></p>

<p class="MsoNormal"><span lang="EN-US"> </span></p>

<p class="MsoNormal"><span lang="EN-US">Just to make sure that I got it right.</span></p>

<p class="MsoNormal"><span lang="EN-US"> </span></p>

<p class="MsoNormal"><span lang="EN-US">* The object RealFile in vfs.py is first
used then we know that here is a  RealFile on the real system that is the --tmp=directory,
the method is also use on python files I can see from my trace?</span></p>

<p class="MsoNormal"><span lang="EN-US"> </span></p>

<p class="MsoNormal"><span lang="EN-US">* The join method in RealDir is the key,
because it maps (join) the virtual filename to a real filename og real
directory</span></p>

<p class="MsoNormal"><span lang="EN-US"> </span></p>

<p class="MsoNormal"><span lang="EN-US">So if I want to expand the vfs.py I need to
modify RealDir to allow to return RealFile for files that are new, that is that
they are not part of names.</span></p>

<p class="MsoNormal"><span lang="EN-US"> </span></p>

<p class="MsoNormal"><span lang="EN-US">On files that do exist and I want to write
to then, I do not have a clue. As I can see I get the error even then I open
the file using open( &quot;myFile&quot;, &quot;w&quot;). And</span></p>

<p class="MsoNormal"><span lang="EN-US">because of that I am not sure about my previous
statement &quot; So if I want to expand the vfs.py I need to modify RealDir to allow
to return RealFile for files that are new, that is that they are not part of names.&quot;</span></p>

<p class="MsoNormal"><span lang="EN-US"> </span></p>

<p class="MsoNormal"><span lang="EN-US">Regards,</span></p>

<p class="MsoNormal"><span lang="EN-US"><br>
Søren Laursen</span></p>

<p class="MsoNormal"><span lang="EN-US"> </span></p>

<p class="MsoNormal"><span lang="EN-US"> </span></p>

</div>

</body>

</html>