Title: __future__.unicode_literals doesn't affect eval
Type: Severity: normal
Components: Core Versions: Jython 2.7
Status: open Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: fwierzbicki, gsnedders, gthank, zyasoft
Priority: high Keywords:

Created on 2013-04-07.16:29:40 by gsnedders, last changed 2018-03-07.18:59:37 by jeff.allen.

msg7990 (view) Author: Geoffrey Sneddon (gsnedders) Date: 2013-04-07.16:29:40
gsnedders@vanveen:~$ cat 
from __future__ import unicode_literals

a = "a"
b = eval('"b"')

print type(a)
print type(b)

gsnedders@vanveen:~$ python2 
<type 'unicode'>
<type 'unicode'> 
gsnedders@vanveen:~$ local/jython2.7b1/jython 
<type 'unicode'>
<type 'str'>

Possibly a dupe of issue2006 and issue2008.
msg8392 (view) Author: Hank Gay (gthank) Date: 2014-05-13.18:48:58
Target beta 4.
msg9332 (view) Author: Jim Baker (zyasoft) Date: 2015-01-07.06:51:27
Should be straightforward fix
Date User Action Args
2018-03-07 18:59:37jeff.allensetmilestone: Jython 2.7.2 ->
2015-12-29 23:45:35zyasoftsetmilestone: Jython 2.7.1 -> Jython 2.7.2
2015-04-15 20:44:32zyasoftsetassignee: zyasoft ->
milestone: Jython 2.7.1
2015-01-07 06:51:27zyasoftsetpriority: high
assignee: zyasoft
messages: + msg9332
2014-05-13 18:48:58gthanksetnosy: + gthank
messages: + msg8392
2014-05-13 14:11:07zyasoftsetnosy: + zyasoft
2014-05-04 20:33:26zyasoftsetresolution: accepted
2013-04-08 17:30:31fwierzbickisetnosy: + fwierzbicki
2013-04-07 16:29:40gsnedderscreate