You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Doesn't happen on its own, but with 2 preceding arguments it segfaults.
Haven't tested anything else, like how many arguments are required to cause segfault, etc.
Code to reproduce the behaviour:
from libcpp.string cimport string
cdef:
string s = b"abc"print("addCost %f -> this.cost: %f (this.ip: %d)"% (7, 77, s))
Expected behaviour
No response
OS
Linux (Ubuntu 22.04.3 LTS WSL)
Python version
3.10.12
Cython version
3.0.4
Additional context
No response
The text was updated successfully, but these errors were encountered:
the compiling and running an example will end up with an exception:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "nogil.pyx", line 2, in init nogil
"%d" % s
TypeError: %d format: a number is required, not str
Describe the bug
Doesn't happen on its own, but with 2 preceding arguments it segfaults.
Haven't tested anything else, like how many arguments are required to cause segfault, etc.
Code to reproduce the behaviour:
Expected behaviour
No response
OS
Linux (Ubuntu 22.04.3 LTS WSL)
Python version
3.10.12
Cython version
3.0.4
Additional context
No response
The text was updated successfully, but these errors were encountered: