Opened 8 years ago

Closed 8 years ago

#17413 closed enhancement (fixed)

Integer: support PEP 3127 octal literals

Reported by: jdemeyer Owned by:
Priority: minor Milestone: sage-6.5
Component: basic arithmetic Keywords:
Cc: Merged in:
Authors: Jeroen Demeyer Reviewers: Volker Braun
Report Upstream: N/A Work issues:
Branch: 85a00bd (Commits, GitHub, GitLab) Commit: 85a00bd811301a933ca9cc3cc1985ed05f3d2aaf
Dependencies: Stopgaps:

Status badges

Description (last modified by jdemeyer)

This should work:

sage: Integer("0o10")


The old-style literals like "012" should be deprecated.

Change History (6)

comment:1 Changed 8 years ago by jdemeyer

Authors: Jeroen Demeyer
Description: modified (diff)

comment:2 Changed 8 years ago by jdemeyer

Description: modified (diff)

comment:3 Changed 8 years ago by jdemeyer

Branch: u/jdemeyer/ticket/17413
Created: Nov 28, 2014, 10:15:57 AMNov 28, 2014, 10:15:57 AM
Modified: Nov 28, 2014, 1:37:30 PMNov 28, 2014, 1:37:30 PM

comment:4 Changed 8 years ago by jdemeyer

Commit: 85a00bd811301a933ca9cc3cc1985ed05f3d2aaf
Status: newneeds_review

New commits:

85a00bdSupport PEP 3127 Integer literals

comment:5 Changed 8 years ago by vbraun

Reviewers: Volker Braun
Status: needs_reviewpositive_review

comment:6 Changed 8 years ago by vbraun

Branch: u/jdemeyer/ticket/1741385a00bd811301a933ca9cc3cc1985ed05f3d2aaf
Resolution: fixed
Status: positive_reviewclosed
Note: See TracTickets for help on using tickets.