Convert __str__to__unicode__ and __bytes__ to __str__

Bug #880382 reported by Denis Zawada
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
awkwardduet
Fix Released
Wishlist
Denis Zawada

Bug Description

__str__() in Python 3 is used to return string (unicode in Py2) objects, rather than bytes (string in Py2), thus __unicode__() in Py2 is the most natural equivalent of __str__() in Py3.

(Inherited from https://bitbucket.org/amentajo/lib3to2/issue/30)

Related branches

Denis Zawada (ohdeno)
description: updated
Changed in awkwardduet:
status: New → Confirmed
importance: Undecided → Low
importance: Low → Medium
Denis Zawada (ohdeno)
Changed in awkwardduet:
milestone: none → 1.1a1
Denis Zawada (ohdeno)
summary: - Rename __str__ to __unicode__
+ Convert __str__→__unicode and __bytes__ → __str__
Denis Zawada (ohdeno)
Changed in awkwardduet:
status: Confirmed → Fix Committed
Denis Zawada (ohdeno)
Changed in awkwardduet:
importance: Medium → Wishlist
Denis Zawada (ohdeno)
summary: - Convert __str__→__unicode and __bytes__ → __str__
+ Convert __str__to__unicode__ and __bytes__ to __str__
Denis Zawada (ohdeno)
Changed in awkwardduet:
assignee: nobody → deno (ohdeno)
Denis Zawada (ohdeno)
Changed in awkwardduet:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.