885 """ |
885 """ |
886 import builtins |
886 import builtins |
887 if not codestring: |
887 if not codestring: |
888 try: |
888 try: |
889 f = open(file) |
889 f = open(file) |
890 codestring, encoding = decode(f.read()) |
890 ## codestring, encoding = decode(f.read()) |
|
891 codestring = f.read() |
891 f.close() |
892 f.close() |
892 except IOError: |
893 except IOError: |
893 return (False, None, None, None, None) |
894 return (False, None, None, None, None) |
894 |
895 |
895 ## if isinstance(codestring, type("")): |
896 ## if isinstance(codestring, type("")): |