Skip to content
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: Make doctest pass in combinat/rigged_configurations module #26805

Closed
vinklein mannequin opened this issue Dec 3, 2018 · 15 comments
Closed

py3: Make doctest pass in combinat/rigged_configurations module #26805

vinklein mannequin opened this issue Dec 3, 2018 · 15 comments

Comments

@vinklein
Copy link
Mannequin

vinklein mannequin commented Dec 3, 2018

This ticket fix the last py3 failures in combinat/rigged_configurations module.

For the TypeError: unsupported format string passed to sage.rings.rational.Rational.__format__ another approach is to implement a __format__ method in sage.rings.rational.Rational, unfortunately it will not solve the cases with NoneType. For this reason i think string formatting support for sage's Rational should be done in another ticket if needed.

CC: @fchapoton

Component: python3

Author: Vincent Klein

Branch/Commit: 8596208

Reviewer: Frédéric Chapoton

Issue created by migration from https://trac.sagemath.org/ticket/26805

@vinklein vinklein mannequin added this to the sage-8.5 milestone Dec 3, 2018
@vinklein vinklein mannequin added c: python3 labels Dec 3, 2018
@vinklein
Copy link
Mannequin Author

vinklein mannequin commented Dec 3, 2018

Author: Vincent Klein

@vinklein
Copy link
Mannequin Author

vinklein mannequin commented Dec 4, 2018

Branch: u/vklein/26805

@vinklein
Copy link
Mannequin Author

vinklein mannequin commented Dec 4, 2018

Commit: bbb1dc1

@vinklein

This comment has been minimized.

@vinklein vinklein mannequin added the s: needs review label Dec 4, 2018
@fchapoton
Copy link
Contributor

comment:4

ok, good to go. But would you please first fix the pyflakes warnings ?

@fchapoton
Copy link
Contributor

Reviewer: Frédéric Chapoton

@vinklein
Copy link
Mannequin Author

vinklein mannequin commented Dec 7, 2018

comment:5

Sure, i will do it this morning.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Dec 7, 2018

Branch pushed to git repo; I updated commit sha1. New commits:

8596208Trac #26805: Remove useless assignement

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Dec 7, 2018

Changed commit from bbb1dc1 to 8596208

@vinklein
Copy link
Mannequin Author

vinklein mannequin commented Dec 7, 2018

comment:7

@fchapoton I commented vct rather than deleting the line to keep consistency with
the comments below in the code.
Do you think the comments

        # vct = self.parent()._folded_ct
        # sigma = vct.folding_orbit()
        # gammatilde = list(vct.scaling_factors())
        # gammatilde[-1] = 2

are helpful or do you think we should delete them?

@fchapoton
Copy link
Contributor

comment:8

oh, we can keep them.

green bot => positive review.

Do you have a patchbot at your disposal that you could launch on this ticket ? Mines are already busy right now.

@vinklein
Copy link
Mannequin Author

vinklein mannequin commented Dec 7, 2018

comment:9

Not right now (some computing in progress). I will try this afternoon.

@vinklein

This comment has been minimized.

@vbraun
Copy link
Member

vbraun commented Dec 23, 2018

Changed branch from u/vklein/26805 to 8596208

@embray
Copy link
Contributor

embray commented Dec 28, 2018

comment:13

This tickets were closed as fixed after the Sage 8.5 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants