Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Those who can, do; those who can't, write. Those who can't write work for the Bell Labs Record.


devel / comp.lang.python / Re: How to support annotations for a custom type in a C extension?

SubjectAuthor
o Re: How to support annotations for a custom type in a C extension?Serhiy Storchaka

1
Re: How to support annotations for a custom type in a C extension?

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

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!4.us.feeder.erje.net!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!not-for-mail
From: storch...@gmail.com (Serhiy Storchaka)
Newsgroups: comp.lang.python
Subject: Re: How to support annotations for a custom type in a C extension?
Date: Sat, 18 Sep 2021 18:10:30 +0300
Lines: 6
Message-ID: <mailman.742.1632015276.4164.python-list@python.org>
References: <CABbU2U-XzTKOW2MfbYnEQKDKj9pMfZ8PAHrjLDX__e2FsHFp5w@mail.gmail.com>
<74a8da49-6966-62e1-d481-db350b69bed2@mrabarnett.plus.com>
<CABbU2U_fJ3sp6vNSRYD87-ZhDA_9y+VEdU7m13iA_cUUH1mNLg@mail.gmail.com>
<si4vh6$12b9$2@ciao.gmane.io>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de C2ei6gWXVSSnvT2fDHORiwcscwKrxsLtftv9rQhJ8uyQ==
Return-Path: <python-python-list@m.gmane-mx.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.008
X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'message-
id:@ciao.gmane.io': 0.09; 'received:ciao.gmane.io': 0.09;
'received:gmane.io': 0.09; 'received:list': 0.09; 'dict': 0.16;
'from:addr:storchaka': 0.16; 'from:name:serhiy storchaka': 0.16;
'received:116.202': 0.16; 'received:116.202.254': 0.16;
'received:116.202.254.214': 0.16; 'subject:extension': 0.16;
'\xd0\xbf\xd0\xb8\xd1\x88\xd0\xb5:': 0.16; 'to:addr:python-list':
0.20; 'code': 0.23; 'subject:How': 0.23; 'header:User-Agent:1':
0.30; 'present': 0.30; 'subject:for': 0.33; 'header:In-Reply-
To:1': 0.34; 'question.': 0.35; 'from:addr:gmail.com': 0.35;
'received:116': 0.64; 'subject:support': 0.64; 'sulla': 0.84;
'subject:type': 0.91
X-Injected-Via-Gmane: http://gmane.org/
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
In-Reply-To: <CABbU2U_fJ3sp6vNSRYD87-ZhDA_9y+VEdU7m13iA_cUUH1mNLg@mail.gmail.com>
Content-Language: en-US
X-Mailman-Approved-At: Sat, 18 Sep 2021 21:34:34 -0400
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.34
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: <si4vh6$12b9$2@ciao.gmane.io>
X-Mailman-Original-References: <CABbU2U-XzTKOW2MfbYnEQKDKj9pMfZ8PAHrjLDX__e2FsHFp5w@mail.gmail.com>
<74a8da49-6966-62e1-d481-db350b69bed2@mrabarnett.plus.com>
<CABbU2U_fJ3sp6vNSRYD87-ZhDA_9y+VEdU7m13iA_cUUH1mNLg@mail.gmail.com>
 by: Serhiy Storchaka - Sat, 18 Sep 2021 15:10 UTC

18.09.21 09:40, Marco Sulla пише:
> Ooook..... I have a question. Why is this code not present in
> dictobject.c? Where are the dict annotations implemented?

In dictobject.c.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor