Skip to content

Replace some deprecated python functions in sage/algebras #12461

@a-andre

Description

@a-andre

We should prepare moving to Python3.

Execute

2to3 -f has_key -f except -f idioms -f ne -f raise

for each *.py in sage/algebras.

See http://docs.python.org/library/2to3.html#fixers for meaning of the parameters.


Apply attachment: trac_12461.patch and attachment: trac_12461_2b.patch to the Sage library repository.

Depends on #12484

Component: misc

Author: André Apitzsch

Reviewer: David Loeffler

Merged: sage-5.0.beta11

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions