Furthermore, a symbol name containing non-ASCII symbols is cut off at the first one.

Test case

#!/usr/bin/env python3
# encoding: utf-8

def ackermann_péter(m, n):
	if m == 0: return n + 1
	elif m > 0 and n == 0: return ackermann_péter(m - 1, 1)
	elif m > 0 and n > 0: return ackermann_péter(m - 1, ackermann_péter(m, n - 1))
	else: raise ValueError("{name}({}, {}) is not defined.").format(__name__, m, n)

Steps to reproduce

  1. Type acker with autocomplete on.
  2. Press Enter
  3. Type a left paren "("

Expected behavior

  1. ackermann_péter (m, n) gets suggested

Actual behavior

  1. ackermann_p (m, n) gets suggested


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.