Opened 6 years ago

Last modified 7 weeks ago

#16079 closed 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-duplicate/invalid/wontfix
Component: python3 Keywords: python3, unicode
Cc: tscrim, jmantysalo, jdemeyer Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:


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.