Skip to content

from __future__ import * #174

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions