Skip to content

Remove __div__ methods from cython modules #29867

@antonio-rojas

Description

@antonio-rojas

They are not needed since python 2 is no longer supported, and they make sage crash when built with cython 0.29.20 [1] (#29861). If there is a __truediv__ method defined we simply remove it, otherwise we rename them to __truediv__

[1] https://groups.google.com/forum/#!topic/sage-packaging/D_XVxbOrpNk

CC: @isuruf @nbruin @kiwifb @dimpase @timokau @fchapoton

Component: refactoring

Author: Antonio Rojas

Branch: aa02d4f

Reviewer: Frédéric Chapoton

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions