• Complete working version of cython Queue example?

    From Henry S. Thompson@ht@inf.ed.ac.uk to comp.lang.python on Mon Jan 13 16:09:36 2025
    From Newsgroup: comp.lang.python

    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] --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Henry S. Thompson@ht@inf.ed.ac.uk to comp.lang.python on Mon Jan 13 19:58:45 2025
    From Newsgroup: comp.lang.python

    [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] --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Thomas Passin@list1@tompassin.net to comp.lang.python on Mon Jan 13 13:18:50 2025
    From Newsgroup: comp.lang.python

    On 1/13/2025 11:09 AM, Henry S. Thompson via Python-list wrote:
    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.


    Your reference [1] is missing from your post. If it was an attachment,
    this list doesn't do attachments.
    --- Synchronet 3.20a-Linux NewsLink 1.2