Re: pypy stackless.py compatibility notes
Andrew Francis <andrewfr_ice-/[email protected]> Sat, 19 Jul 2014 06:57:48 -0700
| Newsgroups | gmane.comp.python.stackless |
|---|---|
| Message-ID | <[email protected]> |
--===============4729303996885920786== Content-Type: multipart/alternative; boundary="1425490816-753988004-1405778268=:87995" --1425490816-753988004-1405778268=:87995 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi Ron:=0A=0A=0A=0AOn Saturday, July 19, 2014 6:00 AM, "stackless-request@s= tackless.com" <[email protected]> wrote:=0A =0A=0AMessage: 1= =0ADate: Fri, 18 Jul 2014 09:30:15 -0500=0AFrom: Rob Galanakis <rob.galanak= [email protected]>=0ATo: The Stackless Python Mailing List <stackless@stackless.= com>=0ASubject: [Stackless] pypy stackless.py compatibility notes=0AMessage= -ID:=0A=A0=A0=A0 <CABaNhwr2fN9QhLz4YTnGMAg5nnf1vUQrNKwtUVVUB1qJ3CX3Mg@mail.= gmail.com>=0AContent-Type: text/plain; charset=3D"utf-8"=0A=0A>As requested= by Herr Tismer on=0A>https://github.com/rgalanakis/goless/issues/29=0A=0A>= stackless.py has no 'stackless.runcount' attribute (it has a=0A>stackless.g= etruncount function).=0A=0A>I can swear there was some inconsistency betwee= n stackless.schedule() but=0A>cannot find exactly what it was right now.=0A= =0AOff-hand, I think a major difference between Stackless Python and stackl= ess.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. =A0In stackless.py, it is a list.=A0=0A=0AIf I go throu= gh my notes, I can probably list other inconsistencies .....=0A=0AAs for de= adlock detection (which the original poster was doing), =A0I had some ideas= on the subject:=0A=0A[Stackless] Requesting Comments for a Deadlock Detect= ion Module=0A=0A=0A=0ACheers,=0AAndrew=0A=A0 =0A=A0 =A0 =A0 =A0 =A0 =0A[Sta= ckless] Requesting Comments for a Deadlock Detection Module=0A[Stackless] R= equesting Comments for a Deadlock Detection Module Andrew Francis andrewfr= _ice at yahoo.com Fri Feb 27 20:28:14 CET 2009 =0AView on www.stackless.c= om Preview by Yahoo --1425490816-753988004-1405778268=:87995 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable <html><body><div style=3D"color:#000; background-color:#fff; font-family:He= lveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;fo= nt-size:12pt"><div class=3D"" style=3D""><span class=3D"" style=3D"">Hi Ron= :</span></div><div style=3D"color: rgb(0, 0, 0); font-size: 16px; font-fami= ly: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', san= s-serif; font-style: normal; background-color: transparent;" class=3D""><br= class=3D"" style=3D""></div><div class=3D"qtdSeparateBR"><br><br></div><di= v class=3D"yahoo_quoted" style=3D"display: block;"> <div class=3D"" style= =3D""> <div class=3D"" style=3D""> <div dir=3D"ltr" style=3D"font-family: H= elveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-ser= if; font-size: 12pt;" class=3D""> <font size=3D"2" face=3D"Arial" class=3D"= " style=3D""> On Saturday, July 19, 2014 6:00 AM, "stackless-request@stackl= ess.com" <[email protected]> wrote:<br class=3D"" style= =3D""> </font> </div> <div class=3D"" style=3D"font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, '= Lucida Grande', sans-serif; font-size: 12pt;"><br class=3D"" style=3D"">Mes= sage: 1<br class=3D"" style=3D"">Date: Fri, 18 Jul 2014 09:30:15 -0500<br c= lass=3D"" style=3D"">From: Rob Galanakis <<a ymailto=3D"mailto:rob.galan= [email protected]" href=3D"mailto:[email protected]" class=3D"" style=3D= "">[email protected]</a>><br class=3D"" style=3D"">To: The Stackle= ss Python Mailing List <<a ymailto=3D"mailto:[email protected]" hr= ef=3D"mailto:[email protected]" class=3D"" style=3D"">stackless@stack= less.com</a>><br class=3D"" style=3D"">Subject: [Stackless] pypy stackle= ss.py compatibility notes<br class=3D"" style=3D"">Message-ID:<br class=3D"= " style=3D""> <<a ymailto=3D"mailto:CABaNhwr2fN9QhLz4Y= TnGMAg5nnf1vUQrNKwtUVVUB1qJ3CX3Mg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org" href=3D"mailto:CABaNhwr2f= N9QhLz4YTnGMAg5nnf1vUQrNKwtUVVUB1qJ3CX3Mg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org" class=3D"" style=3D"">CABaNhwr2fN9QhLz4YTnGMAg5nnf1vUQrNKwtUVVUB1qJ3CX3Mg-JsoAwUIsXotQFR93xxRIaA@public.gmane.org= com</a>><br class=3D"" style=3D"">Content-Type: text/plain; charset=3D"u= tf-8"<br class=3D"" style=3D""><br class=3D"" style=3D"">>As requested b= y Herr Tismer on<br class=3D"" style=3D"">><a href=3D"https://github.com= /rgalanakis/goless/issues/29" target=3D"_blank" class=3D"" style=3D"">https= ://github.com/rgalanakis/goless/issues/29</a><br class=3D"" style=3D""><br = class=3D"" style=3D"">>stackless.py has no 'stackless.runcount' attribut= e (it has a<br class=3D"" style=3D"">>stackless.getruncount function).<b= r class=3D"" style=3D""><br class=3D"" style=3D"">>I can swear there was= some inconsistency between stackless.schedule() but<br class=3D"" style=3D= "">>cannot find exactly what it was right now.</div><div class=3D"" styl= e=3D"font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucid= a Grande', sans-serif; font-size: 12pt;"><br class=3D"" style=3D""></div><d= iv class=3D"" style=3D"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 run= nable 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=3D"" style=3D"font-family: HelveticaNeue, 'Helvetica Neue', Helve= tica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"><br class=3D"" = style=3D""></div><div class=3D"" style=3D"font-family: HelveticaNeue, 'Helv= etica 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=3D"" style=3D"font-family: HelveticaNeue, 'Helvetica Neue= ', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"><br cla= ss=3D"" style=3D""></div><div class=3D"" style=3D"font-family: HelveticaNeu= e, '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=3D"" style=3D"font-family: Helve= ticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; = font-size: 12pt;"><br class=3D"" style=3D""></div><div class=3D"" style=3D"= "><a href=3D"http://www.stackless.com/pipermail/stackless/2009-February/003= 956.html" class=3D"" style=3D"">[Stackless] Requesting Comments for a Deadl= ock Detection Module</a><br class=3D"" style=3D""></div><div class=3D"" sty= le=3D""><br></div><div class=3D"" style=3D""><br></div><div class=3D"" styl= e=3D"">Cheers,</div><div class=3D"" style=3D"">Andrew</div><div style=3D"wi= dth:450px; font-family: 'Georgia', 'Times', 'Times New Roman', 'serif';marg= in-top:5px; margin-bottom: 5px;" contenteditable=3D"false" id=3D"enhancrCar= d_0" class=3D"link-enhancr-attachment link-enhancr-element"><table class=3D= "link-enhancr-element" cellspacing=3D"0" cellpadding=3D"0" border=3D"0" style=3D"width:450px; height:auto; position= : relative; display: block;"><tbody><tr class=3D"link-enhancr-element"><td = class=3D"link-enhancr-element" colspan=3D"7" style=3D"height: 1px; backgrou= nd-color: #e5e5e5; font-size: 1px; border-collapse: collapse;"><div class= =3D"link-enhancr-element" style=3D"height: 1px; background-color: #e5e5e5; = font-size: 1px; line-height:0px;"> </div></td></tr><tr class=3D"link-e= nhancr-element"><td rowspan=3D"5" class=3D"link-enhancr-element" style=3D"w= idth: 1px; background-color: #e5e5e5; font-size: 1pt; border-collapse: coll= apse;"><div class=3D"link-enhancr-element" style=3D"width: 1px; background-= color: #e5e5e5; font-size: 1pt;"> </div></td><td rowspan=3D"5" class= =3D"link-enhancr-element" style=3D"width: 14px; background-color: #ffffff; = font-size: 0pt; border-collapse: collapse;"><div class=3D"link-enhancr-elem= ent" style=3D"width: 14px; background-color: #ffffff; font-size: 14pt;">&nb= sp;</div></td><td colspan=3D"2" class=3D"link-enhancr-element" style=3D"height: 6px; background-color: #ff= ffff; font-size: 0pt; border-collapse: collapse;"><div class=3D"link-enhanc= r-element" style=3D"height: 6px; background-color: #ffffff; font-size: 6pt;= "> </div></td><td rowspan=3D"5" class=3D"link-enhancr-element" style= =3D"width: 20px; background-color: #ffffff; font-size: 0pt; border-collapse= : collapse;"><div class=3D"link-enhancr-element" style=3D"width: 20px; back= ground-color: #ffffff; font-size: 20pt;"> </div></td><td class=3D"link= -enhancr-element" rowspan=3D"5" width=3D"1" style=3D"width: 1px; background= -color: #e5e5e5; font-size: 1pt; border-collapse: collapse;"><div class=3D"= link-enhancr-element" style=3D"width: 1px; background-color: #e5e5e5; font-= size: 1pt;"> </div></td></tr><tr><td class=3D"link-enhancr-element" co= lspan=3D"2" style=3D"width: 100%; vertical-align: middle; font-family: 'Geo= rgia', 'Times', 'Times New Roman', 'serif';"><div class=3D"link-enhancr-tex= t-part link-enhancr-element" style=3D"line-height:16.5px; background-color: #ffffff; width: 414px;"><d= iv class=3D"link-enhancr-element" style=3D"word-wrap: break-word; word-brea= k: break-all;"><span class=3D"link-enhancr-element icon icon-shrink link-e= nhancr-toggle"></span><span class=3D"link-enhancr-element icon icon-close l= ink-enhancr-delete"></span><a href=3D"http://www.stackless.com/pipermail/st= ackless/2009-February/003956.html" class=3D"link-enhancr-card-urlWrapper li= nk-enhancr-element" style=3D"text-decoration: none !important; color: #0000= 00 !important; line-height: 100%; font-size: 18px; display: block;"><span c= lass=3D"link-enhancr-element link-enhancr-card-title" style=3D"margin: 0; f= ont-weight: normal;margin-bottom: 3px; font-size: 18px; line-height: 21px; = max-height: 43px; color: #000000; overflow: hidden !important; display: inl= ine-block;">[Stackless] Requesting Comments for a Deadlock Detection Module= </span></a><div style=3D"font-size: 13px; line-height: 20px; color: #999999= ; max-height: 81px; font-family: 'Georgia', 'Times', 'Times New Roman', 'serif';overflow= : hidden;" class=3D"link-enhancr-card-description link-enhancr-element">[St= ackless] Requesting Comments for a Deadlock Detection Module=0A Andrew F= rancis =0A andrewfr_ice at yahoo.com Fri Feb 27 20:28:14 CET 2009 </div>= </div></div></td></tr><tr><td colspan=3D"2" class=3D"link-enhancr-element" = style=3D"height: 6px; background-color: #ffffff; font-size: 0pt; border-col= lapse: collapse;"><div class=3D"link-enhancr-element" style=3D"height: 6px;= background-color: #ffffff; font-size: 6pt;"></div></td></tr><tr><td class= =3D"link-enhancr-element" style=3D"vertical-align: middle; font-family: 'Ar= ial', 'Helvetica Neue', 'Helvetica', 'sans-serif';"><div class=3D"link-enha= ncr-element" style=3D"font-size: 0pt;"><a href=3D"http://www.stackless.com/= pipermail/stackless/2009-February/003956.html" class=3D"link-enhancr-card-u= rl link-enhancr-element" style=3D"color: black; text-decoration: none !impo= rtant;cursor:pointer !important;" target=3D"_blank"><span class=3D"link-enh= ancr-element link-enhancr-view-on" style=3D"display: inline-block; line-hei= ght: 11px; max-width: 314px; min-width: 254px; overflow: hidden; max-height= : 13px; word-break: break-all;"><span class=3D"link-enhancr-element link-enhancr-mobile-no-res= ize" style=3D"vertical-align:middle; font-size: 9px; line-height: 11px; col= or: #999999; -moz-text-size-adjust: none; -ms-text-size-adjust: none; -webk= it-text-size-adjust:none; text-size-adjust:none;">View on <span style=3D"fo= nt-weight: bold" class=3D"link-enhancr-view-on-domain">www.stackless.com</s= pan></span></span></a></div></td><td class=3D"link-enhancr-element" style= =3D"vertical-align: middle; width: 100px; font-family: 'Arial', 'Helvetica = Neue', 'Helvetica', 'sans-serif';"><div class=3D"link-enhancr-element link-= enhancr-preview-wrapper" style=3D"max-width: 100px; min-width: 80px; overfl= ow: hidden; text-align: right; line-height: 11px; max-height: 13px; font-si= ze: 0pt;"><span class=3D"link-enhancr-element link-enhancr-preview-by link-= enhancr-mobile-no-resize" style=3D"vertical-align:middle; font-size: 9px; l= ine-height: 11px; color: #999999; -moz-text-size-adjust: none; -ms-text-siz= e-adjust: none; -webkit-text-size-adjust:none; text-size-adjust:none;">Preview by Yahoo</s= pan></div></td></tr><tr><td colspan=3D"2" class=3D"link-enhancr-element" st= yle=3D"height: 9px; background-color: #ffffff; font-size: 0pt; border-colla= pse: collapse;"><div class=3D"link-enhancr-element" style=3D"height: 9px; b= ackground-color: #ffffff; font-size: 9pt;"></div></td></tr><tr class=3D"lin= k-enhancr-element"><td class=3D"link-enhancr-element" colspan=3D"7" style= =3D"height: 1px; background-color: #e5e5e5; font-size: 1px; border-collapse= : collapse;"><div class=3D"link-enhancr-element" style=3D"height: 1px; back= ground-color: #e5e5e5; font-size: 1px; line-height:0px"> </div></td></= tr></tbody></table></div><div> </div><div class=3D"" style=3D"font-fa= mily: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', s= ans-serif; font-size: 12pt;"><br class=3D"" style=3D""></div><div class=3D"= " style=3D"font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, = 'Lucida Grande', sans-serif; font-size: 12pt;"><br class=3D"" style=3D""><br class=3D"" style=3D""></di= v> </div> </div> </div> </div></body></html> --1425490816-753988004-1405778268=:87995-- --===============4729303996885920786== 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 --===============4729303996885920786==--