New submission from Bart Broere :
While porting a (Django) code base recently, using 2to3, I missed the
conversion from __unicode__ to __str__. I have created my own 2to3 fixer, which
might be useful for other people.
If it's not useful enough to be included in lib2to3, or has side effects that I
did not foresee, please let me know :-)
--
components: 2to3 (2.x to 3.x conversion tool)
messages: 388627
nosy: bartbroere
priority: normal
severity: normal
status: open
title: Rename __unicode__ methods to __str__ in 2to3 conversion
type: enhancement
versions: Python 3.10
___
Python tracker
<https://bugs.python.org/issue43487>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com