Deutsch English Français Italiano |
<mailman.64.1736790268.2912.python-list@python.org> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.mixmin.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: Complete working version of cython Queue example? Date: Mon, 13 Jan 2025 16:09:36 +0000 Lines: 21 Message-ID: <mailman.64.1736790268.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> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Trace: news.uni-berlin.de oy1PPHO6at6EXBrVL9VRVQPVQ1+YcN67GKC0lvwIuU0Q== Cancel-Lock: sha1:yDMpeQJk5F9cgjx5Y24NRQK+ZbE= sha256:7J7Bu1qRMpzYtSS1i4xMB5fZY0egCrf6ALts/lRnnMI= 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: UNSURE 0.223 X-Spam-Level: ** X-Spam-Evidence: '*H*': 0.60; '*S*': 0.04; 'can,': 0.09; 'library,': 0.09; 'subject:version': 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; '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; 'received:userid': 0.66; '[1]': 0.67; 'henry': 0.69; 'subject:? ': 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; 'e-mail:': 0.88; 'details,': 0.95 In-Reply-To: <CAJQBtg=aEGSU-_VUCrD5x3y6Suea9AjSNTFSWr0kKDZ4NNjrSA@mail.gmail.com> (Left Right via Python-list's message of "Sun\, 12 Jan 2025 11\:02\:00 +0100") 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 12:44:27 -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: <f5b7c6y4rwf.fsf_-_@lochinver.inf.ed.ac.uk> X-Mailman-Original-References: <ot5b5l-50ps.ln1@q957.zbmc.eu> <CAJQBtg=aEGSU-_VUCrD5x3y6Suea9AjSNTFSWr0kKDZ4NNjrSA@mail.gmail.com> Bytes: 3930 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 -- 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]