Issue2039

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

Created on 2013-04-07.16:29:40 by gsnedders, last changed 2015-01-07.06:51:27 by zyasoft.

Messages
msg7990 (view) Author: (gsnedders) Date: 2013-04-07.16:29:40
gsnedders@vanveen:~$ cat foo.py 
from __future__ import unicode_literals

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

print type(a)
print type(b)

gsnedders@vanveen:~$ python2 foo.py 
<type 'unicode'>
<type 'unicode'> 
gsnedders@vanveen:~$ local/jython2.7b1/jython foo.py 
<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
History
Date User Action Args
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