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
Py3: TypeError from Cython string conversion #23648
Comments
comment:2
so this is not a cython problem ? where is the issue then ? |
comment:3
It's just your typical |
comment:4
well, same kind of thing as here then ?
Hopefully this one will be fixed by #23518 |
comment:5
Confirmed in the latest python3 build. EDIT: And this is a major blocking point. |
This comment has been minimized.
This comment has been minimized.
comment:7
Jeroen, can you please clarify where this should be fixed? |
Commit: |
Branch: public/23648 |
comment:9
|
comment:10
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:13
Alternatively, you could directly implement conversion |
comment:14
How is your last comment related to #23857 ? I am not able to turn the branche here easily into a cpdef function. Could one of you do that please ? |
comment:15
Replying to @fchapoton:
It is not strictly related to #23857. It is just that #23857 also fixes some |
comment:16
Replying to @fchapoton:
ping ? |
comment:17
Traceback please! |
comment:18
See also https://groups.google.com/d/msg/sage-devel/H0t9l6XdfPI/5ss5I5A4CAAJ |
Changed keywords from none to unicode |
comment:20
Here is some traceback (using ipython3 with a failed python3-built):
|
comment:21
ping ? Once again, I am not able to make a cpdef function, so please do that. |
comment:22
I have created a new ticket that just wants to introduce the conversion tools: #24186. |
comment:23
No patchbot on this until now, strange. |
comment:24
Authors field is empty.. |
Dependencies: #24222 |
Author: Frédéric Chapoton |
comment:27
This should use the functions introduced in #24222. |
comment:28
Let us close this one as invalid, please |
comment:29
Why? Is it already fixed? |
comment:30
It seems so. I am not able to reproduce that in ipython. And I am also currently no longer able to have a starting python3-sage, sadly. |
comment:31
So we need more info, no? |
comment:32
No, no need for more info. Maybe I was not clear enough. Using an ipython shell, I can do exactly what I did in the first part of the ticket description. And there is no longer any failure. So the problem has been fixed somewhere in one of the previous py3 tickets. Believe me, one should close this one and concentrate on the many other py3 tickets.. |
comment:34
Indeed, this is fixed now. |
With Py3, as reported in pynac/pynac#271
It's is in this part of the Sage-Pynac interface:
Apparently the error comes from this function (or below): https://github.com/cython/cython/blob/master/Cython/Utility/TypeConversion.c#L202
EDIT: also, one currently gets
Depends on #24222
CC: @fchapoton @embray
Component: python3
Keywords: unicode
Author: Frédéric Chapoton
Branch/Commit: public/23648 @
7e01422
Issue created by migration from https://trac.sagemath.org/ticket/23648
The text was updated successfully, but these errors were encountered: