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

(experimental) Compile Cython code with binding=True #22747

Closed
jdemeyer opened this issue Apr 3, 2017 · 59 comments
Closed

(experimental) Compile Cython code with binding=True #22747

jdemeyer opened this issue Apr 3, 2017 · 59 comments

Comments

@jdemeyer
Copy link

jdemeyer commented Apr 3, 2017

When using the Cython compiler directive binding=True, Cython uses a custom type to implement functions and methods. This custom type supports more Python features. The most important changes lie in inspect support.

We find several Cython bugs regarding binding=True:

Depends on #25842
Depends on #25845
Depends on #25848

Upstream: Reported upstream. No feedback yet.

CC: @kwankyu

Component: cython

Author: Jeroen Demeyer

Branch/Commit: u/jdemeyer/ticket/22747 @ d962040

Reviewer: Michael Orlitzky

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

@jdemeyer jdemeyer added this to the sage-8.0 milestone Apr 3, 2017
@jdemeyer

This comment has been minimized.

@jdemeyer
Copy link
Author

jdemeyer commented Apr 3, 2017

Branch: u/jdemeyer/ticket/22747

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 3, 2017

Commit: 2b70327

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 3, 2017

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

2b70327Compile Cython code with binding=True

@jdemeyer

This comment has been minimized.

@jdemeyer
Copy link
Author

Changed dependencies from #21682 to #21843

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 20, 2017

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

b56b4beInclude Cython directives in .cython_version file
547397bCompile Cython code with binding=True

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 20, 2017

Changed commit from 2b70327 to 547397b

@jdemeyer

This comment has been minimized.

@jdemeyer
Copy link
Author

Upstream: Reported upstream. No feedback yet.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 20, 2017

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

ee13351Compile Cython code with binding=True

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 20, 2017

Changed commit from 547397b to ee13351

@jdemeyer
Copy link
Author

Changed dependencies from #21843 to #21843, #22852

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 21, 2017

Changed commit from ee13351 to 93250a2

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 21, 2017

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

841676dDefine functions before calling them
8994aceMerge commit '841676d4931c9f59019b2b6b82afbbe7df222c10' into t/22747/ticket/22747
93250a2Compile Cython code with binding=True

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 28, 2017

Changed commit from 93250a2 to 1e78314

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 28, 2017

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

1e78314Compile Cython code with binding=True

@jdemeyer
Copy link
Author

Changed dependencies from #21843, #22852 to none

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 28, 2017

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

a57b913QuotientRing_nc.ideal(): use super() instead of CommutativeRing
e62cc3aCompile Cython code with binding=True

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 28, 2017

Changed commit from 1e78314 to e62cc3a

@jdemeyer
Copy link
Author

jdemeyer commented Jun 2, 2017

Dependencies: #23103

@jdemeyer

This comment has been minimized.

@jdemeyer

This comment has been minimized.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jun 2, 2017

Changed commit from e62cc3a to 680f4a7

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jun 2, 2017

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

256bf19Move richcmp stuff to new file richcmp.pyx
7629851Merge tag '8.0.beta9' into t/23103/move_richcmp_stuff_to_new_file
031761fFix two more imports
f159d41Add Cython patch to fix decorators with binding=True
680f4a7Compile Cython code with binding=True

@jdemeyer
Copy link
Author

jdemeyer commented Jun 6, 2017

Changed dependencies from #23103 to #23103, #23122

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 12, 2018

Changed commit from dba0dd6 to 0f70aed

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 12, 2018

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

f1debe3Upgrade to Cython 0.28.4
ee4c6c4Compile Cython code with binding=True
aa3513fSage library fixes for binding=True
0f70aedTry to fix Set_PythonType

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 12, 2018

Changed commit from 0f70aed to 60007d5

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 12, 2018

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

6310172Fix a cyclic import involving interval fields
60007d5Move Set_PythonType to a new file

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 12, 2018

Changed commit from 60007d5 to 13068eb

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 12, 2018

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

13068ebMove Set_PythonType to a new file

@jdemeyer
Copy link
Author

Dependencies: #25845

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 12, 2018

Changed commit from 13068eb to ddb7cc8

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 12, 2018

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

7e7daefMove Set_PythonType to a new file
48f170fCompile Cython code with binding=True
46a7887Sage library fixes for binding=True
ddb7cc8Fix a cyclic import involving interval fields

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 13, 2018

Changed commit from ddb7cc8 to 5282f12

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 13, 2018

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

8756c40Some preparations for binding=True
5282f12Sage library fixes for binding=True

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 13, 2018

Changed commit from 5282f12 to d962040

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 13, 2018

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

742e1c9Some preparations for binding=True
c5a8bd3Compile Cython code with binding=True
d962040Sage library fixes for binding=True

@jdemeyer
Copy link
Author

Changed dependencies from #25845 to #25842, #25845, #25848

@mkoeppe
Copy link
Member

mkoeppe commented Sep 13, 2021

comment:36

We can close this ticket in favor of #26254.

The only commit from the branch here that is useful is sagemath/sagetrac-mirror@d962040 -- not really "Sage library fixes" but just some updates of doctest outputs.

@mkoeppe mkoeppe removed this from the sage-8.0 milestone Sep 13, 2021
@orlitzky
Copy link
Contributor

comment:37

Ok, #26254 looks much further along.

@orlitzky
Copy link
Contributor

Reviewer: Michael Orlitzky

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