Skip to content

types.IntType, types.LongType treated differently to int, long #264

Open
@Hooloovoo

Description

@Hooloovoo

Currently,

if type(time) not in (int, long):
is not converted by
futurize --stage1 -w file.py
(version 0.15.2)
but:
if type(time) not in (types.IntType, types.LongType):
is converted to:
if type(time) not in (int, int)

I would have thought that these two should be treated the same.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions