help: python shell completion not working

To reproduce, in an inferior-python shell, type “a=[0,1]; a[0].[tab]”, here [tab] means the tab key, no completion. In a terminal, the above procedure will pop up a completion list.

In fact, it does not pop up a completion list in my terminal. (