Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

But what can you do with it? -- ubiquitous cry from Linux-user partner


devel / comp.lang.python / Re: What's the public API alternative to _PyObject_GC_IS_TRACKED()?

SubjectAuthor
o Re: What's the public API alternative to _PyObject_GC_IS_TRACKED()?Barry Scott

1
Re: What's the public API alternative to _PyObject_GC_IS_TRACKED()?

<mailman.38.1640536143.3079.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=16502&group=comp.lang.python#16502

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: bar...@barrys-emacs.org (Barry Scott)
Newsgroups: comp.lang.python
Subject: Re: What's the public API alternative to _PyObject_GC_IS_TRACKED()?
Date: Sun, 26 Dec 2021 16:28:55 +0000
Lines: 19
Message-ID: <mailman.38.1640536143.3079.python-list@python.org>
References: <CABbU2U89U=itsPwsU8+POREYMCf9F3U=_CciwVO0ynCAJ0aFcQ@mail.gmail.com>
<CC507B7F-0A6C-415A-952E-2C7CDC75C9EC@barrys-emacs.org>
Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.40.0.1.81\))
Content-Type: text/plain;
charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Trace: news.uni-berlin.de MPrArLwN4aBAhTMIHlN8aAsaXFo2IcqJLH5iX9p+YwSw==
Return-Path: <barry@barrys-emacs.org>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=none reason="no signature";
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.001
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:API': 0.07;
'python.': 0.08; 'cc:addr:python-list': 0.09; 'code?': 0.09;
'from:addr:barry': 0.09; 'received:217.70': 0.09;
'received:gandi.net': 0.09; 'received:mail.gandi.net': 0.09;
'skip:_ 20': 0.09; 'url:mailman': 0.15; 'barry': 0.16;
'cc:name:python list': 0.16; 'from:addr:barrys-emacs.org': 0.16;
'from:name:barry scott': 0.16; 'message-id:@barrys-emacs.org':
0.16; 'subject:()?': 0.16; 'wrote:': 0.16; "can't": 0.17; 'it?':
0.19; 'cc:addr:python.org': 0.20; 'url-ip:188.166.95.178/32':
0.25; 'url-ip:188.166.95/24': 0.25; 'url:listinfo': 0.25;
'cc:2**0': 0.25; 'url-ip:188.166/16': 0.25; 'function': 0.27;
'dec': 0.31; 'url-ip:188/8': 0.31; 'unless': 0.32; 'header:In-
Reply-To:1': 0.34; 'this.': 0.37; 'use': 0.39; 'define': 0.40;
'subject:What': 0.40; 'want': 0.40; 'detail': 0.61; 'your': 0.64;
'received:217': 0.67; 'macro': 0.84; 'sulla': 0.84
In-Reply-To: <CABbU2U89U=itsPwsU8+POREYMCf9F3U=_CciwVO0ynCAJ0aFcQ@mail.gmail.com>
X-Mailer: Apple Mail (2.3693.40.0.1.81)
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <CC507B7F-0A6C-415A-952E-2C7CDC75C9EC@barrys-emacs.org>
X-Mailman-Original-References: <CABbU2U89U=itsPwsU8+POREYMCf9F3U=_CciwVO0ynCAJ0aFcQ@mail.gmail.com>
 by: Barry Scott - Sun, 26 Dec 2021 16:28 UTC

> On 26 Dec 2021, at 13:48, Marco Sulla <Marco.Sulla.Python@gmail.com> wrote:
>
> I have to use _PyObject_GC_IS_TRACKED(). It can't be used unless you
> define Py_BUILD_CORE. I want to avoid this. What macro or function can
> substitute it?

Why is this needed by your code? Surely the GC does its thing as an implementation detail of python.

Barry

> --
> https://mail.python.org/mailman/listinfo/python-list
>

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor