Re: pypy stackless.py compatibility notes

Christian Tismer <[email protected]> Sat, 19 Jul 2014 16:59:50 +0200
Newsgroups gmane.comp.python.stackless
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============0377455721405459061==
Content-Type: multipart/alternative;
 boundary="------------000408010104010701010609"

This is a multi-part message in MIME format.
--------------000408010104010701010609
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

Andrew,

this was not a real request for help, but a reminder for us to work on PyPy
compatibility issues, maybe at the EP2014 sprints.

ciao - Chris


On 19.07.14 15:57, Andrew Francis wrote:
> Hi Ron:
>
>
>
> On Saturday, July 19, 2014 6:00 AM, "[email protected]"
> <[email protected]> wrote:
>
> Message: 1
> Date: Fri, 18 Jul 2014 09:30:15 -0500
> From: Rob Galanakis <[email protected]
> <mailto:[email protected]>>
> To: The Stackless Python Mailing List <[email protected]
> <mailto:[email protected]>>
> Subject: [Stackless] pypy stackless.py compatibility notes
> Message-ID:
>    
> <CABaNhwr2fN9QhLz4YTnGMAg5nnf1vUQrNKwtUVVUB1qJ3CX3Mg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org
> <mailto:CABaNhwr2fN9QhLz4YTnGMAg5nnf1vUQrNKwtUVVUB1qJ3CX3Mg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>>
> Content-Type: text/plain; charset="utf-8"
>
> >As requested by Herr Tismer on
> >https://github.com/rgalanakis/goless/issues/29
>
> >stackless.py has no 'stackless.runcount' attribute (it has a
> >stackless.getruncount function).
>
> >I can swear there was some inconsistency between stackless.schedule() but
> >cannot find exactly what it was right now.
>
> Off-hand, I think a major difference between Stackless Python and
> stackless.py stackless.schedule() is the internal representation of
> the runnable list. In Stackless, I recall it being a doubly-linked
> list accessible from the tasklet object.  In stackless.py, it is a list. 
>
> If I go through my notes, I can probably list other inconsistencies .....
>
> As for deadlock detection (which the original poster was doing),  I
> had some ideas on the subject:
>
> [Stackless] Requesting Comments for a Deadlock Detection Module
> <http://www.stackless.com/pipermail/stackless/2009-February/003956.html>
>
>
> Cheers,
> Andrew
>  
>  
> 	
>  
> 	
>  
> 	
>  
> 	
>  
> [Stackless] Requesting Comments for a Deadlock Detection Module
> <http://www.stackless.com/pipermail/stackless/2009-February/003956.html>
> [Stackless] Requesting Comments for a Deadlock Detection Module Andrew
> Francis andrewfr_ice at yahoo.com Fri Feb 27 20:28:14 CET 2009
>
> View on www.stackless.com
> <http://www.stackless.com/pipermail/stackless/2009-February/003956.html>
> 	
> Preview by Yahoo
>
>  
>
>  
>
>
>


-- 
Christian Tismer             :^)   [email protected]
Software Consulting          :     http://www.stackless.com/
Karl-Liebknecht-Str. 121     :     http://www.pydica.net/
14482 Potsdam                :     GPG key -> 0xFB7BEE0E
phone +49 173 24 18 776  fax +49 (30) 700143-0023


