Skip to content

from __future__ import * #174

@pyflakes-bot

Description

@pyflakes-bot

Original report by asmeurer (@asmeurer?) on Launchpad:


from __future__ import * should be a syntax error.

$pyflakes test.py
test.py:1: 'from __future__ import *' used; unable to detect undefined names
$python test.py
  File "test.py", line 1
    from __future__ import *
SyntaxError: future feature * is not defined

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions