-
-
Notifications
You must be signed in to change notification settings - Fork 528
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: ZZ for large int #24221
Comments
This comment has been minimized.
This comment has been minimized.
comment:2
Is the text that you quoted above the literal text that you see on your screen? Just wondering why there is no traceback shown... |
comment:3
yes, this the literal text that I see in my terminal. No better traceback. By the way, maybe you should try by yourself to use the branch public/python3-experiment-8.1.rc1 ? |
Branch: u/jdemeyer/py3__zz_for_large_int |
Commit: |
comment:5
There is a general pattern here: In Cython code in Sage, when checking for an
This works fine in Python 2 because Now Cython understands the name So, in Cython code for Python 3, the checks New commits:
|
Author: Jeroen Demeyer |
comment:6
This does not fix the issue:
|
comment:7
Sorry, I can't help further without a traceback. |
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
comment:9
Never mind, I just realized that the example uses coercion, not direct initialization of an |
comment:10
Indeed
does work (at least with you change) |
comment:11
That fixes the issue ! Thanks ! |
Reviewer: Frédéric Chapoton |
comment:13
There will certainly be more places in Sage with the same bug. But the solution should be the same: whenever you want to check |
comment:14
See also #23792 |
comment:15
follow up in #24225 |
comment:16
ok, let us use the opportuniy here to make some similar changes in the same file |
New commits:
|
Changed branch from u/jdemeyer/py3__zz_for_large_int to public/longint24221 |
comment:18
Moving the follow-up changes to #24227. |
Changed branch from public/longint24221 to u/jdemeyer/py3__zz_for_large_int |
Changed branch from u/jdemeyer/py3__zz_for_large_int to |
in a python3-build-sage:
related to #16072
CC: @jdemeyer @embray
Component: python3
Author: Jeroen Demeyer
Branch/Commit:
190a90c
Reviewer: Frédéric Chapoton
Issue created by migration from https://trac.sagemath.org/ticket/24221
The text was updated successfully, but these errors were encountered: