[issue33588] Unicode function arguments aren't preserved

2018-05-20 Thread Mat Leonard
Mat Leonard 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 wrote: > > Eric V. Smith added the comment: > > I think you're seeing identifier norm

[issue33588] Unicode function arguments aren't preserved

2018-05-20 Thread Mat Leonard
New submission from Mat Leonard : 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) print('ϵ' == varnam