New submission from Benjamin Peterson <[EMAIL PROTECTED]>:

exec "from __future__ import unicode_literals; print type('')"

gives <type 'str'> in 2.6/2.7. It's the result of flags not being passed
from the parser to AST.

----------
components: Interpreter Core
files: fix_exec_literals.patch
keywords: needs review, patch
messages: 75307
nosy: benjamin.peterson, georg.brandl
priority: high
severity: normal
status: open
title: unicode_literals doesn't work in exec
versions: Python 2.6, Python 2.7
Added file: http://bugs.python.org/file11902/fix_exec_literals.patch

_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue4225>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to