-
-
Notifications
You must be signed in to change notification settings - Fork 480
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: let the repr of numbers be a string #23812
Comments
Commit: |
Branch: u/chapoton/23812 |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:3
I wonder if we should have a general function to convert from |
comment:4
It seems that we also need to change the repr of rational numbers.. |
comment:5
ping ? |
comment:6
As I said, I think we should have a general solution instead of this. |
comment:7
There is
but this is not doing exactly that. |
comment:8
I don't think this is the right answer. There a dozens of places where a similar conversion is needed. There needs to be a generic function for this kind of thing. |
comment:9
This is maybe not the definitive word. If you feel you can do better quickly, please do. Nethertheless, there are not so many casting to bytes:
and integer.pyx is certainly the most important place where we need to correct the casting to bytes. |
comment:10
Replying to @fchapoton:
I think most of the time, the
Cython will automatically convert |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:13
what do you think of the new branch ? |
comment:14
see also #23648 |
comment:15
Yeah, this really needs some opposite of
|
Changed keywords from none to unicode |
comment:17
I would appreciate if Erik or another expert of unicode issues works on the matter here and all related tickets dealing with unicode adaptations for python3. I understand when one tells me that my solutions are not good, but please then propose another branch. |
comment:18
Replying to @fchapoton:
I hear you-- I need to get my Python 3 build working again but I do want to help with this stuff. Please feel free to assign such tickets to me. |
comment:19
I have created a new ticket that just wants to introduce the conversion tools: #24186. |
comment:20
Oops, this patch is now for some reason deleting all of rationals.pyx? I'm going to see if I can rework this with my new string conversion functions. |
This comment has been minimized.
This comment has been minimized.
comment:23
let us get rid of this one as duplicate |
comment:24
ping ? any objection to close as invalid ? |
Changed branch from u/chapoton/23812 to none |
Changed commit from |
and not forced to be "bytes"
replaced by #24223
CC: @embray @jdemeyer
Component: python3
Keywords: unicode
Author: Frédéric Chapoton
Issue created by migration from https://trac.sagemath.org/ticket/23812
The text was updated successfully, but these errors were encountered: