Skip to content
This repository was archived by the owner on Jul 5, 2023. It is now read-only.
This repository was archived by the owner on Jul 5, 2023. It is now read-only.

Parse error for Long octal literals in ast27 #26

@ddfisher

Description

@ddfisher

01L is a perfectly valid Python 2 long literal, but for some reason ast27 refuses to parse it and instead gives ValueError: invalid literal for int() with base 0: '01'. 01 and 1L both work fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions