Issue 4209: from __future__ import unicode_literals, print_function doesn't work
Created on 2008-10-26 17:09 by benjamin.peterson, last changed 2022-04-11 14:56 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| fix_multiple_features.patch | benjamin.peterson, 2008-10-26 17:09 | |||
| Messages (3) | |||
|---|---|---|---|
| msg75237 - (view) | Author: Benjamin Peterson (benjamin.peterson) * ![]() |
Date: 2008-10-26 17:09 | |
This is because parser.c's future_hack breaks out of the loop when it finds one feature. Patch with test is attached. |
|||
| msg75245 - (view) | Author: Georg Brandl (georg.brandl) * ![]() |
Date: 2008-10-26 19:48 | |
Looks fine. As a bonus, you can find out why "unicode_literals" doesn't work when used in an exec'd string -- this is why I didn't upload my fix yet. |
|||
| msg75247 - (view) | Author: Benjamin Peterson (benjamin.peterson) * ![]() |
Date: 2008-10-26 20:22 | |
Fixed in r67030. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:56:40 | admin | set | nosy:
+ barry github: 48459 |
| 2008-10-26 20:22:40 | benjamin.peterson | set | status: open -> closed resolution: accepted -> fixed messages: + msg75247 |
| 2008-10-26 19:48:58 | georg.brandl | set | resolution: accepted messages: + msg75245 nosy: + georg.brandl |
| 2008-10-26 18:53:13 | benjamin.peterson | set | nosy: + christian.heimes |
| 2008-10-26 17:09:42 | benjamin.peterson | create | |
