C-c ! not working from Python-shell, lp:1234539, fixed
New boolean `py-empty-line-closes-p', lp:1235324

When non-nil, dedent after empty line following block

if True:
    print("Part of the if-statement")

print("Not part of the if-statement")

Resp. if non-nil, C-j from empty line dedents.
which-function hangs w unbalanced quote marks, lp:1235375, fixed

At the occassion introduced a heuristic exit
`py-max-specpdl-size', default is `max-specpdl-size',

py-end-of-statement will error if number of
`py-max-specpdl-size' loops is completed, thus avoiding
a hang from a possibly eternal loop.