New submission from Bart Broere <m...@bartbroere.eu>:
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 <rep...@bugs.python.org> <https://bugs.python.org/issue43487> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com