[issue33226] In some envrionment using unicode, formatwarning shows ascii error

2018-04-04 Thread Seyeong Kim
Change by Seyeong Kim <seyeong@canonical.com>: -- resolution: -> wont fix stage: patch review -> resolved status: open -> closed ___ Python tracker <rep...@bugs.python.org> <https://bu

[issue33226] In some envrionment using unicode, formatwarning shows ascii error

2018-04-04 Thread Seyeong Kim
New submission from Seyeong Kim <seyeong@canonical.com>: In some circumstances using unicode, formatwarning show me ascii error so I should prefix on below line to remove this crash s = "%s: %s: %s\n" % (lineno, category.__name__, message) to s = u"%s: %s: %s\n