Issue2006

classification
Title: from __future__ import unicode_literals doesn't work (at interactive prompt)
Type: behaviour Severity: major
Components: Core Versions: Jython 2.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: fwierzbicki, irmen, zyasoft
Priority: low Keywords:

Created on 2013-01-19.13:18:49 by irmen, last changed 2014-06-19.07:42:09 by zyasoft.

Messages
msg7576 (view) Author: Irmen de Jong (irmen) Date: 2013-01-19.13:18:48
future's unicode_literals doesn't work:

>>> from __future__ import unicode_literals
>>> type("hello")
<type 'str'>

Expected:


>>> from __future__ import unicode_literals
>>> type("hello")
<type 'unicode'>
msg7580 (view) Author: Irmen de Jong (irmen) Date: 2013-01-19.13:54:57
Note: this problem only occurs at the interactive prompt, when you put it in a module it works fine.
msg8740 (view) Author: Jim Baker (zyasoft) Date: 2014-06-19.07:42:09
Similar problem seen in #2039
History
Date User Action Args
2014-06-19 07:42:09zyasoftsetnosy: + zyasoft
messages: + msg8740
2013-02-20 00:24:02fwierzbickisetpriority: low
nosy: + fwierzbicki
versions: + Jython 2.7, - 2.7a2
2013-01-19 13:54:57irmensetmessages: + msg7580
title: from __future__ import unicode_literals doesn't work -> from __future__ import unicode_literals doesn't work (at interactive prompt)
2013-01-19 13:18:49irmencreate