Opened 7 years ago

Last modified 5 months ago

#16072 closed enhancement

Python 3 preparation: The Py3 type "long" is gone in Py3 — at Version 7

Reported by: wluebbe Owned by:
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: python3 Keywords: python3
Cc: chapoton, mkoeppe, tscrim Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description (last modified by jdemeyer)

The tool 2to3 simply renames long to int.

There are 72 affected modules.

This ticket is tracked as a dependency of meta-ticket ticket:16052.

Tickets: #24221, #24225, #24227, #24244, #24247, #24248.

Change History (7)

comment:1 Changed 7 years ago by vbraun_spam

  • Milestone changed from sage-6.2 to sage-6.3

comment:2 Changed 6 years ago by vbraun_spam

  • Milestone changed from sage-6.3 to sage-6.4

comment:3 Changed 5 years ago by jdemeyer

  • Component changed from distribution to python3

comment:4 Changed 4 years ago by chapoton

  • Milestone changed from sage-6.4 to sage-8.0

one step done in #22871

comment:5 Changed 3 years ago by chapoton

more steps in #24155 and #24218

comment:6 Changed 3 years ago by chapoton

after which there remains

git grep -c "^[^#:]*[^_la]long(" *.py

among which


is only in doctests

Last edited 3 years ago by chapoton (previous) (diff)

comment:7 Changed 3 years ago by jdemeyer

  • Cc chapoton embray added
  • Description modified (diff)

Adding some tickets.

Note: See TracTickets for help on using tickets.