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: miscellaneous minor fixes to sage.crypto #25231

Closed
embray opened this issue Apr 23, 2018 · 17 comments
Closed

py3: miscellaneous minor fixes to sage.crypto #25231

embray opened this issue Apr 23, 2018 · 17 comments

Comments

@embray
Copy link
Contributor

embray commented Apr 23, 2018

Component: python3

Author: Erik Bray

Branch: aae8c92

Reviewer: Frédéric Chapoton

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

@embray embray added this to the sage-8.3 milestone Apr 23, 2018
@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 23, 2018

Commit: 15b7144

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 23, 2018

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

5dfe379py3: more bytes->str fixes in sage.rings.polynomial.pbori
20f0c47py3: minor test fixes in sage.rings.polynomial.pbori
15b7144whitespace fix

@embray
Copy link
Contributor Author

embray commented Apr 23, 2018

comment:2

Oops, totally mixed this up with another branch somehow.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 23, 2018

Changed commit from 15b7144 to ed88620

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 23, 2018

Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:

c284d77py3: fix some map() calls that don't work (refs #16073)
4de2b4dpy3: use sage_getargspec instead of plain inspect.getargspec
ed88620py3: minor test fix to account for tiny difference in exception message formatting

@fchapoton
Copy link
Contributor

comment:5

The change to src/sage/rings/polynomial/pbori.pyx seems not necessary. Cython knows about that, I have been told. But maybe I am wrong.

Otherwise, looks good to me

@embray
Copy link
Contributor Author

embray commented Apr 24, 2018

comment:6

Oh, the problem there is that it only works in Cython if the underlying object is actually a dict. It doesn't work, annoyingly, if it's not exactly a dict. That said, I had intended to undo that change--the object in question here was a KeyConvertingDict. But the better approach I found for this is to just add iterkeys/itervalues/iteritems methods on KeyConvertingDict for backwards compatibility.

@embray
Copy link
Contributor Author

embray commented Apr 24, 2018

comment:7

That change wasn't even supposed to be in this ticket. I'm not sure how it's still there.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 24, 2018

Changed commit from ed88620 to aae8c92

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 24, 2018

Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:

d52895cpy3: fix some map() calls that don't work (refs #16073)
b74a4d0py3: use sage_getargspec instead of plain inspect.getargspec
aae8c92py3: minor test fix to account for tiny difference in exception message formatting

@fchapoton
Copy link
Contributor

Reviewer: Frédéric Chapoton

@fchapoton
Copy link
Contributor

comment:9

ok

@vbraun
Copy link
Member

vbraun commented May 18, 2018

Changed branch from u/embray/python3/sage-crypto/misc to aae8c92

@jhpalmieri
Copy link
Member

Changed branch from aae8c92 to u/jhpalmieri/aae8c920192bc18c845edbd02fec770132cc97c0

@jhpalmieri
Copy link
Member

Changed commit from aae8c92 to none

@jhpalmieri
Copy link
Member

Changed branch from u/jhpalmieri/aae8c920192bc18c845edbd02fec770132cc97c0 to aae8c92

@jhpalmieri
Copy link
Member

comment:12

Sorry, wrong ticket.

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

4 participants