A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/attachments/20161011/f68baa5d/attachment.html below:

<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=windows-1252">


  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p><br>
    </p>
    <div class="moz-forward-container">Hit "Reply" instead of "Reply
      All" last night, oops.  Forwarding to the list for posterity's
      sakes.<br>
      <br>
      <i><br>
        /arry</i><br>
      <br>
      -------- Forwarded Message --------
      <table class="moz-email-headers-table" border="0" cellpadding="0"
        cellspacing="0">
        <tbody>
          <tr>
            <th align="RIGHT" valign="BASELINE" nowrap="nowrap">Subject:
            </th>
            <td>Re: [Python-Dev] PyWeakref_GetObject() borrows its
              reference from... whom?</td>
          </tr>
          <tr>
            <th align="RIGHT" valign="BASELINE" nowrap="nowrap">Date: </th>
            <td>Mon, 10 Oct 2016 23:01:10 +0200</td>
          </tr>
          <tr>
            <th align="RIGHT" valign="BASELINE" nowrap="nowrap">From: </th>
            <td>Larry Hastings <a class="moz-txt-link-rfc2396E" href="mailto:larry@hastings.org"><larry@hastings.org></a></td>
          </tr>
          <tr>
            <th align="RIGHT" valign="BASELINE" nowrap="nowrap">To: </th>
            <td>Nathaniel Smith <a class="moz-txt-link-rfc2396E" href="mailto:njs@pobox.com"><njs@pobox.com></a></td>
          </tr>
        </tbody>
      </table>
      <br>
      On 10/10/2016 07:50 PM, Nathaniel Smith wrote:<br>
      <blockquote
cite="mid:CAPJVwB=GJBcqAy6OVS32LQLiDm+2bqEGA2x9sq4fe9yi2SXj9w@mail.gmail.com"
        type="cite">
        <pre wrap="">If we say that borrowing reference from a dict is one of the things
that counts as mucking about with that dict, and thus requires you to
hold the dict lock for as long as you hold the borrowed reference,
then all should be well.</pre>
      </blockquote>
      <br>
      That's not how locking works in the Gilectomy right now.  If you
      call PyDict_GetItem(), it locks the dict at the beginning, then
      looks up the thingy, then releases the lock just before
      returning.  It's hard for me to imagine how the dict would
      magically know when it could drop the borrowed reference returned
      by PyDict_GetItem().<br>
      <br>
      <br>
      <blockquote
cite="mid:CAPJVwB=GJBcqAy6OVS32LQLiDm+2bqEGA2x9sq4fe9yi2SXj9w@mail.gmail.com"
        type="cite">
        <pre wrap="">I assume Larry is way ahead of us on this,</pre>
      </blockquote>
      <br>
      I would say "that's your first mistake!" but I bet you've made
      others.  Anyway, tbh most of the time I feel awfully unqualified
      to work on the Gilectomy.<br>
      <br>
      <br>
      Fools rush in,<br>
      <br>
      <br>
      <i>/arry</i><br>
    </div>
  </body>
</html>

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4