--------------000408010104010701010609
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Andrew,<br>
      <br>
      this was not a real request for help, but a reminder for us to
      work on PyPy<br>
      compatibility issues, maybe at the EP2014 sprints.<br>
      <br>
      ciao - Chris<br>
      <br>
      <br>
      On 19.07.14 15:57, Andrew Francis wrote:<br>
    </div>
    <blockquote
      cite="mid:1405778268.87995.YahooMailNeo-WXK5sLB/SxgMe+d1jY/[email protected]"
      type="cite">
      <div style="color:#000; background-color:#fff;
        font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial,
        Lucida Grande, sans-serif;font-size:12pt">
        <div class="" style=""><span class="" style="">Hi Ron:</span></div>
        <div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
          HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida
          Grande', sans-serif; font-style: normal; background-color:
          transparent;" class=""><br class="" style="">
        </div>
        <div class="qtdSeparateBR"><br>
          <br>
        </div>
        <div class="yahoo_quoted" style="display: block;">
          <div class="" style="">
            <div class="" style="">
              <div dir="ltr" style="font-family: HelveticaNeue,
                'Helvetica Neue', Helvetica, Arial, 'Lucida Grande',
                sans-serif; font-size: 12pt;" class=""> <font class=""
                  style="" face="Arial" size="2"> On Saturday, July 19,
                  2014 6:00 AM, <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]">"[email protected]"</a>
                  <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]">&lt;[email protected]&gt;</a> wrote:<br
                    class="" style="">
                </font> </div>
              <div class="" style="font-family: HelveticaNeue,
                'Helvetica Neue', Helvetica, Arial, 'Lucida Grande',
                sans-serif; font-size: 12pt;"><br class="" style="">
                Message: 1<br class="" style="">
                Date: Fri, 18 Jul 2014 09:30:15 -0500<br class=""
                  style="">
                From: Rob Galanakis &lt;<a moz-do-not-send="true"
                  ymailto="mailto:[email protected]"
                  href="mailto:[email protected]" class=""
                  style="">[email protected]</a>&gt;<br class=""
                  style="">
                To: The Stackless Python Mailing List &lt;<a
                  moz-do-not-send="true"
                  ymailto="mailto:[email protected]"
                  href="mailto:[email protected]" class=""
                  style="">[email protected]</a>&gt;<br class=""
                  style="">
                Subject: [Stackless] pypy stackless.py compatibility
                notes<br class="" style="">
                Message-ID:<br class="" style="">
                    &lt;<a moz-do-not-send="true"
ymailto="mailto:CABaNhwr2fN9QhLz4YTnGMAg5nnf1vUQrNKwtUVVUB1qJ3CX3Mg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org"
href="mailto:CABaNhwr2fN9QhLz4YTnGMAg5nnf1vUQrNKwtUVVUB1qJ3CX3Mg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org"
                  class="" style="">CABaNhwr2fN9QhLz4YTnGMAg5nnf1vUQrNKwtUVVUB1qJ3CX3Mg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org</a>&gt;<br
                  class="" style="">
                Content-Type: text/plain; charset="utf-8"<br class=""
                  style="">
                <br class="" style="">
                &gt;As requested by Herr Tismer on<br class="" style="">
                &gt;<a moz-do-not-send="true"
                  href="https://github.com/rgalanakis/goless/issues/29"
                  target="_blank" class="" style="">https://github.com/rgalanakis/goless/issues/29</a><br
                  class="" style="">
                <br class="" style="">
                &gt;stackless.py has no 'stackless.runcount' attribute
                (it has a<br class="" style="">
                &gt;stackless.getruncount function).<br class=""
                  style="">
                <br class="" style="">
                &gt;I can swear there was some inconsistency between
                stackless.schedule() but<br class="" style="">
                &gt;cannot find exactly what it was right now.</div>
              <div class="" style="font-family: HelveticaNeue,
                'Helvetica Neue', Helvetica, Arial, 'Lucida Grande',
                sans-serif; font-size: 12pt;"><br class="" style="">
              </div>
              <div class="" style="font-family: HelveticaNeue,
                'Helvetica Neue', Helvetica, Arial, 'Lucida Grande',
                sans-serif; font-size: 12pt;">Off-hand, I think a major
                difference between Stackless Python and stackless.py
                stackless.schedule() is the internal representation of
                the runnable list. In Stackless, I recall it being a
                doubly-linked list accessible from the tasklet object.
                 In stackless.py, it is a list. </div>
              <div class="" style="font-family: HelveticaNeue,
                'Helvetica Neue', Helvetica, Arial, 'Lucida Grande',
                sans-serif; font-size: 12pt;"><br class="" style="">
              </div>
              <div class="" style="font-family: HelveticaNeue,
                'Helvetica Neue', Helvetica, Arial, 'Lucida Grande',
                sans-serif; font-size: 12pt;">If I go through my notes,
                I can probably list other inconsistencies .....</div>
              <div class="" style="font-family: HelveticaNeue,
                'Helvetica Neue', Helvetica, Arial, 'Lucida Grande',
                sans-serif; font-size: 12pt;"><br class="" style="">
              </div>
              <div class="" style="font-family: HelveticaNeue,
                'Helvetica Neue', Helvetica, Arial, 'Lucida Grande',
                sans-serif; font-size: 12pt;">As for deadlock detection
                (which the original poster was doing),  I had some ideas
                on the subject:</div>
              <div class="" style="font-family: HelveticaNeue,
                'Helvetica Neue', Helvetica, Arial, 'Lucida Grande',
                sans-serif; font-size: 12pt;"><br class="" style="">
              </div>
              <div class="" style=""><a moz-do-not-send="true"
