Deutsch   English   Français   Italiano  
<mailman.66.1736799406.2912.python-list@python.org>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!2.eu.feeder.erje.net!feeder.erje.net!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: "Henry S. Thompson" <ht@inf.ed.ac.uk>
Newsgroups: comp.lang.python
Subject: Re: Complete working version of cython Queue example?
Date: Mon, 13 Jan 2025 19:58:45 +0000
Lines: 26
Message-ID: <mailman.66.1736799406.2912.python-list@python.org>
References: <ot5b5l-50ps.ln1@q957.zbmc.eu>
 <CAJQBtg=aEGSU-_VUCrD5x3y6Suea9AjSNTFSWr0kKDZ4NNjrSA@mail.gmail.com>
 <f5b7c6y4rwf.fsf_-_@lochinver.inf.ed.ac.uk>
 <f5b34hm4hai.fsf@lochinver.inf.ed.ac.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
X-Trace: news.uni-berlin.de aRy9pkbGv5dmXodXjHNhFw+KGuHjDKUZlB1En+zIG1Ww==
Cancel-Lock: sha1:XVtEc3c5LL2AKmz21zNHYwxY6Bc= sha256:XrQQbuGvOCc+I62vCw3HF4OJvFo/Dpi4rlQLdt0RVWg=
Return-Path: <ht@inf.ed.ac.uk>
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.160
X-Spam-Level: *
X-Spam-Evidence: '*H*': 0.71; '*S*': 0.03; 'can,': 0.09; 'library,':
 0.09; 'subject:version': 0.09; 'url:stable': 0.09; 'writes:':
 0.09; 'cython,': 0.16; 'preferably': 0.16; 'subject:working':
 0.16; 'url-ip:129/8': 0.16; 'python': 0.16; 'to:addr:python-list':
 0.20; "i've": 0.22; 'version': 0.23; 'school': 0.24; 'anyone':
 0.25; 'header:User-Agent:1': 0.30; "doesn't": 0.32; 'carefully':
 0.32; 'files,': 0.32; 'python-list': 0.32; 'but': 0.32; 'header
 :In-Reply-To:1': 0.34; 'trying': 0.35; 'files': 0.36; 'errors':
 0.36; 'thanks,': 0.36; 'work.': 0.37; 'using': 0.37; 'example':
 0.37; 'days': 0.62; 'simply': 0.63; 'url-ip:104.16/16': 0.65;
 'received:userid': 0.66; '[1]': 0.67; 'henry': 0.69; 'working,':
 0.69; 'charset:iso-8859-1': 0.73; 'url:ac': 0.75; 'spent': 0.81;
 'edinburgh': 0.84; 'forged': 0.84; 'received:ac.uk': 0.84;
 'url:src': 0.84; 'e-mail:': 0.88; 'details,': 0.95
In-Reply-To: <f5b7c6y4rwf.fsf_-_@lochinver.inf.ed.ac.uk> (Henry S. Thompson
 via Python-list's message of "Mon\, 13 Jan 2025 16\:09\:36 +0000")
User-Agent: Gnus/5.101 (Gnus v5.10.10) XEmacs/21.5-b35 (linux)
X-Edinburgh-Scanned: at loire.is.ed.ac.uk
X-Mailman-Approved-At: Mon, 13 Jan 2025 15:16:45 -0500
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: <f5b34hm4hai.fsf@lochinver.inf.ed.ac.uk>
X-Mailman-Original-References: <ot5b5l-50ps.ln1@q957.zbmc.eu>
 <CAJQBtg=aEGSU-_VUCrD5x3y6Suea9AjSNTFSWr0kKDZ4NNjrSA@mail.gmail.com>
 <f5b7c6y4rwf.fsf_-_@lochinver.inf.ed.ac.uk>
Bytes: 4260

[with link]
Henry S. Thompson via Python-list writes:

> I've spent several days trying to get this example [1] working, using
> Python3.11 and Cython 3.0.11 of Debian.
>
> I've copied the example files as carefully as I can, renamed some to
> avoid a name clash with the queue.py library, but the Pure Python
> version throws errors at compile time and although the Cython version
> compiles, it doesn't work.
>
> Before giving details, just checking first if anyone can simply point
> to a set of files, preferably Pure Python but failing that Cython,
> that actually work for them.
>
> Thanks,
>
> ht

[1] https://cython.readthedocs.io/en/stable/src/tutorial/clibraries.html
-- 
       Henry S. Thompson, School of Informatics, University of Edinburgh
                10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND
                           e-mail: ht@inf.ed.ac.uk
                      URL: https://www.ltg.ed.ac.uk/~ht/
 [mail from me _always_ has a .sig like this -- mail without it is forged spam]