Opened 5 years ago

Last modified 3 weeks ago

#22747 closed enhancement

(experimental) Compile Cython code with binding=True — at Version 7

Reported by: jdemeyer Owned by:
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: cython Keywords:
Cc: klee Merged in:
Authors: Jeroen Demeyer Reviewers:
Report Upstream: Reported upstream. No feedback yet. Work issues:
Branch: u/jdemeyer/ticket/22747 (Commits, GitHub, GitLab) Commit: 547397b9ae95d4522e98278f67f93ac999077562
Dependencies: #21843 Stopgaps:

Status badges

Description (last modified by jdemeyer)

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.

Unfortunately, this behaves badly if there are import cycles and there are many in Sage (#21636).

We find several Cython bugs regarding binding=True:

Change History (7)

comment:1 Changed 5 years ago by jdemeyer

  • Description modified (diff)

comment:2 Changed 5 years ago by jdemeyer

  • Branch set to u/jdemeyer/ticket/22747

comment:3 Changed 5 years ago by git

  • Commit set to 2b7032755d9be33a994b0c612860f8dd93dfbe74

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

2b70327Compile Cython code with binding=True

comment:4 Changed 5 years ago by jdemeyer

  • Description modified (diff)

comment:5 Changed 5 years ago by jdemeyer

  • Dependencies changed from #21682 to #21843

comment:6 Changed 5 years ago by git

  • Commit changed from 2b7032755d9be33a994b0c612860f8dd93dfbe74 to 547397b9ae95d4522e98278f67f93ac999077562

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

comment:7 Changed 5 years ago by jdemeyer

  • Description modified (diff)
  • Report Upstream changed from N/A to Reported upstream. No feedback yet.
Note: See TracTickets for help on using tickets.