href="http://www.stackless.com/pipermail/stackless/2009-February/003956.html"
                  class="" style="">[Stackless] Requesting Comments for
                  a Deadlock Detection Module</a><br class="" style="">
              </div>
              <div class="" style=""><br>
              </div>
              <div class="" style=""><br>
              </div>
              <div class="" style="">Cheers,</div>
              <div class="" style="">Andrew</div>
              <div style="width:450px; font-family: 'Georgia', 'Times',
                'Times New Roman', 'serif';margin-top:5px;
                margin-bottom: 5px;" id="enhancrCard_0"
                class="link-enhancr-attachment link-enhancr-element"
                contenteditable="false">
                <table class="link-enhancr-element" style="width:450px;
                  height:auto; position: relative; display: block;"
                  cellpadding="0" cellspacing="0" border="0">
                  <tbody>
                    <tr class="link-enhancr-element">
                      <td class="link-enhancr-element" colspan="7"
                        style="height: 1px; background-color: #e5e5e5;
                        font-size: 1px; border-collapse: collapse;">
                        <div class="link-enhancr-element" style="height:
                          1px; background-color: #e5e5e5; font-size:
                          1px; line-height:0px;"> </div>
                      </td>
                    </tr>
                    <tr class="link-enhancr-element">
                      <td rowspan="5" class="link-enhancr-element"
                        style="width: 1px; background-color: #e5e5e5;
                        font-size: 1pt; border-collapse: collapse;">
                        <div class="link-enhancr-element" style="width:
                          1px; background-color: #e5e5e5; font-size:
                          1pt;"> </div>
                      </td>
                      <td rowspan="5" class="link-enhancr-element"
                        style="width: 14px; background-color: #ffffff;
                        font-size: 0pt; border-collapse: collapse;">
                        <div class="link-enhancr-element" style="width:
                          14px; background-color: #ffffff; font-size:
                          14pt;"> </div>
                      </td>
                      <td colspan="2" class="link-enhancr-element"
                        style="height: 6px; background-color: #ffffff;
                        font-size: 0pt; border-collapse: collapse;">
                        <div class="link-enhancr-element" style="height:
                          6px; background-color: #ffffff; font-size:
                          6pt;"> </div>
                      </td>
                      <td rowspan="5" class="link-enhancr-element"
                        style="width: 20px; background-color: #ffffff;
                        font-size: 0pt; border-collapse: collapse;">
                        <div class="link-enhancr-element" style="width:
                          20px; background-color: #ffffff; font-size:
                          20pt;"> </div>
                      </td>
                      <td class="link-enhancr-element" rowspan="5"
                        style="width: 1px; background-color: #e5e5e5;
                        font-size: 1pt; border-collapse: collapse;"
                        width="1">
                        <div class="link-enhancr-element" style="width:
                          1px; background-color: #e5e5e5; font-size:
                          1pt;"> </div>
                      </td>
                    </tr>
                    <tr>
                      <td class="link-enhancr-element" colspan="2"
                        style="width: 100%; vertical-align: middle;
                        font-family: 'Georgia', 'Times', 'Times New
                        Roman', 'serif';">
                        <div class="link-enhancr-text-part
                          link-enhancr-element"
                          style="line-height:16.5px; background-color:
                          #ffffff; width: 414px;">
                          <div class="link-enhancr-element"
                            style="word-wrap: break-word; word-break:
                            break-all;"><span
                              class="link-enhancr-element icon
                              icon-shrink link-enhancr-toggle"></span><span
                              class="link-enhancr-element icon
                              icon-close link-enhancr-delete"></span><a
                              moz-do-not-send="true"
href="http://www.stackless.com/pipermail/stackless/2009-February/003956.html"
                              class="link-enhancr-card-urlWrapper
                              link-enhancr-element"
                              style="text-decoration: none !important;
                              color: #000000 !important; line-height:
                              100%; font-size: 18px; display: block;"><span
                                class="link-enhancr-element
                                link-enhancr-card-title" style="margin:
                                0; font-weight: normal;margin-bottom:
                                3px; font-size: 18px; line-height: 21px;
                                max-height: 43px; color: #000000;
                                overflow: hidden !important; display:
                                inline-block;">[Stackless] Requesting
                                Comments for a Deadlock Detection Module</span></a>
                            <div style="font-size: 13px; line-height:
                              20px; color: #999999; max-height: 81px;
                              font-family: 'Georgia', 'Times', 'Times
                              New Roman', 'serif';overflow: hidden;"
                              class="link-enhancr-card-description
                              link-enhancr-element">[Stackless]
                              Requesting Comments for a Deadlock
                              Detection Module Andrew Francis
                              andrewfr_ice at yahoo.com Fri Feb 27
                              20:28:14 CET 2009 </div>
                          </div>
                        </div>
                      </td>
                    </tr>
                    <tr>
                      <td colspan="2" class="link-enhancr-element"
                        style="height: 6px; background-color: #ffffff;
                        font-size: 0pt; border-collapse: collapse;"><br>
                      </td>
                    </tr>
                    <tr>
                      <td class="link-enhancr-element"
                        style="vertical-align: middle; font-family:
                        'Arial', 'Helvetica Neue', 'Helvetica',
                        'sans-serif';">
                        <div class="link-enhancr-element"
                          style="font-size: 0pt;"><a
                            moz-do-not-send="true"
