Skip to content

Remove calls to 'long(...)', etc. #27826

@jhpalmieri

Description

@jhpalmieri

long(...) is not defined in Python 3, and so we should remove all calls to long. We should also delete all methods __long__, and remove the special-casing for long in Python 3 doctesting (in doctest/forker.py).

Sage 9.2 will not support Python 2 anymore, so that is this ticket's target release.

CC: @embray @fchapoton

Component: python3

Work Issues: Rebase

Author: John Palmieri

Branch/Commit: 3fcba90

Reviewer: Matthias Koeppe

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions