[New-bugs-announce] [issue4209] from __future__ import unicode_literals, print_function doesn't work

Benjamin Peterson report at bugs.python.org
Sun Oct 26 18:09:42 CET 2008


New submission from Benjamin Peterson <musiccomposition at gmail.com>:

This is because parser.c's future_hack breaks out of the loop when it
finds one feature. Patch with test is attached.

----------
components: Interpreter Core
files: fix_multiple_features.patch
keywords: patch
messages: 75237
nosy: benjamin.peterson
priority: release blocker
severity: normal
status: open
title: from __future__ import unicode_literals, print_function doesn't work
versions: Python 2.6, Python 2.7
Added file: http://bugs.python.org/file11893/fix_multiple_features.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4209>
_______________________________________


More information about the New-bugs-announce mailing list