Skip to content

cython nogil #135331

Not planned
Not planned
@16lr

Description

@16lr

Bug report

Bug description:

import cython

def func(x):
    with cython.nogil:
        print(x)

func("hello")

When we run cython.nogil with a python syntax, it should give us an error of compiling but it works completely fine.

CPython versions tested on:

3.12

Operating systems tested on:

Windows

Activity

added
type-bugAn unexpected behavior, bug, or error
on Jun 10, 2025
skirpichev

skirpichev commented on Jun 10, 2025

@skirpichev
Contributor

I think this should be reported rather to Cython: https://github.com/cython/issues/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      cython nogil · Issue #135331 · python/cpython

      Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

      Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant