-
-
Notifications
You must be signed in to change notification settings - Fork 553
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: Fix libs.ntl.ntl_ZZ_pX.pyx doctests. #27588
Comments
comment:1
Looking at #24804 (which is already in merge confict) commits it doesn't appear to be conflict with this ticket. |
Branch: u/vklein/27588 |
Commit: |
New commits:
|
Author: Vincent Klein |
Changed branch from u/vklein/27588 to public/ticket/24804 |
comment:5
maybe we can instead try again my previous proposal in #24804 ? New commits:
|
Changed branch from public/ticket/24804 to public/ticket-27588 |
comment:6
here is a simple but working solution New commits:
|
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
comment:8
should be good now. I also made a few minor changes in the doc. |
Changed author from Vincent Klein to Vincent Klein, Frédéric Chapoton |
comment:10
fails on python2 |
comment:11
As range is not a class in python2 the new
and
The latest is the consistent behaviour for me. For the errors generated by this ticket with python2 the object return -1 on |
comment:12
peut etre que ca marcherait mieux en utilisant xrange, je n'ai pas le temps.. |
comment:13
Je vais essayer. |
comment:14
It looks like that work ! with sage python3:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:16
I give positive review to the commits prior to |
comment:17
probably no need for the import of xrange, as we are in a pyx file.. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:19
Indeed. |
comment:20
ok, works both in py2 and py3. If you agree, please set to positive |
Reviewer: Vincent Klein, Frédéric Chapoton |
comment:21
I agree. |
Changed branch from public/ticket-27588 to |
Fix libs.ntl.ntl_ZZ_pX.pyx doctests for python3. All libs.ntl doctests should pass with this ticket.
Component: python3
Author: Vincent Klein, Frédéric Chapoton
Branch/Commit:
a93f26b
Reviewer: Vincent Klein, Frédéric Chapoton
Issue created by migration from https://trac.sagemath.org/ticket/27588
The text was updated successfully, but these errors were encountered: