Skip to content

cython nogil #135331

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
16lr opened this issue Jun 10, 2025 · 1 comment
Closed

cython nogil #135331

16lr opened this issue Jun 10, 2025 · 1 comment
Labels
type-bug An unexpected behavior, bug, or error

Comments

@16lr
Copy link

16lr commented Jun 10, 2025

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

@16lr 16lr added the type-bug An unexpected behavior, bug, or error label Jun 10, 2025
@skirpichev
Copy link
Contributor

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

@skirpichev skirpichev closed this as not planned Won't fix, can't repro, duplicate, stale Jun 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

2 participants