[issue33588] Unicode function arguments aren't preserved

2018-05-20 Thread Mat Leonard
Mat Leonard <leonard@gmail.com> added the comment: Ah great, then I just need to do something like unicodedata.normalize('NFKC', 'Ω'). Thanks! On Sun, May 20, 2018 at 2:59 PM Eric V. Smith <rep...@bugs.python.org> wrote: > > Eric V. Smith <e...@trueblade.com> added

[issue33588] Unicode function arguments aren't preserved

2018-05-20 Thread Mat Leonard
New submission from Mat Leonard <leonard@gmail.com>: Unicode symbols used as function arguments aren't preserved in the variable names available from .__code__.co_varnames. Example shown below. def func(ϵ, α, γ, ϕ): pass varnames = func.__code__.co_varnames print(varnames) pr