Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

The last thing one knows in constructing a work is what to put first. -- Blaise Pascal


devel / comp.lang.python / Py_TRASHCAN_SAFE_BEGIN/END in C extension?

SubjectAuthor
o Py_TRASHCAN_SAFE_BEGIN/END in C extension?Marco Sulla

1
Py_TRASHCAN_SAFE_BEGIN/END in C extension?

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

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: Marco.Sulla.Python@gmail.com (Marco Sulla)
Newsgroups: comp.lang.python
Subject: Py_TRASHCAN_SAFE_BEGIN/END in C extension?
Date: Tue, 21 Dec 2021 23:05:02 +0100
Lines: 6
Message-ID: <mailman.5.1640124341.3079.python-list@python.org>
References: <CABbU2U-UCsxYV+gnsPy3qG06mqC0k0WBarCkAC6GRTD66CTodQ@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Trace: news.uni-berlin.de KpX8vJQNim0HtTQEpOta1QzrUG2quh20VeI0hyoehcLQ==
Return-Path: <elbarbun@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmail.com header.i=@gmail.com header.b=L2TVyGqH;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.015
X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; '3.7': 0.03; 'debian':
0.09; 'received:209.85.219': 0.09; '3.7,': 0.16; 'from:name:marco
sulla': 0.16; 'subject:extension': 0.16; 'python': 0.16; 'to:addr
:python-list': 0.20; 'extension': 0.25; 'message-
id:@mail.gmail.com': 0.32; 'but': 0.32; "i'm": 0.33;
'received:google.com': 0.34; 'from:addr:gmail.com': 0.35;
'received:209.85': 0.37; 'received:209': 0.39; 'use': 0.39;
'true.': 0.40; 'subject:END': 0.84
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=mime-version:from:date:message-id:subject:to;
bh=zpL+d7bkV3k8vwbq+CqYAcRgcOH6hZjBXQ0OCpQiEbg=;
b=L2TVyGqHNPrKCU4/fqwgXUe4doMmjzq6Ubh5h85bRV2ZgNKdw8xJQZUG2V71gpuz8Q
VfQu/AvJHi1JE2OStlQGXMpxB6PQRzFsnrVrn0+ZvdtxK8KoZZ8OVG+9JgK+sIw2pq5w
Ca38vJ0TLOYz7CqsaRKa/B6FglEuXt/Yv6yug58W00EKmcsa/Ovs2mC3dkmzPittI0wM
wlotcd5HNb3A02/kkVNSMw0COoab4PMcVKstwKzrAGwXavSMSoUwQhtolO3evGjcTiza
QSwVwHDRcYLVYehp4SbHZB5BnVBSbMO/aGI68pXCPZDKPMPXomm6AwoKtBNJkTF9pZAT
VvsQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
bh=zpL+d7bkV3k8vwbq+CqYAcRgcOH6hZjBXQ0OCpQiEbg=;
b=aXbyALXvGb7NFNSdpoWrPn0kU9UZmKrXS0YHtsJYChTT6k9oQUXgKNxtmmt1wg2gth
33zNZ3F/B3Xj13JYBmX3RUI/T2IfEWYvSgZPHFFuww374bMTFm1gxnNGm/gywhY6dViY
PHLY8wiZ3XwuYlUWQlCgGO4X8nRrRjDNfkDEUFNGFqFy6lNA+mmcfG/f3t3gLb8ij/ir
cq9DdYWk7f3pQGUWF5IckSkJPVmoikBH4bC5HZUfAZpDv1mSWWYJPvk/f7xGGl6/aRiB
he0Zq5sJ1aZ+Kb3RDhrswBkEprHAz8i6j+NU2aNOzgYncU+/NwY/Sk10yYMB3tTzD79l
hOoA==
X-Gm-Message-State: AOAM532zIAIaU0lIrLOXYZNBJYyIiZyufOMAVdgpkZtVHEiNK/WlZdvT
/AHRDTO2SFtQeoq+CsRothG7H1f8b9CWpEde5br3xiFF
X-Google-Smtp-Source: ABdhPJxcwXzMROoyuX/bTgA9P1sfCGphAdZ9edCBxgygZvcr4KB2AoMyDRtER1iQNRnizaCO57ZyWDaU1Z3ps0+Hnjo=
X-Received: by 2002:a25:d987:: with SMTP id q129mr411001ybg.331.1640124338734;
Tue, 21 Dec 2021 14:05:38 -0800 (PST)
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: <CABbU2U-UCsxYV+gnsPy3qG06mqC0k0WBarCkAC6GRTD66CTodQ@mail.gmail.com>
 by: Marco Sulla - Tue, 21 Dec 2021 22:05 UTC

In Python 3.7, must Py_TRASHCAN_SAFE_BEGIN - Py_TRASHCAN_SAFE_END be
used in a C extension?

I'm asking because in my C extension I use them in the deallocator
without problems, but users signalled me that they segfault in Python
3.7 on Debian 10. I checked and this is true.


devel / comp.lang.python / Py_TRASHCAN_SAFE_BEGIN/END in C extension?

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor