Opened 5 years ago

Last modified 4 months ago

#16079 needs_work enhancement

Python 3 preparation: In Py3 there is only one string type "str" (which is unicode!) — at Initial Version

Reported by: wluebbe Owned by:
Priority: major Milestone: sage-8.0
Component: python3 Keywords: python3, unicode
Cc: tscrim, jmantysalo, jdemeyer Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description

This is often considered the most important change in Py3. The approach still has to be determined!

The tool 2to3 simple changes unicode to str and removes the u-prefix from string literals (u'xxx' to 'xxx').
But the code has to depend on the Python version!

This ticket is tracked as a dependency of meta-ticket ticket:16052.

Change History (0)

Note: See TracTickets for help on using tickets.