href="http://www.stackless.com/pipermail/stackless/2009-February/003956.html"
                            class="link-enhancr-card-url
                            link-enhancr-element" style="color: black;
                            text-decoration: none
                            !important;cursor:pointer !important;"
                            target="_blank"><span
                              class="link-enhancr-element
                              link-enhancr-view-on" style="display:
                              inline-block; line-height: 11px;
                              max-width: 314px; min-width: 254px;
                              overflow: hidden; max-height: 13px;
                              word-break: break-all;"><span
                                class="link-enhancr-element
                                link-enhancr-mobile-no-resize"
                                style="vertical-align:middle; font-size:
                                9px; line-height: 11px; color: #999999;
                                -moz-text-size-adjust: none;
                                -ms-text-size-adjust: none;
                                -webkit-text-size-adjust:none;
                                text-size-adjust:none;">View on <span
                                  style="font-weight: bold"
                                  class="link-enhancr-view-on-domain">www.stackless.com</span></span></span></a></div>
                      </td>
                      <td class="link-enhancr-element"
                        style="vertical-align: middle; width: 100px;
                        font-family: 'Arial', 'Helvetica Neue',
                        'Helvetica', 'sans-serif';">
                        <div class="link-enhancr-element
                          link-enhancr-preview-wrapper"
                          style="max-width: 100px; min-width: 80px;
                          overflow: hidden; text-align: right;
                          line-height: 11px; max-height: 13px;
                          font-size: 0pt;"><span
                            class="link-enhancr-element
                            link-enhancr-preview-by
                            link-enhancr-mobile-no-resize"
                            style="vertical-align:middle; font-size:
                            9px; line-height: 11px; color: #999999;
                            -moz-text-size-adjust: none;
                            -ms-text-size-adjust: none;
                            -webkit-text-size-adjust:none;
                            text-size-adjust:none;">Preview by Yahoo</span></div>
                      </td>
                    </tr>
                    <tr>
                      <td colspan="2" class="link-enhancr-element"
                        style="height: 9px; background-color: #ffffff;
                        font-size: 0pt; border-collapse: collapse;"><br>
                      </td>
                    </tr>
                    <tr class="link-enhancr-element">
                      <td class="link-enhancr-element" colspan="7"
                        style="height: 1px; background-color: #e5e5e5;
                        font-size: 1px; border-collapse: collapse;">
                        <div class="link-enhancr-element" style="height:
                          1px; background-color: #e5e5e5; font-size:
                          1px; line-height:0px"> </div>
                      </td>
                    </tr>
                  </tbody>
                </table>
              </div>
              <div>  </div>
              <div class="" style="font-family: HelveticaNeue,
                'Helvetica Neue', Helvetica, Arial, 'Lucida Grande',
                sans-serif; font-size: 12pt;"><br class="" style="">
              </div>
              <div class="" style="font-family: HelveticaNeue,
                'Helvetica Neue', Helvetica, Arial, 'Lucida Grande',
                sans-serif; font-size: 12pt;"><br class="" style="">
                <br class="" style="">
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Christian Tismer             :^)   <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>
Software Consulting          :     <a class="moz-txt-link-freetext" href="http://www.stackless.com/">http://www.stackless.com/</a>
Karl-Liebknecht-Str. 121     :     <a class="moz-txt-link-freetext" href="http://www.pydica.net/">http://www.pydica.net/</a>
14482 Potsdam                :     GPG key -&gt; 0xFB7BEE0E
phone +49 173 24 18 776  fax +49 (30) 700143-0023
</pre>
  </body>
</html>

--------------000408010104010701010609--


--===============0377455721405459061==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Stackless mailing list
[email protected]
http://www.stackless.com/mailman/listinfo/stackless
--===============0377455721405459061==--