• Complete working version of cython Queue example?

    From Henry S. Thompson@21:1/5 to All on Mon Jan 13 16:09:36 2025
    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]

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Henry S. Thompson@21:1/5 to Henry S. Thompson via Python-list on Mon Jan 13 19:58:45 2025
    [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]

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Thomas Passin@21:1/5 to Henry S. Thompson via Python-list on Mon Jan 13 13:18:50 2025
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)