Convert __str__to__unicode__ and __bytes__ to __str__
Bug #880382 reported by
Denis Zawada
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:/
Related branches
description: | updated |
Changed in awkwardduet: | |
status: | New → Confirmed |
importance: | Undecided → Low |
importance: | Low → Medium |
Changed in awkwardduet: | |
milestone: | none → 1.1a1 |
summary: |
- Rename __str__ to __unicode__ + Convert __str__→__unicode and __bytes__ → __str__ |
Changed in awkwardduet: | |
status: | Confirmed → Fix Committed |
Changed in awkwardduet: | |
importance: | Medium → Wishlist |
summary: |
- Convert __str__→__unicode and __bytes__ → __str__ + Convert __str__to__unicode__ and __bytes__ to __str__ |
Changed in awkwardduet: | |
assignee: | nobody → deno (ohdeno) |
Changed in awkwardduet: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.