A RetroSearch Logo

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

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2007-September/074648.html below:

[Python-Dev] Removing the GIL (Me, not you!)

[Python-Dev] Removing the GIL (Me, not you!) [Python-Dev] Removing the GIL (Me, not you!)Hrvoje Nikšić hrvoje.niksic at avl.com
Fri Sep 14 09:25:24 CEST 2007
On Thu, 2007-09-13 at 18:38 -0500, skip at pobox.com wrote:
> Hrvoje> More precisely, Python will call the deallocator appropriate for
>     Hrvoje> the object type.  If that deallocator does nothing, the object
>     Hrvoje> continues to live.  Such objects could also start out with a
>     Hrvoje> refcount of sys.maxint or so to ensure that calls to the no-op
>     Hrvoje> deallocator are unlikely.
> 
> Maybe sys.maxint/2?  You'd hate for the first incref to invoke the
> deallocator even if it was a no-op.  

ob_refcnt is signed.  :-)


More information about the Python-Dev mailing list

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