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/20161010/530ec3c3/attachment-0001.html below:

<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <div class="moz-cite-prefix">On 10/10/2016 06:37 PM, Guido van
      Rossum wrote:<br>
    </div>
    <blockquote
cite="mid:CAP7+vJL54KQ2t2ARwa==JFeatPSV9UqsQp8MiHw-=ObYSJH0HA@mail.gmail.com"
      type="cite">
      <pre wrap="">Modified +1: you can't change the behavior of the existing API, but
you can deprecate it and introduce a better one with a different name.
We'll have until Python 4.0 to carry through the deprecation anyways.
And I doubt this is the only C API change needed for happy gil-free
coding...
</pre>
    </blockquote>
    <br>
    First, "deprecate" won't work for these semantics for the Gilectomy
    branch.  I simply cannot safely support the semantics of the
    existing function.  All call sites need to change.<br>
    <br>
    Second, consider that every function that returns a borrowed
    reference--PyDict_GetItem(), PyList_GetItem()--has to change too, to
    return an actual (non-borrowed) reference.  It's going to be a major
    upheaval in the C API.<br>
    <br>
    <br>
    For now I'm going to leave the names as-is and just change the
    semantics everywhere.  If this approach really works, and if we
    decide we want to merge it back into trunk--and those are both still
    big if's--we can revisit this decision.<br>
    <br>
    <br>
    I haven't yet ruled out abandoning reference counting completely and
    going to 100% tracing garbage collecting,<br>
    <br>
    <br>
    <i>/arry</i><br>
  </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