From: Lisandro Dalcin Date: Fri, 9 Apr 2010 19:08:30 +0000 (-0300) Subject: remove unused imports X-Git-Tag: 0.13.beta0~230 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3a667aa98bc439e30464162d65561103173cd6dd;p=cython.git remove unused imports --- diff --git a/Cython/Compiler/Main.py b/Cython/Compiler/Main.py index 5fd6f0de..6ac73495 100644 --- a/Cython/Compiler/Main.py +++ b/Cython/Compiler/Main.py @@ -2,7 +2,7 @@ # Cython Top Level # -import os, sys, re, codecs +import os, sys, re if sys.version_info[:2] < (2, 3): sys.stderr.write("Sorry, Cython requires Python 2.3 or later\n") sys.exit(1) diff --git a/Cython/Compiler/Scanning.py b/Cython/Compiler/Scanning.py index a0b01706..7e99b773 100644 --- a/Cython/Compiler/Scanning.py +++ b/Cython/Compiler/Scanning.py @@ -2,12 +2,9 @@ # Cython Scanner # +import sys import os import platform -import stat -import sys -import codecs -from time import time import cython cython.declare(EncodedString=object, string_prefixes=object, raw_prefixes=object, IDENT=object,