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
Python 3 fixes to Cython #24728
Comments
comment:2
If we compare the two lines
Both are imported from a pyx file, only the first is problematic.
and the second one is not hashable. Both come from a "def". What is the difference ? |
comment:3
Jeoren, any idea as a cython expert of what could explain the difference in the previous comment ? |
comment:4
The difference is that But really,
So don't take |
comment:5
In Python 3, an unbound method is just the function:
So the fact that Cython gives an |
Upstream: Not yet reported upstream; Will do shortly. |
Dependencies: #21509 |
Commit: |
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
Changed upstream from Not yet reported upstream; Will do shortly. to Reported upstream. No feedback yet. |
Author: Jeroen Demeyer |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
Changed upstream from Reported upstream. No feedback yet. to Fixed upstream, but not in a stable release. |
comment:14
To potential reviewers: the dependency on #21509 is just because both tickets add a patch to Cython. If it's hard to review #21509, I could reorganize things. For example, I could put both patches on this ticket and reverse the dependency. Just let me know which pieces of #21509 and #24728 you could give positive review to. |
comment:16
Ok, I am ready to give a positive review here. Please disentangle from #21509. |
Changed dependencies from #21509 to none |
Reviewer: Frédéric Chapoton, François Bissey |
Changed branch from u/jdemeyer/py3__fix_fully_the_thematic_index_of_methods_in_graphs to |
Changed commit from |
comment:21
Sadly, this still does not fix the issue number 2 in the description.. So, vanilla sage still does not start with python3.. |
comment:22
I think you need |
comment:23
Ho, is this stronger than |
comment:24
Similar to other packages inside Sage-the-distribution,
|
comment:25
Thanks, it worked. So indeed now sage+python3 does start ! |
comment:26
Replying to @fchapoton:
So I guess we should update the |
Fix running the Cython testsuite on Python 3.
Fix the issue that unbound methods are unhashable:
Upstream: cython/cython#2105
Upstream: Fixed upstream, but not in a stable release.
CC: @embray
Component: python3
Author: Jeroen Demeyer
Branch:
7187fb9
Reviewer: Frédéric Chapoton, François Bissey
Issue created by migration from https://trac.sagemath.org/ticket/24728
The text was updated successfully, but these errors were encountered: