215 @return dictionary with the keys 'error' and 'warnings' which |
215 @return dictionary with the keys 'error' and 'warnings' which |
216 hold a list containing details about the error/ warnings |
216 hold a list containing details about the error/ warnings |
217 (file name, line number, column, codestring (only at syntax |
217 (file name, line number, column, codestring (only at syntax |
218 errors), the message, a list with arguments for the message) |
218 errors), the message, a list with arguments for the message) |
219 """ |
219 """ |
220 try: |
220 import builtins |
221 import builtins |
|
222 except ImportError: |
|
223 import __builtin__ as builtins # __IGNORE_WARNING__ |
|
224 |
221 |
225 try: |
222 try: |
226 codestring = normalizeCode(codestring) |
223 codestring = normalizeCode(codestring) |
227 |
224 |
228 # Check for VCS conflict markers |
225 # Check for VCS conflict markers |