diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2015-04-24 13:31:19 +0200 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2015-04-24 13:31:19 +0200 |
commit | 2dbbe5a27fd3e02cb6e560bfa5584c507bbee2c7 (patch) | |
tree | 2ed0916831b3a39854dd8a0619bcf183ad935b6e /Cython/Compiler/Parsing.py | |
parent | e0408e147ea8ba3f62aaf30b21fbe3ea7915af07 (diff) | |
download | cython-2dbbe5a27fd3e02cb6e560bfa5584c507bbee2c7.tar.gz |
fix compiler crash due to non-wrapped identifier string in parser
Diffstat (limited to 'Cython/Compiler/Parsing.py')
-rw-r--r-- | Cython/Compiler/Parsing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Cython/Compiler/Parsing.py b/Cython/Compiler/Parsing.py index 7e7dc3ec9..69d041fa9 100644 --- a/Cython/Compiler/Parsing.py +++ b/Cython/Compiler/Parsing.py @@ -1333,7 +1333,7 @@ def p_from_import_statement(s, first_statement = 0): level = None if level is not None and s.sy in ('import', 'cimport'): # we are dealing with "from .. import foo, bar" - dotted_name_pos, dotted_name = s.position(), '' + dotted_name_pos, dotted_name = s.position(), s.context.intern_ustring('') else: if level is None and Future.absolute_import in s.context.future_directives: level = 0 |